Skip to content
OpenAdvisories
Medium · 6.5 CVE-2023-20861 EUVD-2023-0877GHSA-564r-hj7v-mcr5

Spring Framework vulnerable to denial of service via specially crafted SpEL expression

Published Mar 23, 2023 · Updated Feb 25, 2025 · Assigned by vmware

Description

In Spring Framework versions 6.0.0 - 6.0.6, 5.3.0 - 5.3.25, 5.2.0.RELEASE - 5.2.22.RELEASE, and older unsupported versions, it is possible for a user to provide a specially crafted SpEL expression that may cause a denial-of-service (DoS) condition.

Affected products

VendorProductAffectedFixed
— Spring Framework Spring Framework (6.0.0 to 6.0.6, 5.3.0 to 5.3.25, 5.2.0.RELEASE to 5.2.22.RELEASE, Older unsupported versions are also affected) —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libspring-java No fix yet —
Debian 13 libspring-java No fix yet —
Debian 12 libspring-java No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libspring-java No fix yet —
Ubuntu 26.04 LTS libspring-java No fix yet —
Ubuntu 25.10 libspring-java No fix yet —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS libspring-java No fix yet —
Ubuntu Pro 22.04 LTS libspring-java No fix yet —
Ubuntu Pro 20.04 LTS libspring-java No fix yet —
Ubuntu Pro 18.04 LTS libspring-java No fix yet —
Ubuntu Pro 16.04 LTS libspring-java No fix yet —
Ubuntu Pro 14.04 LTS libspring-java No fix yet —
ReleasePackageFixed inAdvisory
Red Hat Rhev Manager 4 ovirt-dependencies 4.5.3-1.el8ev RHSA-2023:3771
Red Hat Ocp Tools 4 jenkins 2.401.1.1686649641-3.el8 RHSA-2024:0778, RHSA-2023:3622, RHSA-2023:3610
Red Hat Ocp Tools 4 jenkins-2-plugins 4.12.1686649756-1.el8 RHSA-2024:0778, RHSA-2023:3622, RHSA-2023:3610

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework:spring-expression >= 6.0.0, < 6.0.7 6.0.7 GHSA-564r-hj7v-mcr5
Maven org.springframework:spring-expression >= 5.3.0, < 5.3.26 5.3.26 GHSA-564r-hj7v-mcr5
Maven org.springframework:spring-expression < 5.2.23.RELEASE 5.2.23.RELEASE GHSA-564r-hj7v-mcr5

Advisories 13

References