VulnerabilityModified
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 a blank string as the password via password_verify() will incorrectly return true.
MEDIUM 6.5EPSS 1.49%
Does this matter?
Lower severity and a low EPSS score (1.49%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 6.5 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- EPSS
- 1.49% probability · 73th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-20
- Affected
- php/php · debian/debian linux
- Source
- security@php.net
References
- http://www.openwall.com/lists/oss-security/2024/04/12/11Mailing List
- https://github.com/php/php-src/security/advisories/GHSA-h746-cjrr-wfmrExploit, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/05/msg00005.htmlMailing List
- https://security.netapp.com/advisory/ntap-20240510-0010/Third Party Advisory
- http://www.openwall.com/lists/oss-security/2024/04/12/11Mailing List
- https://github.com/php/php-src/security/advisories/GHSA-h746-cjrr-wfmrExploit, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/05/msg00005.htmlMailing List
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY/
- https://security.netapp.com/advisory/ntap-20240510-0010/Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.