CVE-2024-3096

medium

Description

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.

References

https://security.netapp.com/advisory/ntap-20240510-0010/

https://lists.debian.org/debian-lts-announce/2024/05/msg00005.html

https://github.com/php/php-src/security/advisories/GHSA-h746-cjrr-wfmr

http://www.openwall.com/lists/oss-security/2024/04/12/11

Details

Source: Mitre, NVD

Published: 2024-04-29

Updated: 2024-06-10

Risk Information

CVSS v2

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

Severity: High

CVSS v3

Base Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Severity: Medium