DSA-4489: -1 patch -- security update

Published Jul 27, 2019
·
Updated

Imre Rad discovered several vulnerabilities in GNU patch, leading to shell command injection or escape from the working directory and access and overwrite files, if specially crafted patch files are processed.

Affected Software

2 affected componentsFixes available
debian/patch
debian/patch
2.7.5-1+deb9u22.7.6-3+deb10u1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/patch to a version that resolves this vulnerability.

    Fixed in 2.7.5-1+deb9u2Fixed in 2.7.6-3+deb10u1
  2. Upgrade

    Upgrade GNU patch to a version that resolves this vulnerability.

    Patch DSA-4489-1

Event History

Jul 27, 2019
Advisory Published
12:00 AM
Data Sourced
12:00 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who is exposed to this issue?

Systems are exposed when they process specially crafted patch files with GNU patch. The affected software entry is debian/patch.

2

What does an attacker need to exploit the vulnerabilities?

An attacker needs a specially crafted patch file to be processed by GNU patch. Successful exploitation may result in shell command injection or escape from the working directory, allowing access to and overwriting of files.

3

How can I determine whether a system may be affected?

Review whether GNU patch is installed from the debian/patch package and whether it processes patch files from untrusted or insufficiently validated sources. The provided information does not include affected or fixed package versions.

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