amaybaum-local / remediate-test6

0 stars 1 forks source link

CVE-2020-10693 (Medium, reachable) detected in hibernate-validator-5.2.1.Final.jar - autoclosed #48

Closed mend-local-app[bot] closed 6 months ago

mend-local-app[bot] commented 6 months ago

CVE-2020-10693 - Medium Severity Vulnerability

Vulnerable Library - hibernate-validator-5.2.1.Final.jar

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.messageinterpolation.ResourceBundleMessageInterpolator (Extension) ... -> org.hibernate.validator.internal.engine.messageinterpolation.parser.TokenCollector (Extension) -> org.hibernate.validator.internal.engine.messageinterpolation.parser.BeginState (Extension) -> ❌ org.hibernate.validator.internal.engine.messageinterpolation.parser.MessageState (Vulnerable Component) ```

Vulnerability Details

A flaw was found in Hibernate Validator version 6.1.2.Final. A bug in the message interpolation processor enables invalid EL expressions to be evaluated as if they were valid. This flaw allows attackers to bypass input sanitation (escaping, stripping) controls that developers may have put in place when handling user-controlled data in error messages.

Publish Date: 2020-05-06

URL: CVE-2020-10693

CVSS 3 Score Details (5.3)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://hibernate.atlassian.net/browse/HV-1758

Release Date: 2020-05-06

Fix Resolution: org.hibernate.validator:hibernate-validator:6.0.19.Final,org.hibernate.validator:hibernate-validator:6.1.3.Final,org.hibernate.validator:hibernate-validator:7.0.0.Alpha1


:rescue_worker_helmet: Automatic Remediation will be attempted for this issue.

mend-local-app[bot] commented 6 months ago

: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.