CVE-2023-0568

Name
CVE-2023-0568
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. 
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://bugs.php.net/bug.php?id=81746
MISC https://security.netapp.com/advisory/ntap-20230517-0001/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* php >= 8.2.0 < 8.2.3
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* php >= 8.1.0 < 8.1.16
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* php >= 8.0.0 < 8.0.28

Vulnerable and fixed packages

Source package Branch Version Maintainer Status