CVE-2019-13636
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.
02 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.
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 3.89% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 89.7% of scored records. A rank, not a probability.
- NVD base score
- 5.9 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2019-07-17 20:04Z7 YR AGO
- Last updated
- 2024-08-04 23:57Z2 YR AGO
- Reserved
- 2019-07-17
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-59Improper Link Resolution Before File Access ('Link Following')Base
- Data version
- 5.1
- Document digest
- c3cb0d27c123f7ff444b42d3e1e49ae9d1cbe5603cdb01092a3ac226b4ab4129
05 Affected products
06 References
- git.savannah.gnu.orghttps://git.savannah.gnu.org/cgit/patch.git/commit/?id=dce4683cbbe107a95f1f0d45fabc304acfb5d71a
- lists.debian.org[debian-lts-announce] 20190719 [SECURITY] [DLA 1856-1] patch security updatehttps://lists.debian.org/debian-lts-announce/2019/07/msg00016.html
- usn.ubuntu.comUSN-4071-1https://usn.ubuntu.com/4071-1/
- usn.ubuntu.comUSN-4071-2https://usn.ubuntu.com/4071-2/
- www.debian.orgDSA-4489https://www.debian.org/security/2019/dsa-4489
- seclists.org20190730 [SECURITY] [DSA 4489-1] patch security updatehttps://seclists.org/bugtraq/2019/Jul/54
- seclists.org20190816 Details about recent GNU patch vulnerabilitieshttps://seclists.org/bugtraq/2019/Aug/29
- packetstormsecurity.comhttp://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html
- security.gentoo.orgGLSA-201908-22https://security.gentoo.org/glsa/201908-22
- lists.fedoraproject.orgFEDORA-2019-ac709da87fhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVWWGISFWACROJJPVJJL4UBLVZ7LPOLT/
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20190828-0001/
- github.comhttps://github.com/irsl/gnu-patch-vulnerabilities
07 Fixed in
AlmaLinux 8
- patch Fixed in 2.7.6-11.el8
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- patch Fixed in 2.7.6-11.el8
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- patch Fixed in 2.7.6-5
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- patch Fixed in 2.7.6-5
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- patch Fixed in 2.7.6-5
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 16.04 LTS
- patch Fixed in 2.7.5-1ubuntu0.16.04.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- patch Fixed in 2.7.6-2ubuntu1.1
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- patch Fixed in 2.7.1-4ubuntu2.4+esm1Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.