REDHAT-BUG-2370118: High severity Hibernate Hibernate Validator vulnerability

Published Jun 3, 2025
·
Updated

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.

Affected Software

1 affected component
Hibernate Hibernate Validator<6.2.0, <7.0.0

Event History

Jun 3, 2025
Data Sourced
via Red Hat·08:01 PM
DescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2370118?

The severity of REDHAT-BUG-2370118 is considered high due to potential exploitation risks that could lead to exposing sensitive information or executing arbitrary Java code.

2

How do I fix REDHAT-BUG-2370118?

To fix REDHAT-BUG-2370118, upgrade Hibernate Validator to version 6.2.0 or later, or 7.0.0 or later.

3

What impact does REDHAT-BUG-2370118 have on applications?

REDHAT-BUG-2370118 can allow unauthorized access to sensitive data and introduce security vulnerabilities in applications using vulnerable versions.

4

Which versions are affected by REDHAT-BUG-2370118?

Versions of Hibernate Validator prior to 6.2.0 and 7.0.0 are affected by REDHAT-BUG-2370118.

5

Is user input safe in Hibernate Validator with REDHAT-BUG-2370118?

No, user input may be interpolated in constraint violation messages, which can create security risks with REDHAT-BUG-2370118.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203