ghuangsnl / spring-boot

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

CVE-2022-40152 (High) detected in woodstox-core-6.2.1.jar, woodstox-core-5.0.3.jar #173

Open mend-bolt-for-github[bot] opened 2 years ago

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

CVE-2022-40152 - High Severity Vulnerability

Vulnerable Libraries - woodstox-core-6.2.1.jar, woodstox-core-5.0.3.jar

woodstox-core-6.2.1.jar

Woodstox is a high-performance XML processor that implements Stax (JSR-173), SAX2 and Stax2 APIs

Library home page: https://github.com/FasterXML/woodstox

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

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.fasterxml.woodstox/woodstox-core/6.2.1/1600925b1ec7c7a3403c8f068ad62feead13132f/woodstox-core-6.2.1.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.fasterxml.woodstox/woodstox-core/6.2.1/1600925b1ec7c7a3403c8f068ad62feead13132f/woodstox-core-6.2.1.jar

Dependency Hierarchy: - jackson-dataformat-xml-2.11.1.jar (Root Library) - :x: **woodstox-core-6.2.1.jar** (Vulnerable Library)

woodstox-core-5.0.3.jar

Woodstox is a high-performance XML processor that implements Stax (JSR-173), SAX2 and Stax2 APIs

Library home page: https://github.com/FasterXML/woodstox

Path to dependency file: /spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-saml2-service-provider/build.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.fasterxml.woodstox/woodstox-core/5.0.3/10aa199207fda142eff01cd61c69244877d71770/woodstox-core-5.0.3.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/com.fasterxml.woodstox/woodstox-core/5.0.3/10aa199207fda142eff01cd61c69244877d71770/woodstox-core-5.0.3.jar

Dependency Hierarchy: - spring-security-saml2-service-provider-5.4.0-M1.jar (Root Library) - opensaml-saml-api-3.4.5.jar - opensaml-xmlsec-api-3.4.5.jar - opensaml-security-api-3.4.5.jar - xmlsec-2.0.10.jar - :x: **woodstox-core-5.0.3.jar** (Vulnerable Library)

Found in HEAD commit: 275c27d9dd5c88d8db426ebfb734d89d3f8e7412

Found in base branch: master

Vulnerability Details

Those using Woodstox to parse XML data may be vulnerable to Denial of Service attacks (DOS) if DTD support is enabled. If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of service attack.

Publish Date: 2022-09-16

URL: CVE-2022-40152

CVSS 3 Score Details (7.5)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2022-09-16

Fix Resolution (com.fasterxml.woodstox:woodstox-core): 6.4.0

Direct dependency fix Resolution (com.fasterxml.jackson.dataformat:jackson-dataformat-xml): 2.11.3

Fix Resolution (com.fasterxml.woodstox:woodstox-core): 6.4.0

Direct dependency fix Resolution (org.springframework.security:spring-security-saml2-service-provider): 5.4.0


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[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.

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

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.