cve.bz

CVE-2024-38808

4.3 mediumEPSS 0.6%Fix available

Medium (4.3). EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework:spring-expression 5.3.39.

On this page
In Spring Framework versions 5.3.0 - 5.3.38 and older unsupported versions, it is possible for a user to provide a specially crafted Spring Expression Language (SpEL) expression that may cause a denial of service (DoS) condition. Specifically, an application is vulnerable when the following is true: * The application evaluates user-supplied SpEL expressions.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 48th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-08-20. 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-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-38808 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-38808?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-38808?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-38808 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
Spring Frameworkfrom 5.3.0 before 5.3.39, 6.0+

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9cmq-m9j5-mvwwMavenorg.springframework:spring-expression<5.3.395.3.39

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libspring-javano fix listedDEBIAN-CVE-2024-38808
Ubuntu25.10, 26.04:LTS, 26.10 and 6 morelibspring-javano fix listedUBUNTU-CVE-2024-38808
Red Hatocp_tools:4.12::el8jenkins0:2.462.3.1730119132-3.el8RHSA-2024:8886
Red Hatocp_tools:4.12::el8jenkins-2-plugins0:4.12.1730119231-1.el8RHSA-2024:8886
Red Hatocp_tools:4.13::el8jenkins0:2.462.3.1729839924-3.el8RHSA-2024:8887
Red Hatocp_tools:4.13::el8jenkins-2-plugins0:4.13.1729840148-1.el8RHSA-2024:8887
Red Hatocp_tools:4.14::el8jenkins0:2.462.3.1729839727-3.el8RHSA-2024:8885
Red Hatocp_tools:4.14::el8jenkins-2-plugins0:4.14.1729839844-1.el8RHSA-2024:8885
Red Hatocp_tools:4.15::el8jenkins0:2.462.3.1729837947-3.el8RHSA-2024:8884
Red Hatocp_tools:4.15::el8jenkins-2-plugins0:4.15.1729838165-1.el8RHSA-2024:8884

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

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Moderate impact: CVE-2024-38808 affects certain Red Hat products containing the spring-expression component when an application evaluates user-supplied Spring Expression Language (SpEL) expressions. A maliciously crafted expression can cause uncontrolled CPU usage and denial of service. Red Hat's CVSS is 5.9 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H), while CVE.org rates it 4.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L); the difference reflects Red Hat's assessment of high attack complexity and no required user interaction versus CVE.org's low complexity, required user interaction, and lower availability impact. The current affects data marks 18 product streams affected, 2 new, and 20 not affected. Affected scope includes Red Hat JBoss Fuse, OpenShift Developer Tools & Services, OpenShift Container Platform, Red Hat Build of Quarkus, Red Hat build of Apache Camel, Red Hat build of OptaPlanner, Red Hat Process Automation Manager, and cloud.redhat.com; Red Hat Enterprise Virtualization has a new entry. Red Hat AMQ, Enterprise Application Platform, JBoss Data Grid, Red Hat Build of Keycloak, Red Hat Single Sign-On, and some Red Hat build of Apache Camel streams are marked not affected; where recorded, the reason is that the vulnerable code is not present. Affected streams marked DELEGATED are handled through delegated product workflows; entries with delegated resolution AFFECTED remain subject to remediation through that workflow, while other delegated entries are explicitly marked DEFER, NOTAFFECTED, or WONTFIX. The cloud.redhat.com stream marked DEFER has no deferral reason recorded; residual risk remains denial of service wherever user-supplied SpEL is evaluated.

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

ProductPackageStateAdvisory
OCP-Tools-4.12-RHEL-8jenkins-0:2.462.3.1730119132-3.el8Fixed 2024-11-05RHSA-2024:8886
OCP-Tools-4.12-RHEL-8jenkins-2-plugins-0:4.12.1730119231-1.el8Fixed 2024-11-05RHSA-2024:8886
OCP-Tools-4.13-RHEL-8jenkins-0:2.462.3.1729839924-3.el8Fixed 2024-11-05RHSA-2024:8887
OCP-Tools-4.13-RHEL-8jenkins-2-plugins-0:4.13.1729840148-1.el8Fixed 2024-11-05RHSA-2024:8887
OCP-Tools-4.14-RHEL-8jenkins-0:2.462.3.1729839727-3.el8Fixed 2024-11-05RHSA-2024:8885
OCP-Tools-4.14-RHEL-8jenkins-2-plugins-0:4.14.1729839844-1.el8Fixed 2024-11-05RHSA-2024:8885
OCP-Tools-4.15-RHEL-8jenkins-0:2.462.3.1729837947-3.el8Fixed 2024-11-05RHSA-2024:8884
OCP-Tools-4.15-RHEL-8jenkins-2-plugins-0:4.15.1729838165-1.el8Fixed 2024-11-05RHSA-2024:8884
Red Hat build of Apache Camel 4.4.2 for Spring Bootspring-expressionFixed 2024-09-09RHSA-2024:6508
A-MQ Clients 2spring-expressionNot affected
Logging Subsystem for Red Hat OpenShiftorg.springframework/spring-expressionNot affected
Red Hat AMQ Broker 7spring-expressionNot affected
Red Hat AMQ Clientsspring-expressionNot affected
Red Hat build of Apache Camel 4 for Quarkus 3spring-expressionNot affected
Red Hat build of Apache Camel for Spring Boot 3spring-expressionOut of support scope
Red Hat build of Apache Camel - HawtIO 4spring-expressionFix deferred
Red Hat Build of Keycloakspring-expressionNot affected
Red Hat build of OptaPlanner 8spring-expressionWill not fix
Red Hat build of Quarkusspring-expressionFix deferred
Red Hat Data Grid 8spring-expressionNot affected
15 more in the JSON and on Red Hat's page.

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-38808.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON