{"id":"CVE-2019-13636","details":"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.","modified":"2026-04-16T01:44:57.117531985Z","published":"2019-07-17T21:15:11.797Z","related":["ALSA-2020:1852","CGA-vxcr-qfm5-gcxr","SUSE-SU-2022:1925-1","SUSE-SU-2022:1932-1","openSUSE-SU-2024:12060-1"],"references":[{"type":"WEB","url":"https://usn.ubuntu.com/4071-1/"},{"type":"WEB","url":"http://packetstormsecurity.com/files/154124/GNU-patch-Command-Injection-Directory-Traversal.html"},{"type":"WEB","url":"https://seclists.org/bugtraq/2019/Aug/29"},{"type":"WEB","url":"https://usn.ubuntu.com/4071-2/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SVWWGISFWACROJJPVJJL4UBLVZ7LPOLT/"},{"type":"WEB","url":"https://seclists.org/bugtraq/2019/Jul/54"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20190828-0001/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2019/dsa-4489"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2019/07/msg00016.html"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201908-22"},{"type":"FIX","url":"https://git.savannah.gnu.org/cgit/patch.git/commit/?id=dce4683cbbe107a95f1f0d45fabc304acfb5d71a"},{"type":"PACKAGE","url":"https://github.com/irsl/gnu-patch-vulnerabilities"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://cgit.git.savannah.gnu.org/cgit/patch.git","events":[{"introduced":"0"},{"fixed":"dce4683cbbe107a95f1f0d45fabc304acfb5d71a"}]},{"type":"GIT","repo":"https://git.savannah.gnu.org/git/patch.git/","events":[{"introduced":"0"},{"last_affected":"40b387de08653a1e46872b8ac1a6a14b9b94feb3"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"2.7.6"}]}}],"versions":["v2.1","v2.2","v2.3","v2.4","v2.5","v2.5.3","v2.5.4","v2.5.7","v2.5.8","v2.5.9","v2.6","v2.6.1","v2.7","v2.7.1","v2.7.2","v2.7.3","v2.7.4","v2.7.5","v2.7.6"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-13636.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}