CVE-2025-22228
Spring Security Does Not Enforce Password Length
7.4
HIGH
CVSS 3.1
EPSS 0.07%
描述
BCryptPasswordEncoder.matches(CharSequence,String) will incorrectly return true for passwords larger than 72 characters as long as the first 72 characters are the same.
如何修補 CVE-2025-22228
要修補 CVE-2025-22228,請將受影響套件升級到下列已修補版本。
- Maven/org.springframework.security:spring-security-crypto—升級至 6.3.8 或更新版本
CVE-2025-22228 正在被利用嗎?
低 — EPSS 為 0.1%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- >= 6.3.0, < 6.3.8
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |