CVE-2018-20969

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gnu:patch:*:*:*:*:*:*:*:*

History

21 Nov 2024, 04:02

Type Values Removed Values Added
References () http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html - Third Party Advisory, VDB Entry () http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html - Third Party Advisory, VDB Entry
References () https://access.redhat.com/errata/RHSA-2019:2798 - () https://access.redhat.com/errata/RHSA-2019:2798 -
References () https://access.redhat.com/errata/RHSA-2019:2964 - () https://access.redhat.com/errata/RHSA-2019:2964 -
References () https://access.redhat.com/errata/RHSA-2019:3757 - () https://access.redhat.com/errata/RHSA-2019:3757 -
References () https://access.redhat.com/errata/RHSA-2019:3758 - () https://access.redhat.com/errata/RHSA-2019:3758 -
References () https://access.redhat.com/errata/RHSA-2019:4061 - () https://access.redhat.com/errata/RHSA-2019:4061 -
References () https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0 - Patch, Vendor Advisory () https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0 - Patch, Vendor Advisory
References () https://github.com/irsl/gnu-patch-vulnerabilities - () https://github.com/irsl/gnu-patch-vulnerabilities -
References () https://seclists.org/bugtraq/2019/Aug/29 - Exploit, Mailing List, Patch, Third Party Advisory () https://seclists.org/bugtraq/2019/Aug/29 - Exploit, Mailing List, Patch, Third Party Advisory

Information

Published : 2019-08-16 04:15

Updated : 2024-11-21 04:02


NVD link : CVE-2018-20969

Mitre link : CVE-2018-20969

CVE.ORG link : CVE-2018-20969


JSON object : View

Products Affected

gnu

  • patch
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')