cve.bz

CVE-2024-38828 spring spring: Uncontrolled Resource Consumption

5.3 mediumEPSS 0.7%Fix available

Medium (5.3) in spring spring. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework:spring-webmvc 5.3.42.

On this page
Spring MVC controller methods with an @RequestBody byte[] method parameter are vulnerable to a DoS attack.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.7% (unchanged from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 55th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-11-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • org.springframework:spring-webmvc (Maven): fixed in 5.3.42

Ask an AI about this CVE

Show the promptExplain CVE-2024-38828 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-38828?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-38828?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-38828 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Springfrom 5.3.x before 5.3.42

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w3c8-7r8f-9jp8Mavenorg.springframework:spring-webmvc>=5.3.0 <5.3.425.3.42

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libspring-javano fix listedDEBIAN-CVE-2024-38828
Ubuntu25.10, 26.04:LTS, 26.10 and 6 morelibspring-javano fix listedUBUNTU-CVE-2024-38828

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's 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.

Red Hat's 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.

ProductPackageStateAdvisory
Red Hat AMQ Broker 7spring-webmvcFix deferred
Red Hat build of Apache Camel for Spring Boot 4spring-webmvcNot affected
Red Hat build of Apache Camel - HawtIO 4spring-webmvcNot affected
Red Hat Build of Keycloakspring-webmvcFix deferred
Red Hat build of OptaPlanner 8spring-webmvcFix deferred
Red Hat Data Grid 8spring-webmvcNot affected
Red Hat Fuse 7spring-webmvcOut of support scope
Red Hat Integration Camel K 1spring-webmvcFix deferred
Red Hat JBoss Data Grid 7spring-webmvcOut of support scope
Red Hat JBoss Enterprise Application Platform 7spring-webmvcNot affected
Red Hat JBoss Enterprise Application Platform 8spring-webmvcNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packspring-webmvcNot affected
Red Hat Process Automation 7spring-webmvcWill not fix
Red Hat Single Sign-On 7spring-webmvcWill not fix
streams for Apache Kafkaspring-webmvcFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-38828.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON