CVE-2023-3824
Vulnerability Summary
Timeline
Description
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.
CVSS Metrics
- v3.1•CRITICAL•Score: 9.4CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
- v3.1•CRITICAL•Score: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Trends
Current EPSS score: 21.79%• Percentile: 98%
Techniques & Countermeasures
- CWE-119•Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Affected Systems
- debian•php7.4
< 7.4.33-1+deb11u5
- debian•php8.2
< 8.2.18-1~deb12u1
- debian•debian_linux
10.0
- fedoraproject•fedora
38
- php_group•php
≥ 8.0.*, < 8.0.30 | ≥ 8.1.*, < 8.1.22 | ≥ 8.2.*, < 8.2.8
- php•php
≥ 8.0.0, < 8.0.30 | ≥ 8.1.0, < 8.1.22 | ≥ 8.2.0, < 8.2.9
References (5)
- https://github.com/php/php-src/security/advisories/GHSA-jqcx-ccgc-xwhv
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7NBF77WN6DTVTY2RE73IGPYD6M4PIAWA/
- https://security.netapp.com/advisory/ntap-20230825-0001/
- https://lists.debian.org/debian-lts-announce/2023/09/msg00002.html
- https://security-tracker.debian.org/tracker/CVE-2023-3824