Ubuntu CVE Tracker
UBUNTU-CVE-2023-3824
Details
In PHP version 8.0.* before 8.0.30, 8.1.* before 8.1.22, and 8.2.* before 8.2.8, when loading phar file, while reading PHAR directory entries, insufficient length checking may lead to a stack buffer overflow, leading potentially to memory corruption or RCE.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | php5 | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | php7.0 | All versions before 7.0.33-0ubuntu0.16.04.16+esm8 (fixed in 7.0.33-0ubuntu0.16.04.16+esm8) |
| Ubuntu:Pro:18.04:LTS | php7.2 | All versions before 7.2.24-0ubuntu0.18.04.17+esm2 (fixed in 7.2.24-0ubuntu0.18.04.17+esm2) |
| Ubuntu:20.04:LTS | php7.4 | All versions before 7.4.3-4ubuntu2.20 (fixed in 7.4.3-4ubuntu2.20) |
| Ubuntu:22.04:LTS | php8.1 | All versions before 8.1.2-1ubuntu2.14 (fixed in 8.1.2-1ubuntu2.14) |
References
- https://ubuntu.com/security/CVE-2023-3824
- https://github.com/php/php-src/security/advisories/GHSA-jqcx-ccgc-xwhv
- https://github.com/php/php-src/commit/80316123f3e9dcce8ac419bd9dd43546e2ccb5ef
- https://ubuntu.com/security/notices/USN-6305-1
- https://ubuntu.com/security/notices/USN-6305-2
- https://www.cve.org/CVERecord?id=CVE-2023-3824