First published: Wed Jan 21 2015(Updated: )
A Directory Traversal vulnerability exists in the GNU patch before 2.7.4. A remote attacker can write to arbitrary files via a symlink attack in a patch file. NOTE: this issue exists because of an incomplete fix for CVE-2015-1196.
Credit: security@debian.org
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/patch | <2.7.4 | 2.7.4 |
GNU patch | <2.7.4 | |
Debian GNU/Linux | =8.0 | |
Debian GNU/Linux | =9.0 | |
Debian GNU/Linux | =10.0 | |
Debian GNU/Linux | =11.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2015-1396 has been classified as a high severity vulnerability due to its potential for remote exploitation.
To fix CVE-2015-1396, update GNU patch to version 2.7.4 or later.
CVE-2015-1396 affects GNU patch versions prior to 2.7.4 and multiple Debian Linux releases.
Yes, CVE-2015-1396 can be exploited remotely through a symlink attack in patch files.
Currently, the recommended approach is to apply the patch update rather than relying on a workaround.