CVE-2018-20969
patch - security update
7.8
HIGH
CVSS 3.1
EPSS 0.36%
Description
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.
How to fix CVE-2018-20969
To remediate CVE-2018-20969, upgrade the affected package to a fixed version below.
- Alpine/patch—upgrade to 2.7.6-r6 or later
- —upgrade to 2.7.6-5 or later
- —upgrade to 2.7.5-1+deb8u3 or later
- —upgrade to 2.7.5-1+deb9u2 or later
Is CVE-2018-20969 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 2.7.6-r6
- from 0, < 2.7.6-5
- from 0, < 2.7.5-1+deb8u3
- from 0, < 2.7.5-1+deb9u2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |