snowdensb / spring-boot

Spring Boot
https://spring.io/projects/spring-boot
Apache License 2.0
0 stars 0 forks source link

CVE-2021-22096 (Medium) detected in multiple libraries - autoclosed #155

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

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

CVE-2021-22096 - Medium Severity Vulnerability

Vulnerable Libraries - spring-core-5.2.3.RELEASE.jar, spring-core-5.2.2.RELEASE.jar, spring-webmvc-5.3.9.jar, spring-core-5.3.9.jar, spring-web-5.3.9.jar, spring-web-5.2.2.RELEASE.jar, spring-webflux-5.3.9.jar, spring-web-5.2.3.RELEASE.jar

spring-core-5.2.3.RELEASE.jar

Spring Core

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

Path to dependency file: /ci/images/releasescripts/pom.xml

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

Dependency Hierarchy: - spring-boot-starter-2.2.4.RELEASE.jar (Root Library) - :x: **spring-core-5.2.3.RELEASE.jar** (Vulnerable Library)

spring-core-5.2.2.RELEASE.jar

Spring Core

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

Path to dependency file: /buildSrc/build.gradle

Path to vulnerable library: /le/caches/modules-2/files-2.1/org.springframework/spring-core/5.2.2.RELEASE/bfcf2f6d0494d89db63ae170b8491223c93a88dc/spring-core-5.2.2.RELEASE.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.2.2.RELEASE/bfcf2f6d0494d89db63ae170b8491223c93a88dc/spring-core-5.2.2.RELEASE.jar

Dependency Hierarchy: - :x: **spring-core-5.2.2.RELEASE.jar** (Vulnerable Library)

spring-webmvc-5.3.9.jar

Spring Web MVC

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

Path to dependency file: /spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-custom-security/build.gradle

Path to vulnerable library: /le/caches/modules-2/files-2.1/org.springframework/spring-webmvc/5.3.9/c3cd1f0bba2658995e887d2f0011ab9bd3da1773/spring-webmvc-5.3.9.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-webmvc/5.3.9/c3cd1f0bba2658995e887d2f0011ab9bd3da1773/spring-webmvc-5.3.9.jar

Dependency Hierarchy: - :x: **spring-webmvc-5.3.9.jar** (Vulnerable Library)

spring-core-5.3.9.jar

Spring Core

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

Path to dependency file: /spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-custom-security/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-core/5.3.9/cfef19d1dfa41d56f8de66238dc015334997d573/spring-core-5.3.9.jar,/le/caches/modules-2/files-2.1/org.springframework/spring-core/5.3.9/cfef19d1dfa41d56f8de66238dc015334997d573/spring-core-5.3.9.jar

Dependency Hierarchy: - :x: **spring-core-5.3.9.jar** (Vulnerable Library)

spring-web-5.3.9.jar

Spring Web

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

Path to dependency file: /spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-custom-security/build.gradle

Path to vulnerable library: /le/caches/modules-2/files-2.1/org.springframework/spring-web/5.3.9/88c920ec1bda67fea04daa8e16165777440df473/spring-web-5.3.9.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/5.3.9/88c920ec1bda67fea04daa8e16165777440df473/spring-web-5.3.9.jar

Dependency Hierarchy: - :x: **spring-web-5.3.9.jar** (Vulnerable Library)

spring-web-5.2.2.RELEASE.jar

Spring Web

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

Path to dependency file: /buildSrc/build.gradle

Path to vulnerable library: /le/caches/modules-2/files-2.1/org.springframework/spring-web/5.2.2.RELEASE/d9b0a8079b7d604f134e3054127a7aeba65949a5/spring-web-5.2.2.RELEASE.jar

Dependency Hierarchy: - :x: **spring-web-5.2.2.RELEASE.jar** (Vulnerable Library)

spring-webflux-5.3.9.jar

Spring WebFlux

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

Path to dependency file: /spring-boot-project/spring-boot-test-autoconfigure/build.gradle

Path to vulnerable library: /le/caches/modules-2/files-2.1/org.springframework/spring-webflux/5.3.9/8a8b3ba9358800c6c3e2a4ec60da9644e8495844/spring-webflux-5.3.9.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-webflux/5.3.9/8a8b3ba9358800c6c3e2a4ec60da9644e8495844/spring-webflux-5.3.9.jar

Dependency Hierarchy: - :x: **spring-webflux-5.3.9.jar** (Vulnerable Library)

spring-web-5.2.3.RELEASE.jar

Spring Web

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

Path to dependency file: /ci/images/releasescripts/pom.xml

Path to vulnerable library: /epository/org/springframework/spring-web/5.2.3.RELEASE/spring-web-5.2.3.RELEASE.jar

Dependency Hierarchy: - :x: **spring-web-5.2.3.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: 96bf11bc40d74390348d616c7aec532c049fc253

Found in base branch: main

Vulnerability Details

In Spring Framework versions 5.3.0 - 5.3.10, 5.2.0 - 5.2.17, and older unsupported versions, it is possible for a user to provide malicious input to cause the insertion of additional log entries.

Publish Date: 2021-10-28

URL: CVE-2021-22096

CVSS 3 Score Details (4.3)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://tanzu.vmware.com/security/cve-2021-22096

Release Date: 2021-10-28

Fix Resolution (org.springframework:spring-core): 5.2.18.RELEASE

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


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

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