VDB
CVE-2018-20969
CVE-2018-20969
PUBLISHED
Reported by mitre · Published August 16, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| patch | Chainguard | 2.7.6-r3 |
| patch | Wolfi | 2.7.6-r3 |
| patch | gnu | 2.7.6 |
| patch | Ubuntu:18.04:LTS | 2.7.6-2ubuntu1.1 |
| patch | Ubuntu:16.04:LTS | 2.7.5-1ubuntu0.16.04.2 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| chainguard | patch | 0 |
| wolfi | patch | 0 |
| n/a | n/a | * |
| amazon:2 | patch | 0 |
| alpine | patch | 0 |
Timeline
- Aug 16, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 6, 2026 Distribution Patch (14 in total, the first dated here)
- Mar 6, 2026 Security Advisory (15 in total, the first dated here)
- Sep 21, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-20969
vulnetix vdb fixes CVE-2018-20969
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-20969/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- 20190816 Details about recent GNU patch vulnerabilities mailing-listx_refsource_BUGTRAQ
- x_refsource_MISC
- x_refsource_MISC
- RHSA-2019:2798 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:2964 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:3757 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:3758 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:4061 vendor-advisoryx_refsource_REDHAT