CVE-2018-20969: OS Command Injection

Published Aug 16, 2019
·
Updated

A vulnerability was found in doedscript 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.

Reference: https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0 https://seclists.org/bugtraq/2019/Aug/29

Affected Software

1 affected component
GNU patch<=2.7.6

Event History

Aug 16, 2019
CVE Published
via MITRE·03:36 AM
Data Sourced
via MITRE·03:36 AM
Description
Aug 29, 2019
Data Sourced
via Red Hat·05:53 AM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2018-20969?

CVE-2018-20969 has been classified as a medium severity vulnerability.

2

How do I fix CVE-2018-20969?

To fix CVE-2018-20969, upgrade GNU patch to version 2.7.7 or later.

3

What software is affected by CVE-2018-20969?

CVE-2018-20969 affects GNU patch versions up to and including 2.7.6.

4

What type of vulnerability is CVE-2018-20969?

CVE-2018-20969 is a command injection vulnerability associated with the do_ed_script function.

5

Can CVE-2018-20969 be exploited remotely?

CVE-2018-20969 can potentially be exploited if an attacker can control the input to the affected GNU patch command.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203