ioana-nicolae / keycloak

Open Source Identity and Access Management For Modern Applications and Services
https://www.keycloak.org
Apache License 2.0
0 stars 0 forks source link

CVE-2018-15756 (High) detected in spring-web-4.3.19.RELEASE.jar, spring-web-5.0.9.RELEASE.jar #44

Open mend-for-github-com[bot] opened 3 years ago

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

CVE-2018-15756 - High Severity Vulnerability

Vulnerable Libraries - spring-web-4.3.19.RELEASE.jar, spring-web-5.0.9.RELEASE.jar

spring-web-4.3.19.RELEASE.jar

Spring Web

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

Path to dependency file: /adapters/oidc/spring-boot/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/4.3.19.RELEASE/spring-web-4.3.19.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-web/4.3.19.RELEASE/spring-web-4.3.19.RELEASE.jar

Dependency Hierarchy: - spring-boot-starter-web-1.5.16.RELEASE.jar (Root Library) - :x: **spring-web-4.3.19.RELEASE.jar** (Vulnerable Library)

spring-web-5.0.9.RELEASE.jar

Spring Web

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

Path to dependency file: /adapters/oidc/spring-boot2/pom.xml

Path to vulnerable library: /home/wss-scanner/.m2/repository/org/springframework/spring-web/5.0.9.RELEASE/spring-web-5.0.9.RELEASE.jar,/home/wss-scanner/.m2/repository/org/springframework/spring-web/5.0.9.RELEASE/spring-web-5.0.9.RELEASE.jar

Dependency Hierarchy: - spring-boot-starter-web-2.0.5.RELEASE.jar (Root Library) - :x: **spring-web-5.0.9.RELEASE.jar** (Vulnerable Library)

Found in HEAD commit: 34eee947640ca637662cb41e649c6acf8b6d8c2e

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-18

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

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

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

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


:rescue_worker_helmet: Automatic Remediation is available for this issue

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

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

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

:heavy_check_mark: This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

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

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