Improper Link Resolution Before File Access ('Link Following') in GNU patch - CVE-2019-13636
Published: July 22, 2019 / Updated: July 22, 2019
Vulnerability identifier: #VU19283
CSH Severity: Low
CVSS v4: 4.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-13636
CWE-ID: CWE-59
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a local user to gain unauthorized access to files or directories on a targeted system.
The vulnerability exists due to the software mishandles the following of symlinks in certain cases other than input files in the "inp.c" and "util.c" files. A local authenticated user can gain unauthorized access to read or modify files and directories on a targeted system.
Affected software
GNU patch
patch (Red Hat package)
patch (Alpine package)
patch (Ubuntu package)
patch (Debian package)
patch-debugsource
patch-debuginfo
patch
Gentoo Linux
SUSE Manager Proxy
SUSE Manager Server
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Debian Linux
SUSE Linux Enterprise Server
Ubuntu
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Desktop
openSUSE Leap
Fedora
patch (Red Hat package)
patch (Alpine package)
patch (Ubuntu package)
patch (Debian package)
patch-debugsource
patch-debuginfo
patch
Gentoo Linux
SUSE Manager Proxy
SUSE Manager Server
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Debian Linux
SUSE Linux Enterprise Server
Ubuntu
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Basesystem
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Desktop
openSUSE Leap
Fedora
How to mitigate CVE-2019-13636
Cybersecurity Help is currently unaware of any official solution to address this vulnerability.
patch (Red Hat package) - update to 2.7.6-11.el8
patch (Alpine package) - addressed in versions 2.7.5-r3, 2.7.6-r3
patch (Ubuntu package) - addressed in versions 2.7.1-4ubuntu2.4+esm1, 2.7.5-1ubuntu0.16.04.2, 2.7.6-2ubuntu1.1, 2.7.6-3ubuntu0.1
patch (Debian package) - addressed in versions 2.7.5-1+deb8u2, 2.7.5-1+deb9u2, 2.7.6-3+deb10u1
patch-debugsource - addressed in versions 2.7.5-8.8.1, 2.7.6-150000.5.3.1
patch-debuginfo - addressed in versions 2.7.5-8.8.1, 2.7.6-150000.5.3.1
patch - addressed in versions 2.7.5-8.8.1, 2.7.6-150000.5.3.1
patch - update to 2.7.6-11.fc30
patch (Alpine package) - addressed in versions 2.7.5-r3, 2.7.6-r3
patch (Ubuntu package) - addressed in versions 2.7.1-4ubuntu2.4+esm1, 2.7.5-1ubuntu0.16.04.2, 2.7.6-2ubuntu1.1, 2.7.6-3ubuntu0.1
patch (Debian package) - addressed in versions 2.7.5-1+deb8u2, 2.7.5-1+deb9u2, 2.7.6-3+deb10u1
patch-debugsource - addressed in versions 2.7.5-8.8.1, 2.7.6-150000.5.3.1
patch-debuginfo - addressed in versions 2.7.5-8.8.1, 2.7.6-150000.5.3.1
patch - addressed in versions 2.7.5-8.8.1, 2.7.6-150000.5.3.1
patch - update to 2.7.6-11.fc30
External References
Related Security Bulletins
- Privilege escalation in GNU patch
- Debian update for patch
- Gentoo update for Patch
- Red Hat Enterprise Linux 8 update for patch
- Improper Link Resolution Before File Access (\'Link Following\') in patch (Alpine package)
- SUSE update for patch
- SUSE update for patch
- Fedora 30 update for patch
- Ubuntu update for patch
- Ubuntu update for patch
- Debian update for patch