CVE-2018-20783 In PHP before 5.6.39, 7.x before 7.0.33, 7.1.x before 7.1.25, and 7.2.x before 7.2.13, a buffer over-read in PHAR reading functions may allow an attacker to read allocated or unallocated memory past t...
HighCVSS 7.5
EPSS 5.7%
- Published
- Updated
- Exploit status
- No public exploit known
Description
In PHP before 5.6.39, 7.x before 7.0.33, 7.1.x before 7.1.25, and 7.2.x before 7.2.13, a buffer over-read in PHAR reading functions may allow an attacker to read allocated or unallocated memory past the actual data when trying to parse a .phar file. This is related to phar_parse_pharfile in ext/phar/phar.c.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | < 5.6.39 | 5.6.39 |
| PHP | >= 7.0.0, < 7.0.33 | 7.0.33 |
| PHP | >= 7.1.0, < 7.1.25 | 7.1.25 |
| PHP | >= 7.2.0, < 7.2.13 | 7.2.13 |
| openSUSE leap | = 42.3 | No fix listed |
| alpine/php7(Alpine:v3.10) | < 7.2.13-r0 | 7.2.13-r0 |
| alpine/php7(Alpine:v3.11) | < 7.2.13-r0 | 7.2.13-r0 |
| alpine/php7(Alpine:v3.12) | < 7.2.13-r0 | 7.2.13-r0 |
| alpine/php7(Alpine:v3.13) | < 7.2.13-r0 | 7.2.13-r0 |
| alpine/php7(Alpine:v3.14) | < 7.2.13-r0 | 7.2.13-r0 |
| alpine/php7(Alpine:v3.15) | < 7.2.13-r0 | 7.2.13-r0 |
| alpine/php7(Alpine:v3.7) | < 7.1.29-r0 | 7.1.29-r0 |
| alpine/php7(Alpine:v3.8) | < 7.2.13-r0 | 7.2.13-r0 |
| alpine/php7(Alpine:v3.9) | < 7.2.13-r0 | 7.2.13-r0 |
References
- openSUSE-SU-2019:1256 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2019:1293 mailing-list third-party-advisory vendor-advisory
- openSUSE-SU-2019:1572 vendor-advisory
- openSUSE-SU-2019:1573 vendor-advisory
- php.net vendor-advisory
- php.net vendor-advisory
- RHSA-2019:2519 vendor-advisory
- RHSA-2019:3299 vendor-advisory
- bugs.php.net exploit issue-tracking vendor-advisory
- USN-3566-2 vendor-advisory
- security.alpinelinux.org vendor-advisory