CVE-2025-35036

Aliases:GHSA-7v6m-28jr-rg84
Analyzed
Published: 03 Jun 2025, 19:27
Last modified:05 Jun 2025, 18:41

Vulnerability Summary

Overall Risk (default)
medium
30/100
CVSS Score
7.3 HIGH
v3.1 (cve.org)
EPSS Score
1.69% LOW
2% probability +1.42%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

03 Jun 2025, 19:27
Published
Vulnerability first disclosed
05 Jun 2025, 18:41
Last Modified
Vulnerability information updated

Description

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.

CVSS Metrics

  • v4.0MEDIUMScore: 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
  • v4.0MEDIUMScore: 6.9CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • v3.1HIGHScore: 7.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

EPSS Trends

Current EPSS score: 1.69% Percentile: 83%

Techniques & Countermeasures

  • CWE-94Improper Control of Generation of Code ('Code Injection')

    The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

Affected Systems

  • hibernatehibernate validator

    < 6.2.0 | < 7.0.0

  • org.hibernatehibernate-validator

    < 6.2.0.CR1 | ≥ 7.0.0.Alpha1, < 7.0.0.CR1

  • org.hibernate.validatorhibernate-validator

    < 6.2.0.CR1 | ≥ 7.0.0.Alpha1, < 7.0.0.CR1

  • redhathibernate_validator

    < 6.2.0

References (16)