Gal-Doron / spring-bot

Spring Boot + Java Integration for Symphony/Teams Chat Platform Bots and Apps
https://springbot.finos.org
Apache License 2.0
0 stars 0 forks source link

CVE-2022-22950 (Medium) detected in spring-expression-5.3.10.jar - autoclosed #19

Closed mend-for-github-com[bot] closed 2 years ago

mend-for-github-com[bot] commented 2 years ago

CVE-2022-22950 - Medium Severity Vulnerability

Vulnerable Library - spring-expression-5.3.10.jar

Spring Expression Language (SpEL)

Path to dependency file: /libs/teams/teams-chat-workflow-spring-boot-starter/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.3.10/spring-expression-5.3.10.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.3.10/spring-expression-5.3.10.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.3.10/spring-expression-5.3.10.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.3.10/spring-expression-5.3.10.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.3.10/spring-expression-5.3.10.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.3.10/spring-expression-5.3.10.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.3.10/spring-expression-5.3.10.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.3.10/spring-expression-5.3.10.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-expression/5.3.10/spring-expression-5.3.10.jar

Dependency Hierarchy: - spring-boot-starter-2.5.5.jar (Root Library) - spring-boot-2.5.5.jar - spring-context-5.3.10.jar - :x: **spring-expression-5.3.10.jar** (Vulnerable Library)

Found in HEAD commit: 6866b73f281ca08d15854ae18b17744dbad89a81

Found in base branch: spring-bot-master

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-01

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-01

Fix Resolution (org.springframework:spring-expression): 5.3.17

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter): 2.5.11


:rescue_worker_helmet: Automatic Remediation is available for this issue

mend-for-github-com[bot] commented 2 years 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.