CVE-2019-13638

Source
https://cve.org/CVERecord?id=CVE-2019-13638
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-13638.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2019-13638
Downstream
Published
2019-07-26T13:15:12.783Z
Modified
2026-08-19T11:47:37.486922205Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

GNU patch through 2.7.6 is vulnerable to OS shell command injection that can be exploited by opening a crafted patch file that contains an ed style diff payload with shell metacharacters. The ed editor does not need to be present on the vulnerable system. This is different from CVE-2018-1000156.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "8.0"
                },
                {
                    "last_affected": "8.0"
                },
                {
                    "introduced": "9.0"
                },
                {
                    "last_affected": "9.0"
                },
                {
                    "introduced": "10.0"
                },
                {
                    "last_affected": "10.0"
                }
            ],
            "source": "CPE_STRING",
            "cpes": [
                "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
                "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux"
        }
    ]
}
References

Affected packages

Git / https.git.savannah.gnu.org/git/patch.git/

Affected ranges

Type
GIT
Repo
https://https.git.savannah.gnu.org/git/patch.git/
Events
Introduced
40b387de08653a1e46872b8ac1a6a14b9b94feb3
Last affected
40b387de08653a1e46872b8ac1a6a14b9b94feb3
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "2.7.6"
        },
        {
            "last_affected": "2.7.6"
        }
    ],
    "source": "CPE_STRING",
    "cpe": "cpe:2.3:a:gnu:patch:2.7.6:*:*:*:*:*:*:*"
}

Affected versions

2.*
2.7.6
v2.*
v2.7.6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-13638.json"