{"id":"CVE-2021-29506","aliases":["CVE-2021-29506","GHSA-hf44-3mx6-vhhw"],"related":[],"kind":"vulnerability","state":"published","title":"Navigate endpoint is vulnerable to regex injection that may lead to Denial of Service.","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"en","text":"### Impact\nThe regex injection that may lead to Denial of Service.\n\n### Patches\nWill be patched in 2.4 and 3.0\n\n### Workarounds\nVersions lower than 2.x are only affected if the navigation module is added\n\n### References\nSee this pull request for the fix: https://github.com/graphhopper/graphhopper/pull/2304\n\nIf you have any questions or comments about this advisory please [send us an Email](https://www.graphhopper.com/contact-form/) or create a topic [here](https://discuss.graphhopper.com/).","format":"markdown","source":"ghsa"},{"lang":"es","text":"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","source":"nvd"}],"published":"2021-05-13T18:15:13.000Z","modified":"2026-07-08T06:29:14.735Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:N/A:P","score":4,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":">= 2.0, < 2.4","status":"affected"}],"vendor":"graphhopper","product":"graphhopper","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.4"}],"ecosystem":"Maven","package":"com.graphhopper:graphhopper-nav","purl":"pkg:maven/com.graphhopper/graphhopper-nav","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.0","fixed":"2.4"}],"vendor":"graphhopper","product":"graphhopper","cpe":"cpe:2.3:a:graphhopper:graphhopper:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/graphhopper/graphhopper/security/advisories/GHSA-hf44-3mx6-vhhw","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/graphhopper/graphhopper/pull/2304","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/graphhopper/graphhopper/commit/eb189be1fa7443ebf4ae881e737a18f818c95f41","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29506","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-29506","url":"https://www.cve.org/CVERecord?id=CVE-2021-29506","licence":"CVE Terms of Use","modified":"2024-08-03T22:11:05.271Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-hf44-3mx6-vhhw","url":"https://github.com/advisories/GHSA-hf44-3mx6-vhhw","licence":"CC-BY-4.0","modified":"2026-07-08T06:29:14.735Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-29506","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29506","licence":"Public domain","modified":"2026-06-17T03:47:47.707Z"}],"updatedAt":"2026-11-25T22:58:01.336Z","epss":{"score":0.01404,"percentile":0.7335,"date":"2026-12-01T12:00:22.000Z"}}