WaratekVRT Sign in

CVE-2017-7536 Hibernate Validator

Affected softwareHibernate Validator
Severity7.0 High CVSS 3.1 2 scores
Fixed in5.2.5.Final, 5.3.6.Final, 5.4.2.Final
WeaknessUnsafe reflection (CWE-470)
Published10 Jan 2018
Updated17 Jun 2026

Description

In Hibernate Validator 5.2.x before 5.2.5 final, 5.3.x, and 5.4.x, it was found that when the security manager's reflective permissions, which allows it to access the private members of the class, are granted to Hibernate Validator, a potential privilege escalation can occur. By allowing the calling code to access those private members without the permission an attacker may be able to validate an invalid instance and access the private member value via ConstraintViolation#getInvalidValue().

CWE-592

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 8 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 0.48% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR reflection security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-470: Unsafe Reflection.
Candidate fix https://bugzilla.redhat.com/show_bug.cgi?id=1465573 : a Red Hat bug: the triage, which links onward to the fix

How to mitigate CVE-2017-7536

Upgrade Hibernate Validator to a release that fixes it: 5.2.5.Final, 5.3.6.Final or 5.4.2.Final. Until you can, Waratek RASP blocks exploitation with its reflection rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

7.0 HIGH v3.1 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.0 HIGH CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H NVD Primary published
CVSS 2.0 4.4 none AV:L/AC:M/Au:N/C:P/I:P/A:P NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.hibernate:hibernate-validator 5.2.0 5.2.5.Final unbounded
org.hibernate:hibernate-validator 5.3.0 5.3.6.Final unbounded
org.hibernate:hibernate-validator 5.4.0 5.4.2.Final unbounded

Products and versions

7 products, 14 version entries
SourceVendorProductSchemeAffected versions
osv org.hibernate hibernate-validator generic ≥ 5.2.0 and < 5.2.5 · ≥ 5.3.0 and < 5.3.6 · ≥ 5.4.0 and < 5.4.2
nvd redhat hibernate validator generic ≥ 5.2.0 and < 5.2.5 · ≥ 5.3.0 and < 5.3.6 · ≥ 5.4.0 and < 5.4.2
nvd redhat jboss enterprise application platform generic 6.0.0 · 6.4.0 · 7.0 · 7.1
nvd redhat satellite generic 6.4
nvd redhat satellite capsule generic 6.4
nvd redhat virtualization generic 4.0
nvd redhat virtualization host generic 4.0

References

URLTags
https://bugzilla.redhat.com/show_bug.cgi?id=1465573 bugzilla
https://access.redhat.com/errata/RHSA-2017:3454 ADVISORY, RHSA-2017:3454
https://access.redhat.com/security/cve/CVE-2017-7536 REPORT, RHSA-2017:3454
https://access.redhat.com/errata/RHSA-2017:3455 ADVISORY, RHSA-2017:3455
https://github.com/hibernate/hibernate-validator/commit/0886e89900d343ea20fde5137c9a3086e6da9ac WEB
https://github.com/hibernate/hibernate-validator/commit/0778a5c98b817771a645c6f4ba0b28dd8b5437b WEB
https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe@%3Ccommits.druid.apache.org%3E WEB
https://github.com/hibernate/hibernate-validator PACKAGE
https://access.redhat.com/errata/RHSA-2018:3817 WEB
https://access.redhat.com/errata/RHSA-2018:2927 WEB

Timeline

Published2018-01-10By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.