CVE-2023-20873
spring-boot: Security Bypass With Wildcard Pattern Matching on Cloud Foundry
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 18, 2023
Updated · October 12, 2026
Description
A flaw was found in Spring Boot. This targets specifically 'spring-boot-actuator-autoconfigure' package. This issue occurs when an application is deployed to Cloud Foundry, which could be susceptible to a security bypass.
Specifically, an application is vulnerable when all of the following are true:
* You have code that can handle requests that match /cloudfoundryapplication/**. Typically, this will be if there is a catch-all request mapping which matches /**.
* The application is deployed to Cloud Foundry.
An application is not vulnerable if any of the following is true:
* The application is not deployed to Cloud Foundry
* You have disabled Cloud Foundry actuator endpoints with management.cloudfoundry.enabled set to false.
* Your application does not have handler mappings that can handle requests to /cloudfoundryapplication/**.
Statement
The following Red Hat products do not ship the affected software component and so are not affected:
* Red Hat Enterprise Linux 8, 9
* Enterprise Application Platform 6, 7, 8, XP
* Data Grid 7, 8
* Migration Toolkit for Runtimes
* Red Hat Build of OptaPlanner
* Red Hat Integration Camel-K
* Red Hat AMQ Broker 7
* Red Hat AMQ Clients 2
* Red Hat AMQ Streams 2
* Red Hat Fuse 6
* Red Hat Fuse 7
* Red Hat VertX 4
The following Red Hat products ship the affected software but do not enable or do not ship the vulnerable classes, and so are affected but at Low security impact.
* Red Hat Decision Manager 7
* Red Hat Process Automation Manager 7
* Red Hat Single Sign-On 7
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Disable Cloud Foundry actuator endpoints by setting 'management.cloudfoundry.enabled' to false.
CVSS / CWE
CVSS 3.1 · 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-284 · Improper Access Control