{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-13636 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"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."},"fix_prompt":"Check this codebase for CVE-2019-13636 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2019-13636 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2019-13636/ (Markdown: https://insights.sbomify.com/CVE-2019-13636/index.md)","id":"CVE-2019-13636","markdown":"https://insights.sbomify.com/CVE-2019-13636/index.md","name":"CVE-2019-13636","record":{"aliases":["ALPINE-CVE-2019-13636","ALSA-2020:1852","AZL-35105","AZL-6789","CLEANSTART-2026-WG57627","DEBIAN-CVE-2019-13636","DLA-1856-1","GHSA-f3xm-hqch-mq3q","JLSEC-2026-16","RHSA-2020:1852","RLSA-2020:1852","UBUNTU-CVE-2019-13636"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"GNU patch utility","requires_auth":"none","summary":"Attackers can exploit symlink mishandling in GNU patch to read or modify arbitrary files outside the intended directory.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"patch","vendor":"gnu"}],"cvss":{"score":5.9,"severity":"medium","source":"nvd","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"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.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:8::baseos","Rocky Linux:8"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Path traversal in n/a","id":"CVE-2019-13636","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2019"},"n_packages":5,"n_references":12,"next":{"headline":"Path traversal in n/a","id":"CVE-2019-13637"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["2.7.6-11.el8"],"introduced":["0"],"last_affected":[],"package":"patch","purl":"pkg:rpm/almalinux/patch","source":"ALSA-2020:1852"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.7.6-11.el8"],"introduced":["0"],"last_affected":[],"package":"patch","purl":"pkg:rpm/redhat/patch","source":"RHSA-2020:1852"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.7.6-11.el8"],"introduced":["0"],"last_affected":[],"package":"patch-debuginfo","purl":"pkg:rpm/redhat/patch-debuginfo","source":"RHSA-2020:1852"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:2.7.6-11.el8"],"introduced":["0"],"last_affected":[],"package":"patch-debugsource","purl":"pkg:rpm/redhat/patch-debugsource","source":"RHSA-2020:1852"},{"ecosystem":"Rocky Linux:8","fixed":["0:2.7.6-11.el8"],"introduced":["0"],"last_affected":[],"package":"patch","purl":"pkg:rpm/rocky-linux/patch?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2020:1852"}],"prev":{"headline":"Path traversal in n/a","id":"CVE-2019-13635"},"products":["n/a"],"published":"2019-07-17","related":[{"cvss_score":7.8,"headline":"Command injection in n/a","id":"CVE-2018-20969","kev_date_added":null,"published":"2019-08-16"},{"cvss_score":7.5,"headline":"Use after free in n/a","id":"CVE-2018-6952","kev_date_added":null,"published":"2018-02-13"},{"cvss_score":5.5,"headline":"Null dereference in n/a","id":"CVE-2021-45261","kev_date_added":null,"published":"2021-12-22"},{"cvss_score":5.5,"headline":"Use after free in n/a","id":"CVE-2019-20633","kev_date_added":null,"published":"2020-03-25"},{"cvss_score":5.5,"headline":"Memory corruption in n/a","id":"CVE-2016-10713","kev_date_added":null,"published":"2018-02-13"},{"cvss_score":4.6,"headline":"NULL Pointer Dereference in GNU patch","id":"CVE-2026-56288","kev_date_added":null,"published":"2026-07-09"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Attackers can exploit symlink mishandling in GNU patch to read or modify arbitrary files outside the intended directory.","url":"https://insights.sbomify.com/CVE-2019-13636/"}