{"id":"CVE-2018-20969","state":"PUBLISHED","title":"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 speci","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.","publishedAt":"2019-08-16T03:36:12.000Z","updatedAt":"2024-08-05T12:19:26.375Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-10-29T19:44:39.424Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/20xxx/CVE-2018-20969.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-20969","state":"PUBLISHED","datePublished":"2019-08-16T03:36:12.000Z","dateUpdated":"2024-08-05T12:19:26.375Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2019-08-15T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0","tags":["x_refsource_MISC"]},{"url":"https://seclists.org/bugtraq/2019/Aug/29","name":"20190816 Details about recent GNU patch vulnerabilities","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/irsl/gnu-patch-vulnerabilities","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2798","name":"RHSA-2019:2798","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2964","name":"RHSA-2019:2964","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3757","name":"RHSA-2019:3757","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3758","name":"RHSA-2019:3758","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:4061","name":"RHSA-2019:4061","tags":["vendor-advisory","x_refsource_REDHAT"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-12-03T13:06:03.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-20969","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0","refsource":"MISC","url":"https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0"},{"name":"20190816 Details about recent GNU patch vulnerabilities","refsource":"BUGTRAQ","url":"https://seclists.org/bugtraq/2019/Aug/29"},{"name":"http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html"},{"name":"https://github.com/irsl/gnu-patch-vulnerabilities","refsource":"MISC","url":"https://github.com/irsl/gnu-patch-vulnerabilities"},{"name":"RHSA-2019:2798","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:2798"},{"name":"RHSA-2019:2964","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:2964"},{"name":"RHSA-2019:3757","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:3757"},{"name":"RHSA-2019:3758","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:3758"},{"name":"RHSA-2019:4061","refsource":"REDHAT","url":"https://access.redhat.com/errata/RHSA-2019:4061"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://seclists.org/bugtraq/2019/Aug/29","name":"20190816 Details about recent GNU patch vulnerabilities","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"]},{"url":"http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/irsl/gnu-patch-vulnerabilities","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2798","name":"RHSA-2019:2798","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:2964","name":"RHSA-2019:2964","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3757","name":"RHSA-2019:3757","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3758","name":"RHSA-2019:3758","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:4061","name":"RHSA-2019:4061","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T12:19:26.375Z"}}]}}}