cbcvebase.
CVE-2024-3096
published 2024-04-29

CVE-2024-3096: In PHP version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with password_hash() starts with a null byte (\x00), testing…

medium6.5CVSS 3.1
AVNACLPRNUIRSUCHINAN
In PHP version 8.1.* before 8.1.28, 8.2.* before 8.2.18, 8.3.* before 8.3.5, if a password stored with password_hash() starts with a null byte (\x00), testing a blank string as the password via password_verify() will incorrectly return true.

Affected

17 ranges
VendorProductVersion rangeFixed in
debiandebian_linux
debianphp7.4< php7.4 7.4.33-1+deb11u5 (bullseye)php7.4 7.4.33-1+deb11u5 (bullseye)
debianphp8.2< php7.4 7.4.33-1+deb11u5 (bullseye)php7.4 7.4.33-1+deb11u5 (bullseye)
msrcazl3_php_8.1.22-2_on_azure_linux_3.0
msrcazl3_php_8.3.4-1_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64
msrccbl2_php_8.1.22-2_on_cbl_mariner_2.0
msrccbl2_php_8.1.28-1_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64
phpphp>= 8.1.0 < 8.1.288.1.28
phpphp>= 8.2.0 < 8.2.188.2.18
phpphp>= 8.3.0 < 8.3.58.3.5
php_groupphp>= 8.1.* < 8.1.288.1.28
php_groupphp>= 8.2.* < 8.2.188.2.18
php_groupphp>= 8.3.* < 8.3.58.3.5

CVSS provenance

nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
osv6.5MEDIUM