This vulnerability is potentially used
```
com.visualpathit.account.validator.UserValidator (Application)
-> org.springframework.validation.beanvalidation.LocalValidatorFactoryBean (Extension)
-> org.springframework.validation.beanvalidation.LocalValidatorFactoryBean$HibernateValidatorDelegate (Extension)
-> org.hibernate.validator.internal.metadata.core.ConstraintHelper (Extension)
...
-> org.hibernate.validator.HibernateValidator (Extension)
-> org.hibernate.validator.internal.engine.ValidatorFactoryImpl (Extension)
-> ❌ org.hibernate.validator.internal.engine.ValidatorImpl (Vulnerable Component)
```
Vulnerability Details
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().
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
CVE-2017-7536 - High Severity Vulnerability
Hibernate's Bean Validation (JSR-303) reference implementation.
Library home page: http://hibernate.org/validator
Path to dependency file: /pom.xml
Path to vulnerable library: /Users/alexmaybaum/.m2/repository/org/hibernate/hibernate-validator/5.2.1.Final/hibernate-validator-5.2.1.Final.jar
Dependency Hierarchy: - :x: **hibernate-validator-5.2.1.Final.jar** (Vulnerable Library)
Found in HEAD commit: 9c6901108cf0138889fa46846fabfcb78828d070
Found in base branch: vp-rem
Reachability Analysis(Reachable)
This vulnerability is potentially used ``` com.visualpathit.account.validator.UserValidator (Application) -> org.springframework.validation.beanvalidation.LocalValidatorFactoryBean (Extension) -> org.springframework.validation.beanvalidation.LocalValidatorFactoryBean$HibernateValidatorDelegate (Extension) -> org.hibernate.validator.internal.metadata.core.ConstraintHelper (Extension) ... -> org.hibernate.validator.HibernateValidator (Extension) -> org.hibernate.validator.internal.engine.ValidatorFactoryImpl (Extension) -> ❌ org.hibernate.validator.internal.engine.ValidatorImpl (Vulnerable Component) ```
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().
Publish Date: 2018-01-10
URL: CVE-2017-7536
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: High - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High
For more information on CVSS3 Scores, click here.Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7536
Release Date: 2018-01-10
Fix Resolution: 4.3.4.Final,5.3.6.Final,5.4.2.Final
:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.