CVE-2024-38828
Description
A flaw was found in the Spring Framework. In certain versions, Spring MVC controller methods with a @RequestBody byte[] method parameter are vulnerable to a denial of service attack.
Statement
Moderate impact: Red Hat products using the affected Spring MVC component can be exposed to a network-reachable, low-complexity denial-of-service attack without authentication or user interaction when a controller method accepts a request body through an @RequestBody byte[] parameter. The consequence is limited to availability (CVSS 3.1: 5.3, AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L), matching both the Red Hat and CVE.org assessments. Across the 18 current Red Hat affects, 11 are marked AFFECTED, 2 are NEW/OOSS, and 5 are NOTAFFECTED; the affected or newly tracked scope includes Red Hat AMQ, Enterprise Application Platform, Red Hat Build of Keycloak, Red Hat build of Apache Camel, Red Hat build of OptaPlanner, Red Hat Process Automation Manager, Red Hat Single Sign-On, Red Hat JBoss Fuse, and JBoss Data Grid. Streams marked NOTAFFECTED, including entries for JBoss Data Grid, Red Hat build of Apache Camel, and cloud.redhat.com, do not contain the vulnerable code where that justification is recorded. AMQ and OptaPlanner streams are DEFERRED because the upstream remediation is available only through Enterprise Support; residual risk remains an availability-only denial of service. For delegated streams recorded as affected, remediation is being pursued through delegated resolution; delegated streams marked NOTAFFECTED require no fix, while delegated WONTFIX streams retain the same residual denial-of-service risk.
Mitigation
For older unsupported versions, an application can replace an affected controller method's @RequestBody byte[] parameter with an InputStream parameter to access the request body, where compatible with the application. Otherwise, upgrade to the corresponding vendor-provided fixed build.
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).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.3 | N/A | 5.3 |
| Attack Vector | Network | N/A | Network |
| Attack Complexity | Low | N/A | Low |
| Privileges Required | None | N/A | None |
| User Interaction | None | N/A | None |
| Scope | Unchanged | N/A | Unchanged |
| Confidentiality | None | N/A | None |
| Integrity Impact | None | N/A | None |
| Availability Impact | Low | N/A | Low |
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: Crash, Exit, or Restart; DoS: Resource Consumption (CPU); DoS: Resource Consumption (Memory)
An attacker could provide unexpected values and cause a program crash or arbitrary control of resource allocation, leading to excessive consumption of resources such as memory and CPU.
Confidentiality
Technical Impact: Read Memory; Read Files or Directories
An attacker could read confidential data if they are able to control resource references.
Integrity,Confidentiality,Availability
Technical Impact: Modify Memory; Execute Unauthorized Code or Commands
An attacker could use malicious input to modify data or possibly alter control flow in unexpected ways, including arbitrary command execution.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.