# CVE-2021-29506: Navigate endpoint is vulnerable to regex injection that may lead to Denial of Service.

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.40%, higher than 73% of CVEs (2026-12-01)
- Published: 2021-05-13T18:15:13.000Z
- Modified: 2026-07-08T06:29:14.735Z
- Also known as: GHSA-hf44-3mx6-vhhw
- Weaknesses: CWE-400
- Assigned by: GitHub_M

## Description

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

(As written by CVE List.)

## Affected

- graphhopper graphhopper: >= 2.0, < 2.4; from 2.0 before 2.4
- com.graphhopper:graphhopper-nav (Maven): before 2.4

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:N/A:P`

## References

- <https://github.com/graphhopper/graphhopper/security/advisories/GHSA-hf44-3mx6-vhhw> (third-party-advisory, web)
- <https://github.com/graphhopper/graphhopper/pull/2304> (patch, third-party-advisory, web)
- <https://github.com/graphhopper/graphhopper/commit/eb189be1fa7443ebf4ae881e737a18f818c95f41> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-29506> (advisory)

## Sources

- CVE List: [CVE-2021-29506](https://www.cve.org/CVERecord?id=CVE-2021-29506), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-hf44-3mx6-vhhw](https://github.com/advisories/GHSA-hf44-3mx6-vhhw), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-29506](https://nvd.nist.gov/vuln/detail/CVE-2021-29506), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-29506 · Whole record: https://cve.day/CVE-2021-29506.json · Rebuilt by cve.day 2026-11-25T22:58:01.336Z
