KaterinaOrg / WebGoat

WebGoat is a deliberately insecure application
https://webgoat.github.io/WebGoat/
Other
0 stars 1 forks source link

CVE-2023-20863 (Medium) detected in spring-expression-5.3.4.jar #136

Open mend-for-github-com[bot] opened 1 year ago

mend-for-github-com[bot] commented 1 year ago

CVE-2023-20863 - Medium Severity Vulnerability

Vulnerable Library - spring-expression-5.3.4.jar

Spring Expression Language (SpEL)

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

Path to dependency file: /webgoat-lessons/chrome-dev-tools/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-web-2.4.3.jar (Root Library) - spring-boot-starter-2.4.3.jar - spring-boot-2.4.3.jar - spring-context-5.3.4.jar - :x: **spring-expression-5.3.4.jar** (Vulnerable Library)

Found in HEAD commit: f18e43fbc2d56c28b38b6d440d202f7327efd240

Found in base branch: develop

Vulnerability Details

In spring framework versions prior to 5.2.24 release+ ,5.3.27+ and 6.0.8+ , it is possible for a user to provide a specially crafted SpEL expression that may cause a denial-of-service (DoS) condition.

Publish Date: 2023-04-13

URL: CVE-2023-20863

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://spring.io/security/cve-2023-20863

Release Date: 2023-04-13

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

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