CVE-2020-7061 heap-buffer-overflow in phar_extract_file
CriticalCVSS 9.1
EPSS 4.1%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- PHPPHP (language)
Description
In PHP versions 7.3.x below 7.3.15 and 7.4.x below 7.4.3, while extracting PHAR files on Windows using phar extension, certain content inside PHAR file could lead to one-byte read past the allocated buffer. This could potentially lead to information disclosure or crash.
Upgrade path
7 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/php7(Alpine v3.11) | < 7.3.15-r0 | 7.3.15-r0 | Fixed |
| alpine/php7(Alpine v3.12) | < 7.3.15-r0 | 7.3.15-r0 | Fixed |
| alpine/php7(Alpine v3.13) | < 7.3.15-r0 | 7.3.15-r0 | Fixed |
| alpine/php7(Alpine v3.14) | < 7.3.15-r0 | 7.3.15-r0 | Fixed |
| alpine/php7(Alpine v3.15) | < 7.3.15-r0 | 7.3.15-r0 | Fixed |
| PHP | >= 7.2.0, <= 7.2.27; >= 7.3.0, <= 7.3.14; >= 7.3.x, < 7.3.15; >= 7.4.0, <= 7.4.2 +1 more | 7.3.15, 7.4.3 | Fixed |
| tenable.sc | < 5.19.0 | 5.19.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | >= 7.2.0, <= 7.2.27 | No fix listed |
| PHP | >= 7.3.0, <= 7.3.14 | No fix listed |
| PHP | >= 7.4.0, <= 7.4.2 | No fix listed |
| tenable.sc | < 5.19.0 | 5.19.0 |
| alpine/php7(Alpine:v3.11) | < 7.3.15-r0 | 7.3.15-r0 |
| alpine/php7(Alpine:v3.12) | < 7.3.15-r0 | 7.3.15-r0 |
| alpine/php7(Alpine:v3.13) | < 7.3.15-r0 | 7.3.15-r0 |
| alpine/php7(Alpine:v3.14) | < 7.3.15-r0 | 7.3.15-r0 |
| alpine/php7(Alpine:v3.15) | < 7.3.15-r0 | 7.3.15-r0 |
| PHP | >= 7.3.x, < 7.3.15 | 7.3.15 |
| PHP | >= 7.4.x, < 7.4.3 | 7.4.3 |
References
- bugs.php.net exploit vendor-advisory
- GLSA-202003-57 third-party-advisory vendor-advisory
- www.tenable.com patch third-party-advisory
- security.alpinelinux.org vendor-advisory