CVE-2020-36193: Tar.php in Archive_Tar through 1.4.11 allows write operations with Directory Traversal due to inadequate checking of symbolic links, a…
Noroxi assessment
Priority: Now (action score 81/100)
- CISA has confirmed exploitation in the wild (Aug 25, 2022). Remediation deadline for US federal agencies: Sep 15, 2022.
- Probability of exploitation in the next 30 days: 70.5% (FIRST EPSS); higher than 99.4% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: apcu-panel (AlmaLinux:8) 5.1.18-1.module_el8.6.0+2750+78feabcb; libzip (AlmaLinux:8) 1.6.1-1.module_el8.6.0+2750+78feabcb, 1.6.1-1.module_el8.6.0+3239+bedf0508; libzip-devel (AlmaLinux:8) 1.6.1-1.module_el8.6.0+3239+bedf0508, 1.6.1-1.module_el8.6.0+2750+78feabcb.
Patch today or shut off access. Upgrade to apcu-panel (AlmaLinux:8) 5.1.18-1.module_el8.6.0+2750+78feabcb; libzip (AlmaLinux:8) 1.6.1-1.module_el8.6.0+2750+78feabcb, 1.6.1-1.module_el8.6.0+3239+bedf0508; libzip-devel (AlmaLinux:8) 1.6.1-1.module_el8.6.0+3239+bedf0508, 1.6.1-1.module_el8.6.0+2750+78feabcb or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · CISA KEV · FIRST EPSS
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.
- Published
- Jan 18, 2021
- Updated
- Jun 16, 2026
- EPSS
- 70.5% · 99th percentile
- CWE
- CWE-22
Report tools
Action score
81
Patch today or shut off access.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 30 / 30 · Listed
- EPSS
- 21 / 30 · 70.5%
CISA SSVC decision
- Exploitation
- active
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Actively exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on Aug 25, 2022. That signals real attacks, not theory.
Remediation deadline for US federal agencies: Sep 15, 2022.
Get told when this record changes
- In CISA KEV: exploitation in the wild confirmed
- Weaponized exploit exists
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| php | archive tar | cpe:2.3:a:php:archive_tar |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| drupal | drupal | cpe:2.3:a:drupal:drupal |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- debian debian linux9.0
- drupal drupal9.1.0 and later · before 9.1.3
- drupal drupal7.0 and later · before 7.78
- drupal drupal8.9.0 and later · before 8.9.13
- drupal drupal9.0.0 and later · before 9.0.11
- fedoraproject fedora32
- fedoraproject fedora33
+3 more rows
- fedoraproject fedora34
- fedoraproject fedora35
- php archive tarup to 1.4.11 inclusive
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+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-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.19-4.module_el8.6.0+3238+624bf8b8 | 7.4.19-4.module_el8.6.0+3238+624bf8b8 |
| AlmaLinux:8 | php | before 7.4.19-4.module_el8.6.0+3239+bedf0508 | 7.4.19-4.module_el8.6.0+3239+bedf0508 |
| AlmaLinux:8 | php-bcmath | before 7.4.19-4.module_el8.6.0+3238+624bf8b8 | 7.4.19-4.module_el8.6.0+3238+624bf8b8 |
| AlmaLinux:8 | php-bcmath | before 7.4.19-4.module_el8.6.0+3239+bedf0508 | 7.4.19-4.module_el8.6.0+3239+bedf0508 |
| AlmaLinux:8 | php-cli | before 7.4.19-4.module_el8.6.0+3239+bedf0508 | 7.4.19-4.module_el8.6.0+3239+bedf0508 |
| AlmaLinux:8 | php-cli | before 7.4.19-4.module_el8.6.0+3238+624bf8b8 | 7.4.19-4.module_el8.6.0+3238+624bf8b8 |
| AlmaLinux:8 | php-common | before 7.4.19-4.module_el8.6.0+3238+624bf8b8 | 7.4.19-4.module_el8.6.0+3238+624bf8b8 |
| AlmaLinux:8 | php-common | before 7.4.19-4.module_el8.6.0+3239+bedf0508 | 7.4.19-4.module_el8.6.0+3239+bedf0508 |
| AlmaLinux:8 | php-dba | before 7.4.19-4.module_el8.6.0+3238+624bf8b8 | 7.4.19-4.module_el8.6.0+3238+624bf8b8 |
| AlmaLinux:8 | php-dba | before 7.4.19-4.module_el8.6.0+3239+bedf0508 | 7.4.19-4.module_el8.6.0+3239+bedf0508 |
| AlmaLinux:8 | php-dbg | before 7.4.19-4.module_el8.6.0+3238+624bf8b8 | 7.4.19-4.module_el8.6.0+3238+624bf8b8 |
| AlmaLinux:8 | php-dbg | before 7.4.19-4.module_el8.6.0+3239+bedf0508 | 7.4.19-4.module_el8.6.0+3239+bedf0508 |
| AlmaLinux:8 | php-devel | before 7.4.19-4.module_el8.6.0+3238+624bf8b8 | 7.4.19-4.module_el8.6.0+3238+624bf8b8 |
| AlmaLinux:8 | php-devel | before 7.4.19-4.module_el8.6.0+3239+bedf0508 | 7.4.19-4.module_el8.6.0+3239+bedf0508 |
| AlmaLinux:8 | php-embedded | before 7.4.19-4.module_el8.6.0+3239+bedf0508 | 7.4.19-4.module_el8.6.0+3239+bedf0508 |
| AlmaLinux:8 | php-embedded | before 7.4.19-4.module_el8.6.0+3238+624bf8b8 | 7.4.19-4.module_el8.6.0+3238+624bf8b8 |
| AlmaLinux:8 | php-enchant | before 7.4.19-4.module_el8.6.0+3239+bedf0508 | 7.4.19-4.module_el8.6.0+3239+bedf0508 |
+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…KEV86Now
- CVE-2021-32610In Archive_Tar before 1.4.14, symlinks can refer to targets outside of the extracted archive, a different vulnerability than CVE-2020-36193.50Plan
- 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.19-4.module_el8.6.0+3238+624bf8b8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-bcmath | 7.4.19-4.module_el8.6.0+3238+624bf8b8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-cli | 7.4.19-4.module_el8.6.0+3239+bedf0508 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-common | 7.4.19-4.module_el8.6.0+3239+bedf0508 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-dba | 7.4.19-4.module_el8.6.0+3238+624bf8b8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-dbg | 7.4.19-4.module_el8.6.0+3238+624bf8b8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-devel | 7.4.19-4.module_el8.6.0+3238+624bf8b8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:php-embedded | 7.4.19-4.module_el8.6.0+3239+bedf0508 · AlmaLinux:8 | Package registry (OSV) |
| alpine:drupal7 | 7.78-r0 · Alpine:v3.12 | Package registry (OSV) |
| debian:drupal7 | 7.52-2+deb9u14 · Debian:9 | Package registry (OSV) |
| debian:php-pear | 1:1.10.12+submodules+notgz+20210212-1 · Debian:12 | Package registry (OSV) |
| opensuse:php7 | 7.2.5-4.82.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:php7-pear | 1.10.21-lp152.2.6.1 · openSUSE:Leap 15.2 | Package registry (OSV) |
| Packagist:pear/archive_tar | 1.4.13 | Package registry (OSV) |
| red hat:apcu-panel | 0:5.1.18-1.module+el8.3.0+6678+b09f589e · Red Hat:rhel_eus:8.4::appstream | Package registry (OSV) |
| red hat:libzip | 0:1.6.1-1.module+el8.3.0+6678+b09f589e · Red Hat:rhel_eus:8.4::appstream | Package registry (OSV) |
| red hat:libzip-debuginfo | 0:1.6.1-1.module+el8.3.0+6678+b09f589e · Red Hat:rhel_eus:8.4::appstream | Package registry (OSV) |
| red hat:libzip-debugsource | 0:1.6.1-1.module+el8.3.0+6678+b09f589e · Red Hat:rhel_eus:8.4::appstream | Package registry (OSV) |
| red hat:libzip-devel | 0:1.6.1-1.module+el8.3.0+6678+b09f589e · Red Hat:rhel_eus:8.4::appstream | Package registry (OSV) |
| red hat:libzip-tools | 0:1.6.1-1.module+el8.3.0+6678+b09f589e · Red Hat:rhel_eus:8.4::appstream | Package registry (OSV) |
| red hat:libzip-tools-debuginfo | 0:1.6.1-1.module+el8.3.0+6678+b09f589e · Red Hat:rhel_eus:8.4::appstream | Package registry (OSV) |
| red hat:php | 0:7.4.6-5.module+el8.4.0+15727+276bb227 · Red Hat:rhel_eus:8.4::appstream | Package registry (OSV) |
| red hat:php-bcmath | 0:7.4.6-5.module+el8.4.0+15727+276bb227 · Red Hat:rhel_eus:8.4::appstream | Package registry (OSV) |
| red hat:php-bcmath-debuginfo | 0:7.4.6-5.module+el8.4.0+15727+276bb227 · Red Hat:rhel_eus:8.4::appstream | Package registry (OSV) |
| red hat:php-cli | 0:7.4.6-5.module+el8.4.0+15727+276bb227 · Red Hat:rhel_eus:8.4::appstream | Package registry (OSV) |
| red hat:php-cli-debuginfo | 0:7.4.6-5.module+el8.4.0+15727+276bb227 · Red Hat:rhel_eus:8.4::appstream | Package registry (OSV) |
+10
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
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.
- Published
- CISA KEV+583 d
- TodayNov 14, 2026+2125 d
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvd-primary
Root cause
A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.
The bug in code
The whole CWE-22 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const file = path.join(ROOT, req.query.name);
res.sendFile(file);Fixed
const file = path.resolve(ROOT, req.query.name);
if (!file.startsWith(ROOT + path.sep)) {
return res.sendStatus(400);
}
res.sendFile(file);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)
- Path TraversalCAPEC-126likelihood: High · Very High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64likelihood: High · High
- Manipulating Web Input to File System CallsCAPEC-76likelihood: High · Very High
- Using Escaped Slashes in Alternate EncodingCAPEC-78likelihood: High · High
- Using Slashes in Alternate EncodingCAPEC-79likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (10 more)Show less
- lists.debian.org/debian-lts-announce/2021/01/msg00018.html
- lists.debian.org/debian-lts-announce/2021/04/msg00007.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/42GPGVVFTLJYAKRI75IVB5R45NYQGEUR/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FOZNK4FIIV7FSFCJNNFWMJZTTV7NFJV2/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJQQYDAOWHD6RDITDRPHFW7WY6BS3V5N/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YKD5WEFA4WT6AVTMRAYBNXZNLWZHM7FH/
- security.gentoo.org/glsa/202101-23
- www.debian.org/security/2021/dsa-4894
- www.drupal.org/sa-core-2021-001
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-36193
Vendor advisories and official records. Exploit/PoC links are deliberately left out.