CVE-2017-7536
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().
What to do
Fixed builds are available from Debian, Maven, Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | libhibernate-validator-java | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | libhibernate-validator-java | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | libhibernate-validator-java | Not affected vulnerable_code_not_present | ||
| Debian 14 | libhibernate-validator-java | Fixed | 4.3.3-4 | DEBIAN-CVE-2017-7536 |
| Debian 13 | libhibernate-validator-java | Fixed | 4.3.3-4 | DEBIAN-CVE-2017-7536 |
| Debian 12 | libhibernate-validator-java | Fixed | 4.3.3-4 | DEBIAN-CVE-2017-7536 |
| Red Hat Enterprise Linux 7 | rhvm-appliance | Fixed | 1:4.1.20171102.0-1.el7 | RHSA-2017:3141 |
| Maven library | org.hibernate:hibernate-validator | Fixed | 5.3.6.Final | GHSA-xxgp-pcfc-3vgc |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat, Inc. hibernate-validator: affected: 5.2.x before 5.2.5 final, 5.3.x, 5.4.x
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2017:2809 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:3817 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:2740 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2017:2810 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:2741 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:2742 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2017:2809
- https://access.redhat.com/errata/RHSA-2018:3817
- https://access.redhat.com/errata/RHSA-2018:2740
- https://access.redhat.com/errata/RHSA-2017:2810
- https://access.redhat.com/errata/RHSA-2018:2741
- http://www.securitytracker.com/id/1039744
- https://access.redhat.com/errata/RHSA-2018:2742
- https://access.redhat.com/errata/RHSA-2017:3458
- https://access.redhat.com/errata/RHSA-2017:2808
- http://www.securityfocus.com/bid/101048
- https://access.redhat.com/errata/RHSA-2017:3455
- https://access.redhat.com/errata/RHSA-2018:2927
- https://access.redhat.com/errata/RHSA-2017:3456
- https://access.redhat.com/errata/RHSA-2018:2743
- https://access.redhat.com/errata/RHSA-2017:3454
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.