cve.bz

CVE-2020-36193 PEAR Archive_Tar Improper Link Resolution Vulnerability

7.5 highKEVEPSS 71%Fix available

High (7.5) in PEAR Archive_Tar. In CISA KEV since 2022-08-25. EPSS 71% estimated probability of exploitation activity in the next 30 days. Fixed in pear/archive_tar 1.4.13.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
71% (unchanged from 71% a week ago; 71% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2022-08-25, due 2022-09-15
CISA's assessment (SSVC)
Exploitation: active · Automatable: yes · Technical impact: partial, assessed 2025-02-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-36193 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-36193?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-36193?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-36193 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
php:archive_tarthrough 1.4.11
fedoraproject:fedora32
fedoraproject:fedora33
fedoraproject:fedora34
fedoraproject:fedora35
debian:debian_linux9.0
debian:debian_linux10.0
drupal:drupalfrom 7.0 before 7.78
drupal:drupalfrom 8.9.0 before 8.9.13
drupal:drupalfrom 9.0.0 before 9.0.11
drupal:drupalfrom 9.1.0 before 9.1.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rpw6-9xfx-jvcxPackagistpear/archive_tar<1.4.131.4.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9drupal77.52-2+deb9u14DLA-2530-1
Debian9php-pear1:1.10.1+submodules+notgz-9+deb9u3DLA-2621-1
Debian10php-pear1:1.10.6+submodules+notgz-1.1+deb10u2DSA-4894-1
Debian12, 13, 14php-pear1:1.10.12+submodules+notgz+20210212-1DEBIAN-CVE-2020-36193
Ubuntu16.04:LTSphp-pear1:1.10.1+submodules+notgz-6ubuntu0.3UBUNTU-CVE-2020-36193 USN-4723-1
Ubuntu18.04:LTSphp-pear1:1.10.5+submodules+notgz-1ubuntu1.18.04.3UBUNTU-CVE-2020-36193 USN-4723-1
Ubuntu20.04:LTSphp-pear1:1.10.9+submodules+notgz-1ubuntu0.20.04.2UBUNTU-CVE-2020-36193 USN-4723-1
Red Hatenterprise_linux:7::server, enterprise_linux:7::workstationphp-pear1:1.9.4-23.el7_9RHSA-2022:7340
Red Hatenterprise_linux:8::appstreamapcu-panel, php-pecl-apcu, php-pecl-apcu-devel and 2 more0:5.1.18-1.module+el8.3.0+6678+b09f589eRHSA-2022:6542
Red Hatenterprise_linux:8::appstreamlibzip, libzip-devel, libzip-tools and 3 more0:1.6.1-1.module+el8.3.0+6678+b09f589eRHSA-2022:6542
Red Hatenterprise_linux:8::appstreamphp, php-gd, php-cli and 51 more0:7.4.19-4.module+el8.6.0+16316+906f6c6dRHSA-2022:6542
Red Hatenterprise_linux:8::appstreamphp-pear1:1.10.13-1.module+el8.6.0+16577+0788886fRHSA-2022:6542
Red Hatenterprise_linux:8::appstreamphp-pecl-rrd, php-pecl-rrd-debuginfo, php-pecl-rrd-debugsource0:2.0.1-1.module+el8.3.0+6678+b09f589eRHSA-2022:6542
Red Hatenterprise_linux:8::appstreamphp-pecl-xdebug, php-pecl-xdebug-debuginfo, php-pecl-xdebug-debugsource0:2.9.5-1.module+el8.3.0+6678+b09f589eRHSA-2022:6542
Red Hatenterprise_linux:8::appstreamphp-pecl-zip, php-pecl-zip-debuginfo, php-pecl-zip-debugsource0:1.18.2-1.module+el8.3.0+6678+b09f589eRHSA-2022:6542
Red Hatrhel_eus:8.4::appstreamapcu-panel, php-pecl-apcu, php-pecl-apcu-devel and 2 more0:5.1.18-1.module+el8.3.0+6678+b09f589eRHSA-2022:6541
Red Hatrhel_eus:8.4::appstreamlibzip, libzip-devel, libzip-tools and 3 more0:1.6.1-1.module+el8.3.0+6678+b09f589eRHSA-2022:6541
Red Hatrhel_eus:8.4::appstreamphp, php-gd, php-cli and 51 more0:7.4.6-5.module+el8.4.0+15727+276bb227RHSA-2022:6541
Red Hatrhel_eus:8.4::appstreamphp-pear1:1.10.13-1.module+el8.4.0+16578+ed65e99eRHSA-2022:6541
3 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Module for Web and Scripting 12php74-pear1.10.21-1.6.1SUSE-SU-2021:3006-1
SUSELinux Enterprise Module for Web and Scripting 12, Linux Enterprise Software Development Kit 12 SP5php727.2.5-1.69.1SUSE-SU-2021:2926-1
SUSELinux Enterprise Module for Web and Scripting 15 SP2, Linux Enterprise Module for Web and Scripting 15 SP3php7-pear1.10.21-3.6.1SUSE-SU-2021:3018-1
openSUSELeap 15.2php7-pear1.10.21-lp152.2.6.1openSUSE-SU-2021:1267-1
openSUSELeap 15.3php77.2.5-4.82.1openSUSE-SU-2021:2872-1
openSUSELeap 15.3php7-pear1.10.21-3.6.1openSUSE-SU-2021:3018-1
AlmaLinux8apcu-panel, php-pecl-apcu, php-pecl-apcu-devel5.1.18-1.module_el8.6.0+2750+78feabcbALSA-2022:6542
AlmaLinux8libzip, libzip-devel, libzip-tools1.6.1-1.module_el8.6.0+2750+78feabcbALSA-2022:6542
AlmaLinux8libzip, libzip-devel, libzip-tools1.6.1-1.module_el8.6.0+3239+bedf0508ALSA-2022:6542
AlmaLinux8php, php-gd, php-cli and 24 more7.4.19-4.module_el8.6.0+3238+624bf8b8ALSA-2022:6542
AlmaLinux8php, php-gd, php-cli and 24 more7.4.19-4.module_el8.6.0+3239+bedf0508ALSA-2022:6542
AlmaLinux8php-pear1:1.10.13-1.module_el8.6.0+3268+b150a051ALSA-2022:6542
AlmaLinux8php-pecl-apcu, php-pecl-apcu-devel5.1.18-1.module_el8.6.0+3239+bedf0508ALSA-2022:6542
AlmaLinux8php-pecl-rrd2.0.1-1.module_el8.6.0+2750+78feabcbALSA-2022:6542
AlmaLinux8php-pecl-rrd2.0.1-1.module_el8.6.0+3239+bedf0508ALSA-2022:6542
AlmaLinux8php-pecl-xdebug2.9.5-1.module_el8.6.0+2750+78feabcbALSA-2022:6542
AlmaLinux8php-pecl-xdebug2.9.5-1.module_el8.6.0+3239+bedf0508ALSA-2022:6542
AlmaLinux8php-pecl-zip1.18.2-1.module_el8.6.0+2750+78feabcbALSA-2022:6542
1 more for AlmaLinux in the JSON.
Rocky Linux8libzip0:1.6.1-1.module+el8.4.0+415+e936cba3RLSA-2022:6542
Rocky Linux8libzip0:1.6.1-1.module+el8.6.0+789+2130c178RLSA-2022:6542
Rocky Linux8php0:7.4.19-4.module+el8.6.0+1006+0d5a469fRLSA-2022:6542
Rocky Linux8php-pear1:1.10.13-1.module+el8.6.0+1006+0d5a469fRLSA-2022:6542
Rocky Linux8php-pear1:1.10.13-1.module+el8.7.0+1067+0a7071ccRLSA-2022:6542
Rocky Linux8php-pecl-apcu0:5.1.18-1.module+el8.4.0+415+e936cba3RLSA-2022:6542
Rocky Linux8php-pecl-apcu0:5.1.18-1.module+el8.6.0+789+2130c178RLSA-2022:6542
Rocky Linux8php-pecl-rrd0:2.0.1-1.module+el8.4.0+414+2e7afcddRLSA-2022:6542
Rocky Linux8php-pecl-xdebug0:2.9.5-1.module+el8.4.0+415+e936cba3RLSA-2022:6542
Rocky Linux8php-pecl-zip0:1.18.2-1.module+el8.4.0+415+e936cba3RLSA-2022:6542
Rocky Linux8php-pecl-zip0:1.18.2-1.module+el8.6.0+789+2130c178RLSA-2022:6542
Alpinev3.12, v3.13, v3.14 and 6 moredrupal77.78-r0ALPINE-CVE-2020-36193

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

php-pear 7.2 and 7.3 have been marked End of Life at the time this CVE was released. Therefore no patches would be made available for those versions.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7php-pear-1:1.9.4-23.el7_9Fixed 2022-11-02RHSA-2022:7340
Red Hat Enterprise Linux 8php:7.4-8060020220907094815.5caa48ffFixed 2022-09-15RHSA-2022:6542
Red Hat Enterprise Linux 8.4 Extended Update Supportphp:7.4-8040020220907095003.d7c09045Fixed 2022-09-15RHSA-2022:6541
Red Hat Enterprise Linux 6php-pearOut of support scope
Red Hat Enterprise Linux 8php:7.2/php-pearWill not fix
Red Hat Enterprise Linux 8php:7.3/php-pearWill not fix
Red Hat Enterprise Linux 9php-pearNot affected
Red Hat Software Collectionsrh-php73-php-pearWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-36193.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON