CVE-2018-20969
HIGH 7.8EPSS 2.7%
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.
- CVSS v3.0 NVD
- 7.8 HIGH
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS v2.0 NVD
- 9.3 HIGH
AV:N/AC:M/Au:N/C:C/I:C/A:C - EPSS
- 2.68% chance of exploitation in the next 30 days, 86th percentile
- Published
- 2019-08-16
- Updated
- 2024-08-05
Proof-of-concept exploits (1)
Security advisories
- https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854…
- http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Travers…