CVE-2024-3096
PHP function password_verify can erroneously return true when argument contains NUL
6.5
MEDIUM
CVSS 3.1
EPSS 1.5%
描述
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.
如何修補 CVE-2024-3096
要修補 CVE-2024-3096,請將受影響套件升級到下列已修補版本。
- Bitnami/libphp—升級至 8.1.28 或更新版本
- —升級至 8.1.28 或更新版本
- —升級至 8.1.28 或更新版本
CVE-2024-3096 正在被利用嗎?
低 — EPSS 為 1.5%,目前沒有觀察到大規模利用活動。
受影響套件(3)
- from 0, < 8.1.28, >= 8.2.0, < 8.2.18, >= 8.3.0, < 8.3.5
- from 0, < 8.1.28, >= 8.2.0, < 8.2.18, >= 8.3.0, < 8.3.5
- from 0, < 8.1.28, >= 8.2.0, < 8.2.18, >= 8.3.0, < 8.3.5
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 |
參考連結(7)
- WEBwww.openwall.com/lists/oss-security/2024/04/12/11
- WEBgithub.com/php/php-src/security/advisories/GHSA-h746-cjrr-wfmr
- WEBlists.debian.org/debian-lts-announce/2024/05/msg00005.html
- WEBlists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KJZK3X6B7FBE32FETDSMRLJXTFTHKWSY/