CVE Vulnerabilities

CVE-2023-20863

Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')

Published: Apr 13, 2023 | Modified: Jun 10, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
6.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

In spring framework versions prior to 5.2.24 release+ ,5.3.27+ and 6.0.8+ , it is possible for a user to provide a specially crafted SpEL expression that may cause a denial-of-service (DoS) condition.

Weakness

The product constructs all or part of an expression language (EL) statement in a framework such as a Java Server Page (JSP) using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended EL statement before it is executed.

Affected Software

Name Vendor Start Version End Version
Spring_framework Vmware 5.2.0 (including) 5.2.24 (excluding)
Spring_framework Vmware 5.3.0 (including) 5.3.27 (excluding)
Spring_framework Vmware 6.0.0 (including) 6.0.8 (excluding)
Libspring-java Ubuntu bionic *
Libspring-java Ubuntu kinetic *
Libspring-java Ubuntu lunar *
Libspring-java Ubuntu mantic *
Libspring-java Ubuntu trusty *
Libspring-java Ubuntu xenial *
RHINT Camel-Springboot 3.18.3.P1 RedHat springframework *
RHINT Camel-Springboot 3.20.1 RedHat springframework *

Potential Mitigations

  • If user-controlled data must be added to an expression interpreter, one or more of the following should be performed:

References