pactflow/example-siren

CVE-2021-25122 (High) detected in tomcat-embed-core-9.0.38.jar

Opened this issue · 0 comments

CVE-2021-25122 - High Severity Vulnerability

Vulnerable Library - tomcat-embed-core-9.0.38.jar

Core Tomcat implementation

Path to dependency file: /provider/build.gradle

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

Dependency Hierarchy:

  • spring-boot-starter-hateoas-2.3.4.RELEASE.jar (Root Library)
    • spring-boot-starter-web-2.3.4.RELEASE.jar
      • spring-boot-starter-tomcat-2.3.4.RELEASE.jar
        • tomcat-embed-core-9.0.38.jar (Vulnerable Library)

Found in HEAD commit: abf5caaa6d058965a4210a43025377f4ad3732f6

Found in base branch: master

Vulnerability Details

When responding to new h2c connection requests, Apache Tomcat versions 10.0.0-M1 to 10.0.0, 9.0.0.M1 to 9.0.41 and 8.5.0 to 8.5.61 could duplicate request headers and a limited amount of request body from one request to another meaning user A and user B could both see the results of user A's request.

Publish Date: 2021-03-01

URL: CVE-2021-25122

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://lists.apache.org/thread.html/r7b95bc248603360501f18c8eb03bb6001ec0ee3296205b34b07105b7%40%3Cannounce.tomcat.apache.org%3E

Release Date: 2021-03-01

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

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-hateoas): 2.3.9.RELEASE


  • Check this box to open an automated fix PR