CVE-2023-0568
Last modified
CVE-2023-0568 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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.. EPSS estimates a 1.24% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Php | Php | >= 8.0.0, < 8.0.28 |
| Php | Php | >= 8.1.0, < 8.1.16 |
| Php | Php | >= 8.2.0, < 8.2.3 |
References
- https://bugs.php.net/bug.php?id=81746Exploit, Issue Tracking, Patch, Vendor Advisory
- https://bugs.php.net/bug.php?id=81746Exploit, Issue Tracking, Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-0568?
How severe is CVE-2023-0568?
How do I fix CVE-2023-0568?
Are you affected by CVE-2023-0568?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
