CVE-2021-21706

CVSS V2 Medium 4.3 CVSS V3 Medium 6.5
Description
In PHP versions 7.3.x below 7.3.31, 7.4.x below 7.4.24 and 8.0.x below 8.0.11, in Microsoft Windows environment, ZipArchive::extractTo may be tricked into writing a file outside target directory when extracting a ZIP file, thus potentially causing files to be created or overwritten, subject to OS permissions.
Overview
  • CVE ID
  • CVE-2021-21706
  • Assigner
  • security@php.net
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-10-04T04:15:08
  • Last Modified Date
  • 2021-11-03T20:24:36
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
AND
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 1 OR 7.3.0 7.3.31
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 1 OR 7.4.0 7.4.24
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 1 OR 8.0.0 8.0.11
cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* 0 OR
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:M/Au:N/C:N/I:P/A:N
  • Access Vector
  • NETWORK
  • Access Compatibility
  • MEDIUM
  • Authentication
  • NONE
  • Confidentiality Impact
  • NONE
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • NONE
  • Base Score
  • 4.3
  • Severity
  • MEDIUM
  • Exploitability Score
  • 8.6
  • Impact Score
  • 2.9
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • REQUIRED
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • NONE
  • Availability Impact
  • NONE
  • Base Score
  • 6.5
  • Base Severity
  • MEDIUM
  • Exploitability Score
  • 2.8
  • Impact Score
  • 3.6
References
Reference URL Reference Tags
https://bugs.php.net/bug.php?id=81420 Issue Tracking Patch Vendor Advisory
https://security.netapp.com/advisory/ntap-20211029-0007/ Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-10 06:48:28 Added to TrackCVE
2022-12-05 11:41:22 2021-10-04T04:15Z 2021-10-04T04:15:08 CVE Published Date updated
2022-12-05 11:41:22 2021-11-03T20:24:36 CVE Modified Date updated
2022-12-05 11:41:23 Analyzed Vulnerability Status updated