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 breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low
Affected products
- PHP Group / PHP8.0.* – 8.0.30
- PHP Group / PHP8.1.* – 8.1.22
- PHP Group / PHP8.2.* – 8.2.8
References
- VENDOR_ADVISORYhttps://github.com/php/php-src/security/advisories/GHSA-jqcx-ccgc-xwhv
- MAILING_LISThttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7NBF77WN6DTVTY2RE73IGPYD6M4PIAWA/
- MISChttps://security.netapp.com/advisory/ntap-20230825-0001/
- MAILING_LISThttps://lists.debian.org/debian-lts-announce/2023/09/msg00002.html