CVE-2024-38809

Description

A flaw was found in the Spring Web (org.springframework:spring-web) package. Due to improper ETag prefix validation when the application parses ETags from the If-Match or If-None-Match request headers, an attacker can trigger a denial of service by sending a maliciously crafted conditional HTTP request.

Statement

Moderate-impact denial-of-service vulnerability in Red Hat products that ship the affected Spring Web component. An unauthenticated remote attacker can send a maliciously crafted conditional HTTP request containing an If-Match or If-None-Match ETag header; improper ETag prefix validation can trigger a denial of service. The CVSS 3.1 score is 5.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L), reflecting remote network reachability and an availability-only impact. Current affects identify exposure in Red Hat AMQ (amq-7), Red Hat JBoss Fuse 7, Red Hat build of Apache Camel (selected streams), Red Hat build of OptaPlanner, and Red Hat Process Automation Manager, with other product streams under delegated assessment; delegated affected assessments are pursuing product-specific resolution. For Red Hat AMQ amq-7, the resolution is DEFER in the current record, which provides no more specific reason for deferral; the residual risk is the unauthenticated remote availability impact described above. Several current entries are not affected because the vulnerable code is not present, including Enterprise Application Platform 7.4/8/8.1, Enterprise Application Platform XP 5, Red Hat build of Apache Camel Camel K 1 and Spring Boot 3 streams, and Red Hat Single Sign-On 7. Some delegated entries are likewise recorded as not affected, so exposure differs by product stream.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.3N/A5.3
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredNoneN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/ANone
Integrity ImpactNoneN/ANone
Availability ImpactLowN/ALow

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Resource Consumption (CPU)

Attackers can create crafted inputs that intentionally cause the regular expression to use excessive backtracking in a way that causes the CPU consumption to spike.

Frequently Asked Questions

Want to get errata notifications? Sign up here.