PEAR Archive_Tar Tar.php allows write operations with directory traversal due to inadequate checking of symbolic links. PEAR stands for PHP Extension and Application Repository and it is an open-source framework and distribution system for reusable PHP components with known usage in third-party products such as Drupal Core and Red Hat Linux.
In short
CVE-2020-36193 (PEAR Archive_Tar Improper Link Resolution) has a CVSS 3.1 base score of 7.5, rated high. CISA added it to the Known Exploited Vulnerabilities catalog on 25 Aug 2022. Fixed in Drupal 7.78 or later.
Description
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.
CVSS 3.1 breakdown
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NAffected products
- Drupal≥ 7.0 < 7.78 · ≥ 8.9.0 < 8.9.13 · ≥ 9.0.0 < 9.0.11 · ≥ 9.1.0 < 9.1.3
- PHP Archive Tar≤ 1.4.11
- Debian Linux10.0 · 9.0
- Fedoraproject Fedora32 · 33 · 34 · 35
Remediation
Fixed in- Drupal≥ 7.78
References
- https://github.com/pear/Archive_Tar/commit/cde460582ff389404b5b3ccb59374e9b389de916
- https://lists.debian.org/debian-lts-announce/2021/01/msg00018.html
- https://lists.debian.org/debian-lts-announce/2021/04/msg00007.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42GPGVVFTLJYAKRI75IVB5R45NYQGEUR/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FOZNK4FIIV7FSFCJNNFWMJZTTV7NFJV2/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJQQYDAOWHD6RDITDRPHFW7WY6BS3V5N/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YKD5WEFA4WT6AVTMRAYBNXZNLWZHM7FH/
- https://security.gentoo.org/glsa/202101-23
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-36193
- https://www.debian.org/security/2021/dsa-4894
and 1 more references
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
