Paper/Archive/CVE-2023-3824

CVE-2023-3824

PHP Group PHP — Buffer overflow and overread in phar_dir_read()

Description · from the CVE record

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

ProductAffectedFixed inSource
PHP8.0.* – < 8.0.308.0.30CNA
PHP8.1.* – < 8.1.228.1.22CNA
PHP8.2.* – < 8.2.88.2.8CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
php (CNA)9.4CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L

References

refgithub.com/php/php-src/security/advisories/GHSA-jqcx-ccgc-xwhvreflists.fedoraproject.org/archives/list/[email protected]/message/7NBF77WN6DTVTY2RE73IGPYD6M4PIAWArefsecurity.netapp.com/advisory/ntap-20230825-0001reflists.debian.org/debian-lts-announce/2023/09/msg00002.html