CVE-2018-20969

Source
https://cve.org/CVERecord?id=CVE-2018-20969
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20969.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-20969
Downstream
ALPINE (1)
AZL (2)
BELL (1)
CGA (2)
CLEANSTART (3)
DEBIAN (1)
JLSEC (1)
MGASA (1)
RHSA (5)
UBUNTU (1)
Published
2019-08-16T04:15:09Z
Modified
2026-09-10T08:13:31Z
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

do_ed_script in pch.c in GNU patch through 2.7.6 does not block strings beginning with a ! character. NOTE: this is the same commit as for CVE-2019-13638, but the ! syntax is specific to ed, and is unrelated to a shell metacharacter.

References

Affected packages

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

Affected ranges

Type
GIT
Repo
https://cgit.git.savannah.gnu.org/cgit/patch.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
3fcd042d26d70856e826a42b5f93dc4854d80bf0
Database specific
Show details
{
    "source":  "REFERENCES"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20969.json"

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
0 Unknown introduced commit / All previous commits are affected
Last Affected
40b387de08653a1e46872b8ac1a6a14b9b94feb3
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:gnu:patch:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "last_affected":  "2.7.6"
        }
    ],
    "source":  "CPE_RANGE"
}

Affected versions

v2.*
v2.1
v2.2
v2.3
v2.4
v2.5
v2.5.3
v2.5.4
v2.5.7
v2.5.8
v2.5.9
v2.6
v2.6.1
v2.7
v2.7.1
v2.7.2
v2.7.3
v2.7.4
v2.7.5
v2.7.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-20969.json"