CVE-2018-20969
CVE-2018-20969
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 7.8 · High · EPSS 2.7% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
n/a
- Versions
- n/a: Affected
No fix published
patch Debian:12
- Affected ranges
- ECOSYSTEM: < 2.7.6-5
Update to 2.7.6-5
patch Debian:13
- Affected ranges
- ECOSYSTEM: < 2.7.6-5
Update to 2.7.6-5
patch Debian:14
- Affected ranges
- ECOSYSTEM: < 2.7.6-5
Update to 2.7.6-5
patch Ubuntu:Pro:14.04:LTS
- Versions
- 2.7.1-3
- 2.7.1-4
- 2.7.1-4ubuntu1
- 2.7.1-4ubuntu2
- 2.7.1-4ubuntu2.3
- 2.7.1-4ubuntu2.4
- Affected ranges
- ECOSYSTEM: < 2.7.1-4ubuntu2.4+esm1
Update to 2.7.1-4ubuntu2.4+esm1
patch Ubuntu:16.04:LTS
- Versions
- 2.7.5-1
- 2.7.5-1ubuntu0.16.04.1
- Affected ranges
- ECOSYSTEM: < 2.7.5-1ubuntu0.16.04.2
Update to 2.7.5-1ubuntu0.16.04.2
patch Ubuntu:18.04:LTS
- Versions
- 2.7.5-1build1
- 2.7.6-1
- 2.7.6-2ubuntu1
- Affected ranges
- ECOSYSTEM: < 2.7.6-2ubuntu1.1
Update to 2.7.6-2ubuntu1.1
Original sources
- https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0
- https://seclists.org/bugtraq/2019/Aug/29
- http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html
- https://github.com/irsl/gnu-patch-vulnerabilities
- https://access.redhat.com/errata/RHSA-2019:2798
- https://access.redhat.com/errata/RHSA-2019:2964
- https://access.redhat.com/errata/RHSA-2019:3757
- https://access.redhat.com/errata/RHSA-2019:3758
- https://access.redhat.com/errata/RHSA-2019:4061
- https://nvd.nist.gov/vuln/detail/CVE-2018-20969