CVE-2021-29506: GraphHopper is an open-source Java routing engine
CVE-2021-29506 is a medium-severity flaw (CVSS 6.5) affecting graphhopper. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
GraphHopper is an open-source Java routing engine. In GrassHopper from version 2.0 and before version 2.4, there is a regular expression injection vulnerability that may lead to Denial of Service. This has been patched in 2.4 and 3.0 See this pull request for the fix: https://github.com/graphhopper/graphhopper/pull/2304
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.5 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 1.4% (top 27%) |
| CISA exploited list | No |
| Weakness | CWE-400 |
| Published | 2021-05-13 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-29506?
graphhopper: upgrade to 2.4. Exact commands for each OS are on this page.
Is CVE-2021-29506 being exploited?
CVE-2021-29506 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-29506 affect?
CVE-2021-29506 affects graphhopper. Severity is medium (CVSS 6.5). GraphHopper is an open-source Java routing engine. In GrassHopper from version 2.0 and before version 2.4, there is a regular expression injection vulnerability that may lead to Denial of Service. This has been patched in 2.4 and 3.0 See th
How urgent is CVE-2021-29506?
Priority 41/100. No elevated risk signals yet.
Software pages
Java vulnerabilities · GitHub vulnerabilities
Related CVEs
- CVE-2021-23408 MEDIUM 5.4 UPGRADE This affects the package com.graphhopper:graphhopper-web-bundle before 3.2, from 4.0-pre1 and before 4.0