Skip to content
Fencer Intel
medium 6.5

CVE-2023-20861 json

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

published 3y ago modified 4mo ago also GHSA-564r-hj7v-mcr5 , EUVD-2023-0877

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.0%
EPSS 1.0% chance of exploitation in 30 days, percentile 62%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.springframework:spring-expression 5.2.23.RELEASE, 5.3.26, 6.0.7
  • jenkins ocp tools 4.12 2.426.3.1706515686-3.el8
  • jenkins-2-plugins ocp tools 4.12 4.12.1706515741-1.el8
  • jenkins ocp tools 4.13 2.401.1.1686680404-3.el8
  • jenkins-2-plugins ocp tools 4.13 4.13.1686680473-1.el8
  • jenkins ocp tools 4.12 2.401.1.1686649641-3.el8
  • jenkins-2-plugins ocp tools 4.12 4.12.1686649756-1.el8
  • ovirt-dependencies rhev manager 4.4 4.5.3-1.el8ev

red hat advisories RHSA-2024:0778RHSA-2023:3622RHSA-2023:3610RHSA-2023:3771

Is CVE-2023-20861 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-20861 updated cvss 5.3

springframework: Spring Expression DoS Vulnerability

  • Red Hat AMQ Broker 7 springframework springframework
    affected: no fix available
  • Red Hat Decision Manager 7 springframework springframework Red Hat JBoss Data Grid 7 springframework springframework Red Hat JBoss Data Virtualization 6 springframework springframework Red Hat JBoss Enterprise Application Platform 6 springframework springframework, org.osgi.core-eap6 org.osgi.core-eap6, org.osgi.enterprise-eap6 org.osgi.enterprise-eap6 Red Hat JBoss Fuse 6 springframework springframework Red Hat JBoss Fuse Service Works 6 springframework springframework
    affected: no fix planned “Out of support scope”
  • Red Hat OpenShift Container Platform 4 jenkins
    affected: no fix available
  • Red Hat Process Automation 7 springframework springframework
    affected: no fix planned “Out of support scope”
  • Red Hat support for Spring Boot springframework springframework
    affected: no fix planned “Will not fix”
  • Red Hat Virtualization 4 apache-sshd, apache-sshd-javadoc
    affected: no fix available
  • Red Hat AMQ Broker 7.10.3
    fixed: vendor fix RHSA-2023:3185
  • Red Hat OpenShift Developer Tools and Services for OCP 4.12 jenkins 2.401.1.1686649641-3.el8, jenkins 2.426.3.1706515686-3.el8
    fixed: vendor fix RHSA-2023:3610
show 7 more
  • Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins 2.401.1.1686680404-3.el8
    fixed: vendor fix RHSA-2023:3622
  • Red Hat Fuse 7.12
    fixed: vendor fix RHSA-2023:3954
  • Red Hat support for Spring Boot 2.7.13
    fixed: vendor fix RHSA-2023:4612
  • Red Hat RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 ovirt-dependencies 4.5.3-1.el8ev
    fixed: vendor fix RHSA-2023:3771
  • Red Hat RHINT Camel-Springboot 3.20.1
    fixed: vendor fix RHSA-2023:2100
  • Red Hat RHPAM 7.13.4 async
    fixed: vendor fix RHSA-2023:4983
  • Red Hat A-MQ Clients 2 springframework springframework Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/elasticsearch6-rhel8 Red Hat Migration Toolkit for Applications 6 org.keycloak-keycloak-parent Red Hat Migration Toolkit for Runtimes org.keycloak-keycloak-parent Red Hat OpenShift Developer Tools and Services for OCP 4.12 jenkins-2-plugins 4.12.1686649756-1.el8, jenkins-2-plugins 4.12.1706515741-1.el8 Red Hat OpenShift Developer Tools and Services for OCP 4.13 jenkins-2-plugins 4.13.1686680473-1.el8
    +13 more products
    Red Hat Data Grid 8 springframework springframework Red Hat Enterprise Linux 8 log4j, log4j-jcl, log4j-web, log4j-slf4j Red Hat Enterprise Linux 9 log4j, log4j-jcl, log4j-slf4j Red Hat Integration Camel K 1 springframework springframework Red Hat Integration Camel Quarkus 1 springframework springframework Red Hat JBoss Enterprise Application Platform 7 springframework springframework Red Hat JBoss Enterprise Application Platform Expansion Pack springframework springframework Red Hat OpenShift Application Runtimes springframework springframework Red Hat Single Sign-On 7 springframework springframework Red Hat Virtualization 4 Hypervisor for RHEL 8 vdsm 4.50.3.8-1.el8ev, vdsm-hook-fcoe 4.50.3.8-1.el8ev, vdsm-hook-vhostmd 4.50.3.8-1.el8ev, vdsm-hook-checkips 4.50.3.8-1.el8ev, vdsm-hook-cpuflags 4.50.3.8-1.el8ev, vdsm-hook-nestedvt 4.50.3.8-1.el8ev, +4 more Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts vdsm 4.50.3.8-1.el8ev, vdsm-api 4.50.3.8-1.el8ev, vdsm-http 4.50.3.8-1.el8ev, vdsm-client 4.50.3.8-1.el8ev, vdsm-common 4.50.3.8-1.el8ev, vdsm-python 4.50.3.8-1.el8ev, +13 more Red Hat RHEL-8-RHEV-S-4.4 - Red Hat Virtualization Engine 4.4 rhvm 4.5.3.8-2.el8ev, ovirt-engine 4.5.3.8-2.el8ev, ovirt-engine-setup 4.5.3.8-2.el8ev, ovirt-engine-tools 4.5.3.8-2.el8ev, ovirt-engine-backend 4.5.3.8-2.el8ev, ovirt-engine-restapi 4.5.3.8-2.el8ev, +14 more Red Hat streams for Apache Kafka springframework springframework
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.97% chance of exploitation in the next 30 days, higher than 62% of all scored CVEs (FIRST EPSS, 2026-11-14).

CVSS scores

assigned by version score vector
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
maven org.springframework:spring-expression
>=6.0.0, <6.0.7
>=5.3.0, <5.3.26
<5.2.23.RELEASE
6.0.7
5.3.26
5.2.23.RELEASE

Affected products

  • n/a Spring Framework

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption
  • CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.