CVE-2018-17456

Source
https://cve.org/CVERecord?id=CVE-2018-17456
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-17456.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-17456
Downstream
Related
Published
2018-10-06T14:29:00.300Z
Modified
2026-02-23T08:13:27.069970Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1 allows remote code execution during processing of a recursive "git clone" of a superproject if a .gitmodules file has a URL field beginning with a '-' character.

References

Affected packages

Git / github.com/git/git

Affected versions

v2.*
v2.14.5
v2.15.3
v2.16.5
v2.19.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-17456.json"
vanir_signatures
[
    {
        "id": "CVE-2018-17456-2df45b27",
        "target": {
            "function": "fsck_gitmodules_fn",
            "file": "fsck.c"
        },
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://github.com/git/git/commit/1a7fd1fb2998002da6e9ff2ee46e1bdd25ee8404",
        "digest": {
            "function_hash": "280767856758277171414092295284574468787",
            "length": 653.0
        },
        "signature_type": "Function"
    },
    {
        "id": "CVE-2018-17456-6395f845",
        "target": {
            "function": "fsck_gitmodules_fn",
            "file": "fsck.c"
        },
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://github.com/git/git/commit/a124133e1e6ab5c7a9fef6d0e6bcb084e3455b46",
        "digest": {
            "function_hash": "74687755865234334360883501852567920378",
            "length": 464.0
        },
        "signature_type": "Function"
    },
    {
        "id": "CVE-2018-17456-f3198db8",
        "target": {
            "file": "fsck.c"
        },
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://github.com/git/git/commit/1a7fd1fb2998002da6e9ff2ee46e1bdd25ee8404",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "61187277327173978608487490955699247805",
                "322478933031989535159482901598085121490",
                "105640845193175585999041621410241546937",
                "320863403475869972817195883113195046675",
                "112056197659761133531585212977590424954",
                "186663816293050747954242156545984267682",
                "206904128480667008530182138888978574630",
                "191728292391714541701984138567608141284"
            ]
        },
        "signature_type": "Line"
    },
    {
        "id": "CVE-2018-17456-ff58f248",
        "target": {
            "file": "fsck.c"
        },
        "signature_version": "v1",
        "deprecated": false,
        "source": "https://github.com/git/git/commit/a124133e1e6ab5c7a9fef6d0e6bcb084e3455b46",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "217918380924176957102810654075341599196",
                "117753730928290908950277960920988579234",
                "238564133705298630809711888480831625193",
                "40793998524149642212331206026820467726",
                "131744534305363149181561143635993325041",
                "118269845443441089115293841204093565177",
                "154178865154027729581994095520201329671",
                "45981377794252269677761437338334550314"
            ]
        },
        "signature_type": "Line"
    }
]