Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Patch | <= 2.7.6 |
Related Weaknesses (CWE)
References
- http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-DirectorThird Party AdvisoryVDB Entry
- 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://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5PatchVendor Advisory
- https://github.com/irsl/gnu-patch-vulnerabilities
- https://seclists.org/bugtraq/2019/Aug/29ExploitMailing ListPatch
- http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-DirectorThird Party AdvisoryVDB Entry
- 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
FAQ
What is CVE-2018-20969?
CVE-2018-20969 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 un...
How severe is CVE-2018-20969?
CVE-2018-20969 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-20969?
Check the references section above for vendor advisories and patch information. Affected products include: Gnu Patch.