In Archive_Tar before 1.4.14, symlinks can refer to targets outside of the extracted archive, a different vulnerability than CVE-2020-36193.
- Published
- Jul 30, 2021
- Updated
- Jun 16, 2026
- EPSS
- 73.4% · 99th percentile
- CWE
- CWE-59
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
50
Plan
Add it to your regular patch cycle.
- CVSS
- 28 / 40 · 7.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 22 / 30 · 73.4%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| php | archive tar | cpe:2.3:a:php:archive_tar |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux9.0
- fedoraproject fedora33
- fedoraproject fedora34
- fedoraproject fedora35
- php archive tarbefore 1.4.14
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | apcu-panel | before 5.1.18-1.module_el8.6.0+2750+78feabcb | 5.1.18-1.module_el8.6.0+2750+78feabcb |
| AlmaLinux:8 | libzip | before 1.6.1-1.module_el8.6.0+2750+78feabcb | 1.6.1-1.module_el8.6.0+2750+78feabcb |
| AlmaLinux:8 | libzip | before 1.6.1-1.module_el8.6.0+3239+bedf0508 | 1.6.1-1.module_el8.6.0+3239+bedf0508 |
| AlmaLinux:8 | libzip-devel | before 1.6.1-1.module_el8.6.0+2750+78feabcb | 1.6.1-1.module_el8.6.0+2750+78feabcb |
| AlmaLinux:8 | libzip-devel | before 1.6.1-1.module_el8.6.0+3239+bedf0508 | 1.6.1-1.module_el8.6.0+3239+bedf0508 |
| AlmaLinux:8 | libzip-tools | before 1.6.1-1.module_el8.6.0+3239+bedf0508 | 1.6.1-1.module_el8.6.0+3239+bedf0508 |
| AlmaLinux:8 | libzip-tools | before 1.6.1-1.module_el8.6.0+2750+78feabcb | 1.6.1-1.module_el8.6.0+2750+78feabcb |
| AlmaLinux:8 | php | before 7.4.30-1.module_el8.7.0+3286+227f3cf0 | 7.4.30-1.module_el8.7.0+3286+227f3cf0 |
| AlmaLinux:8 | php-bcmath | before 7.4.30-1.module_el8.7.0+3286+227f3cf0 | 7.4.30-1.module_el8.7.0+3286+227f3cf0 |
| AlmaLinux:8 | php-cli | before 7.4.30-1.module_el8.7.0+3286+227f3cf0 | 7.4.30-1.module_el8.7.0+3286+227f3cf0 |
| AlmaLinux:8 | php-common | before 7.4.30-1.module_el8.7.0+3286+227f3cf0 | 7.4.30-1.module_el8.7.0+3286+227f3cf0 |
| AlmaLinux:8 | php-dba | before 7.4.30-1.module_el8.7.0+3286+227f3cf0 | 7.4.30-1.module_el8.7.0+3286+227f3cf0 |
| AlmaLinux:8 | php-dbg | before 7.4.30-1.module_el8.7.0+3286+227f3cf0 | 7.4.30-1.module_el8.7.0+3286+227f3cf0 |
| AlmaLinux:8 | php-devel | before 7.4.30-1.module_el8.7.0+3286+227f3cf0 | 7.4.30-1.module_el8.7.0+3286+227f3cf0 |
| AlmaLinux:8 | php-embedded | before 7.4.30-1.module_el8.7.0+3286+227f3cf0 | 7.4.30-1.module_el8.7.0+3286+227f3cf0 |
| AlmaLinux:8 | php-enchant | before 7.4.30-1.module_el8.7.0+3286+227f3cf0 | 7.4.30-1.module_el8.7.0+3286+227f3cf0 |
| AlmaLinux:8 | php-ffi | before 7.4.30-1.module_el8.7.0+3286+227f3cf0 | 7.4.30-1.module_el8.7.0+3286+227f3cf0 |
| AlmaLinux:8 | php-fpm | before 7.4.30-1.module_el8.7.0+3286+227f3cf0 | 7.4.30-1.module_el8.7.0+3286+227f3cf0 |
| AlmaLinux:8 | php-gd | before 7.4.30-1.module_el8.7.0+3286+227f3cf0 | 7.4.30-1.module_el8.7.0+3286+227f3cf0 |
| AlmaLinux:8 | php-gmp | before 7.4.30-1.module_el8.7.0+3286+227f3cf0 | 7.4.30-1.module_el8.7.0+3286+227f3cf0 |
| AlmaLinux:8 | php-intl | before 7.4.30-1.module_el8.7.0+3286+227f3cf0 | 7.4.30-1.module_el8.7.0+3286+227f3cf0 |
| AlmaLinux:8 | php-json | before 7.4.30-1.module_el8.7.0+3286+227f3cf0 | 7.4.30-1.module_el8.7.0+3286+227f3cf0 |
| AlmaLinux:8 | php-ldap | before 7.4.30-1.module_el8.7.0+3286+227f3cf0 | 7.4.30-1.module_el8.7.0+3286+227f3cf0 |
| AlmaLinux:8 | php-mbstring | before 7.4.30-1.module_el8.7.0+3286+227f3cf0 | 7.4.30-1.module_el8.7.0+3286+227f3cf0 |
+96
Same product
php: all recordsOther highest-scoring records for the same primary product.
- CVE-2020-28949Archive_Tar through 1.4.10 has :// filename sanitization only to address phar attacks, and thus any other stream-wrapper attack (such as filKEV86Now
- CVE-2020-36193Tar.php in Archive_Tar through 1.4.11 allows write operations with Directory Traversal due to inadequate checking of symbolic links, a relatKEV81Now
- CVE-2020-28948Archive_Tar through 1.4.10 allows an unserialization attack because phar: is blocked but PHAR: is not blocked.45Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| AlmaLinux:apcu-panel | 5.1.18-1.module_el8.6.0+2750+78feabcb · AlmaLinux:8 | Package registry (OSV) |
| AlmaLinux:libzip | 1.6.1-1.module_el8.6.0+2750+78feabcb · AlmaLinux:8 | Package registry (OSV) |
| AlmaLinux:libzip-devel | 1.6.1-1.module_el8.6.0+2750+78feabcb · AlmaLinux:8 | Package registry (OSV) |
| AlmaLinux:libzip-tools | 1.6.1-1.module_el8.6.0+3239+bedf0508 · AlmaLinux:8 | Package registry (OSV) |
| AlmaLinux:php | 7.4.30-1.module_el8.7.0+3286+227f3cf0 · AlmaLinux:8 | Package registry (OSV) |
| AlmaLinux:php-bcmath | 7.4.30-1.module_el8.7.0+3286+227f3cf0 · AlmaLinux:8 | Package registry (OSV) |
| AlmaLinux:php-cli | 7.4.30-1.module_el8.7.0+3286+227f3cf0 · AlmaLinux:8 | Package registry (OSV) |
| AlmaLinux:php-common | 7.4.30-1.module_el8.7.0+3286+227f3cf0 · AlmaLinux:8 | Package registry (OSV) |
| AlmaLinux:php-dba | 7.4.30-1.module_el8.7.0+3286+227f3cf0 · AlmaLinux:8 | Package registry (OSV) |
| AlmaLinux:php-dbg | 7.4.30-1.module_el8.7.0+3286+227f3cf0 · AlmaLinux:8 | Package registry (OSV) |
| AlmaLinux:php-devel | 7.4.30-1.module_el8.7.0+3286+227f3cf0 · AlmaLinux:8 | Package registry (OSV) |
| AlmaLinux:php-embedded | 7.4.30-1.module_el8.7.0+3286+227f3cf0 · AlmaLinux:8 | Package registry (OSV) |
| Debian:drupal7 | 7.52-2+deb9u16 · Debian:9 | Package registry (OSV) |
| Debian:php-pear | 1:1.10.13+submodules+notgz-1 · Debian:12 | Package registry (OSV) |
| openSUSE:php8-pear | 1.10.21-150400.9.3.1 · openSUSE:Leap 15.4 | Package registry (OSV) |
| Packagist:drupal/core | 8.9.17 | Package registry (OSV) |
| Packagist:drupal/core | 9.1.11 | Package registry (OSV) |
| Packagist:drupal/core | 9.2.2 | Package registry (OSV) |
| Packagist:pear/archive_tar | 1.4.14 | Package registry (OSV) |
| Red Hat:apcu-panel | 0:5.1.18-1.module+el8.3.0+6678+b09f589e · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| Red Hat:libzip | 0:1.6.1-1.module+el8.3.0+6678+b09f589e · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| Red Hat:libzip-debuginfo | 0:1.6.1-1.module+el8.3.0+6678+b09f589e · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| Red Hat:libzip-debugsource | 0:1.6.1-1.module+el8.3.0+6678+b09f589e · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| Red Hat:libzip-devel | 0:1.6.1-1.module+el8.3.0+6678+b09f589e · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| Red Hat:libzip-tools | 0:1.6.1-1.module+el8.3.0+6678+b09f589e · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| Red Hat:libzip-tools-debuginfo | 0:1.6.1-1.module+el8.3.0+6678+b09f589e · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| Red Hat:php | 0:7.4.30-1.module+el8.7.0+15886+8e29b882 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| Red Hat:php-bcmath | 0:7.4.30-1.module+el8.7.0+15886+8e29b882 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| Red Hat:php-bcmath-debuginfo | 0:7.4.30-1.module+el8.7.0+15886+8e29b882 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| Red Hat:php-cli | 0:7.4.30-1.module+el8.7.0+15886+8e29b882 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
+9
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-59 · Improper Link Resolution Before File Access ('Link Following')CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
- Obfuscated Files or Information: HTML SmugglingT1027.006
- Obfuscated Files or Information: Embedded PayloadsT1027.009
- Boot or Logon Autostart Execution:Shortcut ModificationT1547.009
- Hide Artifacts: Resource ForkingT1564.009
- Hijack Execution Flow: Executable Installer File Permissions WeaknessT1574.005
- Hijack Execution Flow: Services File Permissions WeaknessT1574.010
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- github.com/pear/Archive_Tar/commit/7789ebb2f34f9e4adb3a4152ad0d1548930a9755
- github.com/pear/Archive_Tar/commit/b5832439b1f37331fb4f87e67fe4f
- github.com/pear/Archive_Tar/releases/tag/1.4.14
- lists.debian.org/debian-lts-announce/2021/07/msg00023.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42GPGVVFTLJYAKRI75IVB5R45NYQGEUR/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CAODVMHGL5MHQWQAQTXQ7G7OE3VQZ7LS/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/G5LTY6COQYNMMHQJ3QIOJHEWCKD4XDFH/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJQQYDAOWHD6RDITDRPHFW7WY6BS3V5N/
- www.drupal.org/sa-core-2021-004
Vendor advisories and official records. Exploit/PoC links are deliberately left out.