synced 11 MIN AGO
01 Record

CVE-2021-21706

ZipArchive::extractTo may extract outside of destination dir

MediumPUBLISHEDCNA: php
CNA base score5.3 CVSS v3.xCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

02 Description

ZipArchive::extractTo may extract outside of destination dir

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
1.43% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 72.9% of scored records. A rank, not a probability.
NVD base score
6.5 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
No Red Hat rating. Red Hat rates the CVEs that affect its products.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2021-10-04 04:00Z5 YR AGO
Last updated
2024-09-16 23:06Z2 YR AGO
Reserved
2021-01-04
Assigning CNA
php
Record state
PUBLISHED
Severity
Medium (CVSS 5.3)
CNA CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
Weaknesses
  • CWE-24Path Traversal: '../filedir'Variant
  • CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')Base
Data version
5.1
Document digest
767699ca813272d043f8a5b6ca32f71416519b438225976e233a281979add8f2

05 Affected products

VendorProductVersionsPlatforms
PHP GroupPHP7.3.x to < 7.3.31, 7.4.x to < 7.4.24, 8.0.X to < 8.0.11Windows

06 References

07 Fixed in

Arch Linux

  • php
    Not affected

Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.