CVE-2024-3096
MEDIUM6.5EPSS 1.1%PHP function password_verify can erroneously return true when argument contains NUL
發布日:2024/4/29修改日:2026/4/28
描述
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.
受影響套件(5)
- Bitnami/libphpfrom 0, < 8.1.28, >= 8.2.0, < 8.2.18, >= 8.3.0, < 8.3.5
- Bitnami/phpfrom 0, < 8.1.28, >= 8.2.0, < 8.2.18, >= 8.3.0, < 8.3.5
- Bitnami/php-minfrom 0, < 8.1.28, >= 8.2.0, < 8.2.18, >= 8.3.0, < 8.3.5
- Debian/php7.4from 0, < 7.4.33-1+deb11u5
- Debian/php8.2from 0, < 8.2.18-1~deb12u1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
參考連結(8)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-3096
- WEBhttps://github.com/php/php-src/security/advisories/GHSA-h746-cjrr-wfmr
- WEBhttps://lists.debian.org/debian-lts-announce/2024/05/msg00005.html
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/ZGWIK3HMBACERGB4TSBB2JUOMPYY2VKY/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2024-3096
- WEBhttps://security.netapp.com/advisory/ntap-20240510-0010/
- WEBhttp://www.openwall.com/lists/oss-security/2024/04/12/11