CVE-2021-29506

Source
https://cve.org/CVERecord?id=CVE-2021-29506
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-29506.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-29506
Aliases
Related
Published
2021-05-13T19:15:07.983Z
Modified
2026-02-14T07:28:24.692385Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

References

Affected packages

Git / github.com/graphhopper/graphhopper

Affected ranges

Type
GIT
Repo
https://github.com/graphhopper/graphhopper
Events

Affected versions

2.*
2.0
2.1
2.2
2.3

Database specific

vanir_signatures
[
    {
        "deprecated": false,
        "target": {
            "function": "getPointsFromRequest",
            "file": "navigation/src/main/java/com/graphhopper/navigation/NavigateResource.java"
        },
        "source": "https://github.com/graphhopper/graphhopper/commit/3bef7ead91d01adfd4fbea459bcc62de1f0279fc",
        "digest": {
            "function_hash": "36142885775801880923327535353616592987",
            "length": 411.0
        },
        "signature_type": "Function",
        "signature_version": "v1",
        "id": "CVE-2021-29506-5a8dceed"
    },
    {
        "deprecated": false,
        "target": {
            "file": "navigation/src/main/java/com/graphhopper/navigation/NavigateResource.java"
        },
        "source": "https://github.com/graphhopper/graphhopper/commit/3bef7ead91d01adfd4fbea459bcc62de1f0279fc",
        "digest": {
            "line_hashes": [
                "189626477168851777122880960144033487883",
                "137275567613185398488357888955700532385",
                "327134461445047257875801787977154168807",
                "323202411778049434703774547551118540250",
                "212398785548982498557687372389225794540",
                "185973443862456284605407239049739654715",
                "259759268823146020648102035072435108275"
            ],
            "threshold": 0.9
        },
        "signature_type": "Line",
        "signature_version": "v1",
        "id": "CVE-2021-29506-b2a0b268"
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-29506.json"