CVE-2019-13636 Path traversal in n/a
Attackers can exploit symlink mishandling in GNU patch to read or modify arbitrary files outside the intended directory.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-13636?
CVE-2019-13636 is a medium-severity path traversal vulnerability in n/a, published on 17 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In GNU patch through 2.7.6, the following of symlinks is mishandled in certain cases other than input files. This affects inp.c and util.c.
Weakness: CWE-59
Which versions are affected by CVE-2019-13636?
It affects 1 product.
Linux distribution packages (5)
patch AlmaLinux:8 | All versions | 2.7.6-11.el8 |
patch Red Hat:enterprise_linux:8::baseos | All versions | 0:2.7.6-11.el8 |
patch-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:2.7.6-11.el8 |
patch-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:2.7.6-11.el8 |
patch Rocky Linux:8 | All versions | 0:2.7.6-11.el8 |
Products include Gnu Patch.
How do I fix CVE-2019-13636?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2019-13636 being exploited?
There is no known exploitation of CVE-2019-13636 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as ALPINE-CVE-2019-13636, ALSA-2020:1852, AZL-35105, AZL-6789, CLEANSTART-2026-WG57627, DEBIAN-CVE-2019-13636 and 6 more.