{"id":"CVE-2020-36193","published":"2021-01-18T20:15:12Z","modified":"2026-06-17T03:14:58Z","title":"PEAR Archive_Tar Improper Link Resolution Vulnerability","vendor":"PEAR","product":"Archive_Tar","tier":"core","eol":null,"description":{"text":"Tar.php in Archive_Tar through 1.4.11 allows write operations with Directory Traversal due to inadequate checking of symbolic links, a related issue to CVE-2020-28948.","provenance":"source","from":"NVD"},"summary":{"text":"The PEAR Archive_Tar component (product Archive_Tar, vendor PEAR) has an improper link-resolution flaw in Tar.php, present through version 1.4.11, where symbolic links are inadequately checked during write operations, allowing directory traversal. An unauthenticated remote attacker with network access can exploit it without user interaction, provided the application processes an attacker-supplied tar archive that is written out using Archive_Tar, causing files to be written outside the intended directory.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T13:43:59Z"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"NVD"},"epss":{"score":0.70595,"percentile":0.99391,"date":"2026-10-31","provenance":"source"},"kev":{"dateAdded":"2022-08-25","dueDate":"2022-09-15","ransomware":false,"requiredAction":"Apply updates per vendor instructions.","notes":"https://github.com/pear/Archive_Tar/commit/cde460582ff389404b5b3ccb59374e9b389de916, https://www.drupal.org/sa-core-2021-001, https://access.redhat.com/security/cve/cve-2020-36193; https://nvd.nist.gov/vuln/detail/CVE-2020-36193","provenance":"source"},"vulncheckKev":{"dateAdded":"2022-08-25","exploitedFirstSeen":"2022-08-25","ransomware":true,"evidence":[{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2022-08-25"},{"url":"https://info.securin.io/hubfs/Securin%20Ransomware%20Report%202023.pdf","date":"2023-02-14"},{"url":"https://www.trustwave.com/hubfs/Web/Library/Documents_pdf/2024_Trustwave_Public_Sector_Threat_Landscape.pdf","date":"2024-05-14"}],"evidenceTotal":3,"provenance":"source"},"exploited":true,"otx":null,"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"references":[{"url":"https://github.com/pear/Archive_Tar/commit/cde460582ff389404b5b3ccb59374e9b389de916","tags":["Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00018.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00007.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42GPGVVFTLJYAKRI75IVB5R45NYQGEUR/","tags":["Broken Link"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FOZNK4FIIV7FSFCJNNFWMJZTTV7NFJV2/","tags":["Broken Link"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJQQYDAOWHD6RDITDRPHFW7WY6BS3V5N/","tags":["Broken Link"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YKD5WEFA4WT6AVTMRAYBNXZNLWZHM7FH/","tags":["Broken Link"]},{"url":"https://security.gentoo.org/glsa/202101-23","tags":["Third Party Advisory"]},{"url":"https://www.debian.org/security/2021/dsa-4894","tags":["Third Party Advisory"]},{"url":"https://www.drupal.org/sa-core-2021-001","tags":["Third Party Advisory"]},{"url":"https://github.com/pear/Archive_Tar/commit/cde460582ff389404b5b3ccb59374e9b389de916","tags":["Patch"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00018.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00007.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42GPGVVFTLJYAKRI75IVB5R45NYQGEUR/","tags":["Broken Link"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FOZNK4FIIV7FSFCJNNFWMJZTTV7NFJV2/","tags":["Broken Link"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJQQYDAOWHD6RDITDRPHFW7WY6BS3V5N/","tags":["Broken Link"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YKD5WEFA4WT6AVTMRAYBNXZNLWZHM7FH/","tags":["Broken Link"]},{"url":"https://security.gentoo.org/glsa/202101-23","tags":["Third Party Advisory"]},{"url":"https://www.debian.org/security/2021/dsa-4894","tags":["Third Party Advisory"]},{"url":"https://www.drupal.org/sa-core-2021-001","tags":["Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-36193","tags":["US Government Resource"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Crafted archive processed by app enables traversal","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"Tar.php in Archive_Tar through 1.4.11 allows write operations with Directory Traversal","start":0,"end":86}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1565.001","name":"Stored Data Manipulation","tactics":["impact"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Arbitrary file writes alter stored data","mappingType":"primary_impact","evidence":[{"from":"description","quote":"allows write operations with Directory Traversal due to inadequate checking of symbolic links","start":38,"end":131}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[{"ecosystem":"Packagist","package":"pear/archive_tar","vulnerableRanges":["<1.4.13"],"patched":["1.4.13"],"from":["GHSA-rpw6-9xfx-jvcx"],"provenance":"source"}],"advisories":[{"id":"GHSA-rpw6-9xfx-jvcx","url":"https://github.com/advisories/GHSA-rpw6-9xfx-jvcx","severity":"HIGH","ecosystem":"Packagist","package":"pear/archive_tar","vulnerableRanges":["<1.4.13"],"patched":["1.4.13"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2021-0874","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-0874","exploited":true,"exploitedSince":"2022-08-25","provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[{"stage":"exploitation","techniques":["T1190"],"provenance":"ai"},{"stage":"primary","techniques":["T1565.001"],"provenance":"ai"}],"timeline":[{"date":"2021-01-18","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36193","provenance":"source"},{"date":"2022-08-25","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","provenance":"source"},{"date":"2022-08-25","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2022-08-25","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-0874","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":584},"priority":{"score":70.1,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1529 days ago"},{"name":"Known ransomware use","points":10.0,"detail":"CISA KEV and VulnCheck KEV: Known"},{"name":"EPSS percentile","points":19.88,"detail":"percentile 0.9939"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":5.25,"detail":"base score 7.5"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-pear-archive-tar-cve-2020-28948","parents":[{"from":"CVE-2020-28948","to":"CVE-2020-36193","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"Tar.php in Archive_Tar through 1.4.11 allows write operations with Directory Traversal due to inadequate checking of symbolic links, a related issue to CVE-2020-28948.","from":"NVD","in":"CVE-2020-36193"},{"kind":"same-code","provenance":"machine","files":["Archive/Tar.php"],"commits":["https://github.com/pear/Archive_Tar/commit/0670a05fdab997036a3fc3ef113b8f5922e574da","https://github.com/pear/Archive_Tar/commit/cde460582ff389404b5b3ccb59374e9b389de916"],"basis":"shared file"}]}],"children":[{"from":"CVE-2020-36193","to":"CVE-2021-32610","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:pear/archive_tar","fromFixed":"1.4.13","toFixed":"1.4.14","daysApart":190},{"kind":"same-code","provenance":"machine","files":["Archive/Tar.php"],"commits":["https://github.com/pear/Archive_Tar/commit/cde460582ff389404b5b3ccb59374e9b389de916","https://github.com/pear/Archive_Tar/commit/7789ebb2f34f9e4adb3a4152ad0d1548930a9755","https://github.com/pear/Archive_Tar/commit/b5832439b1f37331fb4f87e67fe4f61ca26bf7d4"],"basis":"shared function","functions":["_extractList"]}]}],"packageHistory":[{"cve":"CVE-2018-1000888","published":"2018-12-27","fixed":"1.4.4","kev":false},{"cve":"CVE-2020-28948","published":"2020-11-19","fixed":"1.4.11","kev":false},{"cve":"CVE-2020-28949","published":"2020-11-19","fixed":"1.4.11","kev":true,"link":{"from":"CVE-2020-28949","to":"CVE-2020-36193","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:pear/archive_tar","fromFixed":"1.4.11","toFixed":"1.4.13","daysApart":60},{"kind":"same-code","provenance":"machine","files":["Archive/Tar.php"],"commits":["https://github.com/pear/Archive_Tar/commit/0670a05fdab997036a3fc3ef113b8f5922e574da","https://github.com/pear/Archive_Tar/commit/cde460582ff389404b5b3ccb59374e9b389de916"],"basis":"shared file"}]}},{"cve":"CVE-2020-36193","published":"2021-01-18","fixed":"1.4.13","kev":true},{"cve":"CVE-2021-32610","published":"2021-07-27","fixed":"1.4.14","kev":false}],"package":"Packagist:pear/archive_tar"}}