7.8
CWE
22
Advisory Published
CVE Published
Updated

CVE-2015-1395: Path Traversal

First published: Tue Jan 20 2015(Updated: )

Directory traversal vulnerability in GNU patch versions which support Git-style patching before 2.7.3 allows remote attackers to write to arbitrary files with the permissions of the target user via a .. (dot dot) in a diff file name.

Credit: security@debian.org

Affected SoftwareAffected VersionHow to fix
debian/patch<=2.7.1-1<=2.7.1-6<=2.7.1-7
redhat/patch<2.7.3
2.7.3
Fedora=20
Fedora=21
Ubuntu Linux=12.04
Ubuntu Linux=14.04
Ubuntu Linux=14.10
GNU Patch<=2.7.2

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 CVE-2015-1395?

    CVE-2015-1395 is considered a high severity vulnerability due to its impact on file system integrity.

  • How do I fix CVE-2015-1395?

    To fix CVE-2015-1395, upgrade GNU patch to version 2.7.3 or higher.

  • What are the affected software versions for CVE-2015-1395?

    The affected software versions for CVE-2015-1395 include GNU patch versions before 2.7.3.

  • Can CVE-2015-1395 be exploited remotely?

    Yes, CVE-2015-1395 can be exploited remotely if a user processes a malicious diff file.

  • What environments are vulnerable to CVE-2015-1395?

    Environments using vulnerable versions of GNU patch, such as Debian, Red Hat, Ubuntu, and Fedora, are susceptible to CVE-2015-1395.

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