CVE-2017-7536
hibernate-validator: Privilege escalation when running under the security manager
Overview
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().
Source: OX vulnerability database
Severity
7 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-592, CWE-470
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | org.hibernate:hibernate-validator | >=5.2.0, <5.2.5.Final>=5.3.0, <5.3.6.Final>=5.4.0, <5.4.2.Final | 5.2.5.Final5.3.6.Final5.4.2.Final |
Open a package to see all its vulnerabilities.
Operating systems · 444 fixes
Red Hat 1 release · 427 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | libstemmer | 0:0-2.585svn.el7sat | RHSA-2018:2927 |
| 7 | rubygem-kafo-wizards | 0:0.0.1-2.el7sat | RHSA-2018:2927 |
| 7 | tfm-rubygem-hammer-cli-foreman-tasks | 0:0.0.12-2.el7sat | RHSA-2018:2927 |
| 7 | tfm-rubygem-hammer-cli-foreman-virt-who-configure | 0:0.0.3-2.el7sat | RHSA-2018:2927 |
| 7 | rubygem-smart-proxy-dhcp-remote-isc | 0:0.0.4-1.el7sat | RHSA-2018:2927 |
| 7 | tfm-rubygem-apipie-params | 0:0.0.5-4.el7sat | RHSA-2018:2927 |
432 more rows
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | libhibernate-validator-java | 4.3.3-4 |
| 12 | libhibernate-validator-java | 4.3.3-4 |
| 13 | libhibernate-validator-java | 4.3.3-4 |
| 14 | libhibernate-validator-java | 4.3.3-4 |
| 9 | libhibernate-validator-java | 4.3.3-1+deb9u1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| libhibernate-validator-java | 4.3.3-4 |
References
- www.securityfocus.com http://www.securityfocus.com/bid/101048
- www.securitytracker.com http://www.securitytracker.com/id/1039744
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:2808
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:2809
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:2810
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:2811
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:3141
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:3454
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:3455
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:3456
Show all 26 references
- access.redhat.com https://access.redhat.com/errata/RHSA-2017:3458
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:2740
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:2741
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:2742
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:2743
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:2927
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:3817
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-7536
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1465573
- github.com https://github.com/hibernate/hibernate-validator
- github.com https://github.com/hibernate/hibernate-validator/commit/0778a5c98b817771a645c6f4ba0b28dd8b5437b
- github.com https://github.com/hibernate/hibernate-validator/commit/0886e89900d343ea20fde5137c9a3086e6da9ac
- lists.apache.org https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe%40%3Ccommits.druid.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/9317fd092b257a0815434b116a8af8daea6e920b6673f4fd5583d5fe@%3Ccommits.druid.apache.org%3E
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-7536
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2017-7536
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.