CVE-2021-21706
Severity CVSS v4.0:
Pending analysis
Type:
CWE-22
Path Traversal
Publication date:
04/10/2021
Last modified:
03/11/2021
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.
Impact
Base Score 3.x
6.50
Severity 3.x
MEDIUM
Base Score 2.0
4.30
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 7.3.0 (including) | 7.3.31 (excluding) |
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 7.4.0 (including) | 7.4.24 (excluding) |
| cpe:2.3:a:php:php:*:*:*:*:*:*:*:* | 8.0.0 (including) | 8.0.11 (excluding) |
| cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



