6.5medium
Navigate endpoint is vulnerable to regex injection that may lead to Denial of Service.
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.40% (higher than 73% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-hf44-3mx6-vhhw
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
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| graphhopper graphhopper | >= 2.0, < 2.4, from 2.0 before 2.4 | CVE List, NVD |
| com.graphhopper:graphhopper-nav (Maven) | before 2.4 | GitHub Advisory Database |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 4.0medium CVSS:2.0 | AV:N/AC:L/Au:S/C:N/I:N/A:P |
Classification
What each source says
CVE List
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
GitHub Advisory Database
Impact
The regex injection that may lead to Denial of Service.
Patches
Will be patched in 2.4 and 3.0
Workarounds
Versions lower than 2.x are only affected if the navigation module is added
References
See this pull request for the fix: https://github.com/graphhopper/graphhopper/pull/2304
If you have any questions or comments about this advisory please send us an Email or create a topic here.
NVD (es)
GraphHopper es un motor de enrutamiento Java de código abierto. En GraphHopper a partir de la versión 2.0 y antes de la versión 2.4, existe una vulnerabilidad de inyección de expresiones regulares que puede llevar a una denegación de servicio. Esto ha sido parcheado en las versiones 2.4 y 3.0. Vea este pull request para la corrección: https://github.com/graphhopper/graphhopper/pull/2304
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-29506 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hf44-3mx6-vhhw changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-29506 changed 2026-06-17 | Public domain |