cbcvebase.
CVE-2023-0568
published 2023-02-16

CVE-2023-0568: 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…

high8.1CVSS 3.1
AVNACHPRNUINSUCHIHAH
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.

Affected

10 ranges
VendorProductVersion rangeFixed in
debianphp7.4< php7.4 7.4.33-1+deb11u3 (bullseye)php7.4 7.4.33-1+deb11u3 (bullseye)
debianphp8.2< php7.4 7.4.33-1+deb11u3 (bullseye)php7.4 7.4.33-1+deb11u3 (bullseye)
msrcazl3_php_8.3.19-1_on_azure_linux_3.0
msrccbl2_php_8.1.16-1_on_cbl_mariner_2.0
phpphp>= 8.0.0 < 8.0.288.0.28
phpphp>= 8.1.0 < 8.1.168.1.16
phpphp>= 8.2.0 < 8.2.38.2.3
php_groupphp>= 8.0.x < 8.0.288.0.28
php_groupphp>= 8.1.x < 8.1.168.1.16
php_groupphp>= 8.2.x < 8.2.38.2.3

CVSS provenance

nvdv3.18.1HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
osv8.1HIGH