CWE
77
Advisory Published
Updated

REDHAT-BUG-1733916: Command Injection

First published: Mon Jul 29 2019(Updated: )

A vulnerability was found in GNU patch through 2.7.6 is vulnerable to OS shell command injection that can be exploited by opening a crafted patch file that contains an ed style diff payload with shell metacharacters. The ed editor does not need to be present on the vulnerable system. This is different from <a href="https://access.redhat.com/security/cve/CVE-2018-1000156">CVE-2018-1000156</a>. Reference: <a href="https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0">https://git.savannah.gnu.org/cgit/patch.git/commit/?id=3fcd042d26d70856e826a42b5f93dc4854d80bf0</a>

Affected SoftwareAffected VersionHow to fix
GNU Patch<=2.7.6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-1733916?

    The vulnerability REDHAT-BUG-1733916 is classified as a medium severity issue due to the potential for OS shell command injection.

  • How do I fix REDHAT-BUG-1733916?

    To remediate REDHAT-BUG-1733916, update the GNU patch to version 2.7.7 or later, which addresses the vulnerability.

  • What products are affected by REDHAT-BUG-1733916?

    The vulnerability REDHAT-BUG-1733916 affects GNU patch versions up to and including 2.7.6.

  • What type of attack does REDHAT-BUG-1733916 facilitate?

    REDHAT-BUG-1733916 facilitates OS shell command injection attacks via crafted patch files.

  • Is the ed editor required for exploiting REDHAT-BUG-1733916?

    No, the ed editor does not need to be present on the system to exploit REDHAT-BUG-1733916.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203