CVE-2025-35036
Hibernate Validator may interpolate user-supplied input in a constraint violation message with Expression Language
描述
Hibernate Validator before 6.2.0 and 7.0.0, by default and depending how it is used, may interpolate user-supplied input in a constraint violation message with Expression Language. This could allow an attacker to access sensitive information or execute arbitrary Java code. Hibernate Validator as of 6.2.0 and 7.0.0 no longer interpolates custom constraint violation messages with Expression Language and strongly recommends not allowing user-supplied input in constraint violation messages. CVE-2020-5245 and CVE-2025-4428 are examples of related, downstream vulnerabilities involving Expression Language intepolation of user-supplied data.
如何修補 CVE-2025-35036
要修補 CVE-2025-35036,請將受影響套件升級到下列已修補版本。
- —未列出修補版本
- —未列出修補版本
- —升級至 6.2.0.CR1 或更新版本
- —升級至 6.2.0.CR1 或更新版本
CVE-2025-35036 正在被利用嗎?
低 — EPSS 為 0.6%,目前沒有觀察到大規模利用活動。
受影響套件(4)
- from 0
- from 0
- from 0, < 6.2.0.CR1
- from 0, < 6.2.0.CR1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |