KDWSS / dd-trace-java

Datadog APM client for Java
https://docs.datadoghq.com/tracing/languages/java
Apache License 2.0
0 stars 0 forks source link

CVE-2022-23181 (High) detected in multiple libraries - autoclosed #488

Closed mend-for-github-com[bot] closed 1 year ago

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

CVE-2022-23181 - High Severity Vulnerability

Vulnerable Libraries - tomcat-embed-core-9.0.50.jar, tomcat-embed-core-9.0.54.jar, tomcat-embed-core-10.0.8.jar, tomcat-embed-core-10.0.12.jar, tomcat-embed-core-9.0.39.jar, tomcat-embed-core-9.0.52.jar, tomcat-embed-core-9.0.41.jar, tomcat-catalina-10.0.12.jar

tomcat-embed-core-9.0.50.jar

Core Tomcat implementation

Library home page: https://tomcat.apache.org/

Path to dependency file: /dd-java-agent/instrumentation/servlet/request-3/request-3.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/9.0.50/14307c487516ab3526213a1205c5243b0c484e8d/tomcat-embed-core-9.0.50.jar,/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/9.0.50/14307c487516ab3526213a1205c5243b0c484e8d/tomcat-embed-core-9.0.50.jar

Dependency Hierarchy: - :x: **tomcat-embed-core-9.0.50.jar** (Vulnerable Library)

tomcat-embed-core-9.0.54.jar

Core Tomcat implementation

Library home page: https://tomcat.apache.org/

Path to dependency file: /dd-java-agent/instrumentation/jsp-2.3/jsp-2.3.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/9.0.54/34322c731b2394ea13681cfae0be9cd72f46f88d/tomcat-embed-core-9.0.54.jar,/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/9.0.54/34322c731b2394ea13681cfae0be9cd72f46f88d/tomcat-embed-core-9.0.54.jar

Dependency Hierarchy: - :x: **tomcat-embed-core-9.0.54.jar** (Vulnerable Library)

tomcat-embed-core-10.0.8.jar

Core Tomcat implementation

Library home page: https://tomcat.apache.org/

Path to dependency file: /dd-java-agent/instrumentation/java-concurrent/lambda-testing/lambda-testing.gradle

Path to vulnerable library: /caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/10.0.8/c9e763b6530a07f709a932a003ae131af718b50e/tomcat-embed-core-10.0.8.jar

Dependency Hierarchy: - :x: **tomcat-embed-core-10.0.8.jar** (Vulnerable Library)

tomcat-embed-core-10.0.12.jar

Core Tomcat implementation

Library home page: https://tomcat.apache.org/

Path to dependency file: /dd-java-agent/instrumentation/tomcat-5.5/tomcat-5.5.gradle

Path to vulnerable library: /caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/10.0.12/d9dfe7ace68f92b3d95fcc7ce340708a63cbeb14/tomcat-embed-core-10.0.12.jar

Dependency Hierarchy: - :x: **tomcat-embed-core-10.0.12.jar** (Vulnerable Library)

tomcat-embed-core-9.0.39.jar

Core Tomcat implementation

Library home page: https://tomcat.apache.org/

Path to dependency file: /dd-java-agent/instrumentation/spring-cloud-zuul-2/spring-cloud-zuul-2.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/9.0.39/d82e926b31f06e96fccf552e41f1b8b1615d96dc/tomcat-embed-core-9.0.39.jar

Dependency Hierarchy: - spring-boot-starter-web-2.3.5.RELEASE.jar (Root Library) - spring-boot-starter-tomcat-2.3.5.RELEASE.jar - :x: **tomcat-embed-core-9.0.39.jar** (Vulnerable Library)

tomcat-embed-core-9.0.52.jar

Core Tomcat implementation

Library home page: https://tomcat.apache.org/

Path to dependency file: /dd-smoke-tests/spring-boot-rabbit/spring-boot-rabbit.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/9.0.52/501d876042f7bff64ee42cf1849e4abea272632/tomcat-embed-core-9.0.52.jar

Dependency Hierarchy: - spring-boot-starter-web-2.5.4.jar (Root Library) - spring-boot-starter-tomcat-2.5.4.jar - :x: **tomcat-embed-core-9.0.52.jar** (Vulnerable Library)

tomcat-embed-core-9.0.41.jar

Core Tomcat implementation

Library home page: https://tomcat.apache.org/

Path to dependency file: /dd-smoke-tests/springboot-mongo/springboot-mongo.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.tomcat.embed/tomcat-embed-core/9.0.41/a43e9711e85073187d04b137882b4b7957180ef0/tomcat-embed-core-9.0.41.jar

Dependency Hierarchy: - spring-boot-starter-web-2.4.1.jar (Root Library) - spring-boot-starter-tomcat-2.4.1.jar - :x: **tomcat-embed-core-9.0.41.jar** (Vulnerable Library)

tomcat-catalina-10.0.12.jar

Tomcat Servlet Engine Core Classes and Standard implementations

Library home page: https://tomcat.apache.org/

Path to dependency file: /dd-java-agent/instrumentation/classloading/tomcat-testing/tomcat-testing.gradle

Path to vulnerable library: /caches/modules-2/files-2.1/org.apache.tomcat/tomcat-catalina/10.0.12/1e8bf6ba47132e9076286a79cf6ef9bd4b8a2737/tomcat-catalina-10.0.12.jar

Dependency Hierarchy: - :x: **tomcat-catalina-10.0.12.jar** (Vulnerable Library)

Found in HEAD commit: 2819174635979a19573ec0ce8e3e2b63a3848079

Found in base branch: master

Vulnerability Details

The fix for bug CVE-2020-9484 introduced a time of check, time of use vulnerability into Apache Tomcat 10.1.0-M1 to 10.1.0-M8, 10.0.0-M5 to 10.0.14, 9.0.35 to 9.0.56 and 8.5.55 to 8.5.73 that allowed a local attacker to perform actions with the privileges of the user that the Tomcat process is using. This issue is only exploitable when Tomcat is configured to persist sessions using the FileStore.

Publish Date: 2022-01-27

URL: CVE-2022-23181

CVSS 3 Score Details (7.0)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: High - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://lists.apache.org/thread/l8x62p3k19yfcb208jo4zrb83k5mfwg9

Release Date: 2022-01-27

Fix Resolution (org.apache.tomcat.embed:tomcat-embed-core): 9.0.58

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

Fix Resolution (org.apache.tomcat.embed:tomcat-embed-core): 9.0.58

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

Fix Resolution (org.apache.tomcat.embed:tomcat-embed-core): 9.0.58

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


:rescue_worker_helmet: Automatic Remediation is available for this issue

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