CVE-2017-7536
Privilege Escalation in Hibernate Validator
Reported by redhat · Published January 10, 2018
hibernate-validator is fixed in 5.4.2.Final, 5.4.2, 5.3.6.Final and 3 more (Maven Central)
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().
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.hibernate:hibernate-validator | Maven Central | 5.4.2.Final, 5.4.2, 5.3.6.Final, 5.3.6, 5.2.5.Final, 5.2.5 |
| hibernate_validator | redhat | 5.4.2, 5.3.6, 5.2.5 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Red Hat, Inc. | hibernate-validator | 5.2.x before 5.2.5 final, 5.3.x, 5.4.x |
| Maven | org.hibernate:hibernate-validator | 5.2.0, 5.3.0, 5.4.0 |
| Red Hat, Inc. | hibernate-validator | 5.2.x, 5.3.x, 5.4.x |
Timeline
- Jan 10, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (16 in total, the first dated here)
- Jun 17, 2026 CVE Updated
- Sep 28, 2026 Coalition ESS Score
- Oct 31, 2026 Distribution Patch (15 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-7536
vulnetix vdb fixes CVE-2017-7536
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-7536/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2017:2809 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:3817 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:2740 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:2810 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:2741 vendor-advisoryx_refsource_REDHAT
- 1039744 vdb-entryx_refsource_SECTRACK
- RHSA-2018:2742 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:3458 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:2808 vendor-advisoryx_refsource_REDHAT
- 101048 vdb-entryx_refsource_BID
- RHSA-2017:3455 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:2927 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:3456 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:2743 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:3454 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:3141 vendor-advisoryx_refsource_REDHAT
- RHSA-2017:2811 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- [druid-commits] 20191115 [GitHub] [incubator-druid] ccaominh opened a new pull request #8878: Address security vulnerabilities mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2017-7536 advisory