CVEvulnerability
CVE-2018-20969
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2019-08-16
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.8 HIGH — CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 9.3 HIGH — AV:N/AC:M/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-78
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.
Affected configurations
• gnu patch (<= 2.7.6)
Related
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2019:2798 access.redhat.com
- https://access.redhat.com/errata/RHSA-2019:2964 access.redhat.com
- https://access.redhat.com/errata/RHSA-2019:3757 access.redhat.com
- https://access.redhat.com/errata/RHSA-2019:3758 access.redhat.com
- https://access.redhat.com/errata/RHSA-2019:4061 access.redhat.com
- https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0 Patch, Vendor Advisory
- https://github.com/irsl/gnu-patch-vulnerabilities github.com
- https://seclists.org/bugtraq/2019/Aug/29 Exploit, Mailing List, Patch, Third Party Advisory
- http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2019:2798 access.redhat.com
- https://access.redhat.com/errata/RHSA-2019:2964 access.redhat.com
- https://access.redhat.com/errata/RHSA-2019:3757 access.redhat.com
- https://access.redhat.com/errata/RHSA-2019:3758 access.redhat.com
- https://access.redhat.com/errata/RHSA-2019:4061 access.redhat.com
- https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0 Patch, Vendor Advisory
- https://github.com/irsl/gnu-patch-vulnerabilities github.com
- https://seclists.org/bugtraq/2019/Aug/29 Exploit, Mailing List, Patch, Third Party Advisory