Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2018-15756 (High) detected in multiple libraries - autoclosed #339

Closed
mend-for-github.lhy31512.workers.dev bot opened this issue Nov 3, 2021 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-for-github.lhy31512.workers.dev
Copy link

mend-for-github.lhy31512.workers.dev bot commented Nov 3, 2021

CVE-2018-15756 - High Severity Vulnerability

Vulnerable Libraries - spring-web-4.3.7.RELEASE.jar, spring-web-5.1.0.RELEASE.jar, spring-web-4.3.13.RELEASE.jar, spring-web-5.0.4.RELEASE.jar, spring-web-5.0.0.RELEASE.jar

spring-web-4.3.7.RELEASE.jar

Spring Web

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

Path to dependency file: /dd-java-agent/instrumentation/http-url-connection/http-url-connection.gradle

Path to vulnerable library: /caches/modules-2/files-2.1/org.springframework/spring-web/4.3.7.RELEASE/7b69fc68cdb74c1c92f72905af6995696fcb56aa/spring-web-4.3.7.RELEASE.jar

Dependency Hierarchy:

  • spring-web-4.3.7.RELEASE.jar (Vulnerable Library)
spring-web-5.1.0.RELEASE.jar

Spring Web

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

Path to dependency file: /dd-java-agent/instrumentation/couchbase-2.6/couchbase-2.6.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/5.1.0.RELEASE/6118844ea0888f70a0df5fe6859558c76c2d32c2/spring-web-5.1.0.RELEASE.jar

Dependency Hierarchy:

  • spring-data-couchbase-3.1.0.RELEASE.jar (Root Library)
    • spring-web-5.1.0.RELEASE.jar (Vulnerable Library)
spring-web-4.3.13.RELEASE.jar

Spring Web

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

Path to dependency file: /dd-java-agent/appsec/weblog/weblog-spring-app/weblog-spring-app.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/4.3.13.RELEASE/7cd084992d546165ede3e99bc31ee49c937f0ce7/spring-web-4.3.13.RELEASE.jar

Dependency Hierarchy:

  • spring-boot-starter-security-1.5.9.RELEASE.jar (Root Library)
    • spring-security-web-4.2.3.RELEASE.jar
      • spring-web-4.3.13.RELEASE.jar (Vulnerable Library)
spring-web-5.0.4.RELEASE.jar

Spring Web

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

Path to dependency file: /dd-java-agent/instrumentation/spring-webflux-5/spring-webflux-5.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/5.0.4.RELEASE/9565bbc67bf1a850a6505deaa5103931712a7b80/spring-web-5.0.4.RELEASE.jar

Dependency Hierarchy:

  • spring-boot-starter-webflux-2.0.0.RELEASE.jar (Root Library)
    • spring-web-5.0.4.RELEASE.jar (Vulnerable Library)
spring-web-5.0.0.RELEASE.jar

Spring Web

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

Path to dependency file: /dd-java-agent/instrumentation/spring-rabbit/spring-rabbit.gradle

Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/5.0.0.RELEASE/f5c2d9d5668534c308a1ca4eda070cd01320af65/spring-web-5.0.0.RELEASE.jar,/home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.springframework/spring-web/5.0.0.RELEASE/f5c2d9d5668534c308a1ca4eda070cd01320af65/spring-web-5.0.0.RELEASE.jar

Dependency Hierarchy:

  • spring-rabbit-2.0.0.RELEASE.jar (Root Library)
    • spring-web-5.0.0.RELEASE.jar (Vulnerable Library)

Found in HEAD commit: 2819174635979a19573ec0ce8e3e2b63a3848079

Found in base branch: master

Vulnerability Details

Spring Framework, version 5.1, versions 5.0.x prior to 5.0.10, versions 4.3.x prior to 4.3.20, and older unsupported versions on the 4.2.x branch provide support for range requests when serving static resources through the ResourceHttpRequestHandler, or starting in 5.0 when an annotated controller returns an org.springframework.core.io.Resource. A malicious user (or attacker) can add a range header with a high number of ranges, or with wide ranges that overlap, or both, for a denial of service attack. This vulnerability affects applications that depend on either spring-webmvc or spring-webflux. Such applications must also have a registration for serving static resources (e.g. JS, CSS, images, and others), or have an annotated controller that returns an org.springframework.core.io.Resource. Spring Boot applications that depend on spring-boot-starter-web or spring-boot-starter-webflux are ready to serve static resources out of the box and are therefore vulnerable.

Publish Date: 2018-10-18

URL: CVE-2018-15756

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

Origin: https://pivotal.io/security/cve-2018-15756

Release Date: 2018-10-16

Fix Resolution (org.springframework:spring-web): 5.1.1.RELEASE

Direct dependency fix Resolution (org.springframework.data:spring-data-couchbase): 3.1.1.RELEASE

Fix Resolution (org.springframework:spring-web): 4.3.20.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-security): 1.5.10.RELEASE

Fix Resolution (org.springframework:spring-web): 5.0.10.RELEASE

Direct dependency fix Resolution (org.springframework.boot:spring-boot-starter-webflux): 2.0.6.RELEASE

Fix Resolution (org.springframework:spring-web): 5.0.10.RELEASE

Direct dependency fix Resolution (org.springframework.amqp:spring-rabbit): 2.1.0.RELEASE


⛑️ Automatic Remediation is available for this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants