cve/2023/CVE-2023-0568.md

18 lines
854 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-0568](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-0568)
![](https://img.shields.io/static/v1?label=Product&message=PHP&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-131%20Incorrect%20Calculation%20of%20Buffer%20Size&color=brighgreen)
### Description
In PHP 8.0.X before 8.0.28, 8.1.X before 8.1.16 and 8.2.X before 8.2.3, core path resolution function allocate buffer one byte too small. When resolving paths with lengths close to system MAXPATHLEN setting, this may lead to the byte after the allocated buffer being overwritten with NUL value, which might lead to unauthorized data access or modification. 
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/ARPSyndicate/cvemon