finos / spring-bot

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

CVE-2020-5397 (Medium) detected in spring-webmvc-5.2.0.RELEASE.jar, spring-web-5.2.0.RELEASE.jar - autoclosed #95

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

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

CVE-2020-5397 - Medium Severity Vulnerability

Vulnerable Libraries - spring-webmvc-5.2.0.RELEASE.jar, spring-web-5.2.0.RELEASE.jar

spring-webmvc-5.2.0.RELEASE.jar

Spring Web MVC

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

Path to dependency file: symphony-java-toolkit/chat-workflow/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-webmvc/5.2.0.RELEASE/spring-webmvc-5.2.0.RELEASE.jar

Dependency Hierarchy: - spring-boot-starter-web-2.2.0.RELEASE.jar (Root Library) - :x: **spring-webmvc-5.2.0.RELEASE.jar** (Vulnerable Library)

spring-web-5.2.0.RELEASE.jar

Spring Web

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

Path to dependency file: symphony-java-toolkit/chat-workflow/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/5.2.0.RELEASE/spring-web-5.2.0.RELEASE.jar

Dependency Hierarchy: - spring-boot-starter-web-2.2.0.RELEASE.jar (Root Library) - :x: **spring-web-5.2.0.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: f32fd2e720d7d011e3833b871933618887b1fd06

Found in base branch: master

Vulnerability Details

Spring Framework, versions 5.2.x prior to 5.2.3 are vulnerable to CSRF attacks through CORS preflight requests that target Spring MVC (spring-webmvc module) or Spring WebFlux (spring-webflux module) endpoints. Only non-authenticated endpoints are vulnerable because preflight requests should not include credentials and therefore requests should fail authentication. However a notable exception to this are Chrome based browsers when using client certificates for authentication since Chrome sends TLS client certificates in CORS preflight requests in violation of spec requirements. No HTTP body can be sent or received as a result of this attack.

Publish Date: 2020-01-17

URL: CVE-2020-5397

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://pivotal.io/security/cve-2020-5397

Release Date: 2020-01-17

Fix Resolution: 5.2.3

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

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.