renfei / WinterEE

基于SpringCloud的微服务开发脚手架,包含用户管理、角色管理、组织机构管理、权限管理、CMS内容管理。
https://winteree.renfei.net
Apache License 2.0
4 stars 1 forks source link

CVE-2020-5408 (Medium) detected in spring-security-core-5.2.2.RELEASE.jar, spring-security-crypto-5.2.2.RELEASE.jar - autoclosed #156

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

mend-bolt-for-github[bot] commented 3 years ago

CVE-2020-5408 - Medium Severity Vulnerability

Vulnerable Libraries - spring-security-core-5.2.2.RELEASE.jar, spring-security-crypto-5.2.2.RELEASE.jar

spring-security-core-5.2.2.RELEASE.jar

spring-security-core

Library home page: http://spring.io/spring-security

Path to dependency file: WinterEE/WinterEE-Gateway-Serve/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.2.2.RELEASE/spring-security-core-5.2.2.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.2.2.RELEASE/spring-security-core-5.2.2.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.2.2.RELEASE/spring-security-core-5.2.2.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-core/5.2.2.RELEASE/spring-security-core-5.2.2.RELEASE.jar

Dependency Hierarchy: - spring-cloud-starter-oauth2-2.2.1.RELEASE.jar (Root Library) - spring-security-oauth2-autoconfigure-2.1.2.RELEASE.jar - spring-security-oauth2-2.3.4.RELEASE.jar - :x: **spring-security-core-5.2.2.RELEASE.jar** (Vulnerable Library)

spring-security-crypto-5.2.2.RELEASE.jar

spring-security-crypto

Library home page: http://spring.io/spring-security

Path to dependency file: WinterEE/WinterEE-Eureka-Serve/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/security/spring-security-crypto/5.2.2.RELEASE/spring-security-crypto-5.2.2.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-crypto/5.2.2.RELEASE/spring-security-crypto-5.2.2.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-crypto/5.2.2.RELEASE/spring-security-crypto-5.2.2.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-crypto/5.2.2.RELEASE/spring-security-crypto-5.2.2.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-crypto/5.2.2.RELEASE/spring-security-crypto-5.2.2.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-crypto/5.2.2.RELEASE/spring-security-crypto-5.2.2.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/security/spring-security-crypto/5.2.2.RELEASE/spring-security-crypto-5.2.2.RELEASE.jar

Dependency Hierarchy: - spring-cloud-starter-openfeign-2.2.2.RELEASE.jar (Root Library) - spring-cloud-commons-2.2.2.RELEASE.jar - :x: **spring-security-crypto-5.2.2.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: 9d57f3481f4a0f678edb6631b7924d697b67b48b

Found in base branch: master

Vulnerability Details

Spring Security versions 5.3.x prior to 5.3.2, 5.2.x prior to 5.2.4, 5.1.x prior to 5.1.10, 5.0.x prior to 5.0.16 and 4.2.x prior to 4.2.16 use a fixed null initialization vector with CBC Mode in the implementation of the queryable text encryptor. A malicious user with access to the data that has been encrypted using such an encryptor may be able to derive the unencrypted values using a dictionary attack.

Publish Date: 2020-05-14

URL: CVE-2020-5408

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: High - Integrity Impact: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-5408

Release Date: 2020-05-14

Fix Resolution: org.springframework.security:spring-security-crypto:4.2.16,5.0.16,5.1.10,5.2.4,5.3.2,org.springframework.security:spring-security-core:4.2.16,5.0.16,5.1.10,5.2.4,5.3.2


Step up your Open Source Security Game with WhiteSource here

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