amaybaum-local / remediate-test6

0 stars 1 forks source link

CVE-2022-22950 (Medium, reachable) detected in spring-expression-4.2.1.RELEASE.jar - autoclosed #39

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

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

CVE-2022-22950 - Medium Severity Vulnerability

Vulnerable Library - spring-expression-4.2.1.RELEASE.jar

Spring Expression Language (SpEL)

Library home page: https://github.com/spring-projects/spring-framework

Path to dependency file: /pom.xml

Path to vulnerable library: /Users/alexmaybaum/.m2/repository/org/springframework/spring-expression/4.2.1.RELEASE/spring-expression-4.2.1.RELEASE.jar

Dependency Hierarchy: - spring-web-4.2.1.RELEASE.jar (Root Library) - spring-context-4.2.1.RELEASE.jar - :x: **spring-expression-4.2.1.RELEASE.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.service.UserDetailsServiceImpl (Application) -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter$UserDetailsServiceDelegator (Extension) -> org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter (Extension) -> org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration (Extension) ... -> org.springframework.expression.spel.support.StandardEvaluationContext (Extension) -> org.springframework.expression.spel.support.StandardTypeConverter (Extension) -> ❌ org.springframework.expression.spel.SpelMessage (Vulnerable Component) ```

Vulnerability Details

n Spring Framework versions 5.3.0 - 5.3.16 and older unsupported versions, it is possible for a user to provide a specially crafted SpEL expression that may cause a denial of service condition.

Publish Date: 2022-04-02

URL: CVE-2022-22950

CVSS 3 Score Details (6.5)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2022-22950

Release Date: 2022-04-02

Fix Resolution (org.springframework:spring-expression): 5.2.20.RELEASE

Direct dependency fix Resolution (org.springframework:spring-web): 5.0.0.RELEASE


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

mend-local-app[bot] commented 7 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.