CVE-2023-20873 — Vulnerability in...
Spring Boot Security Bypass with Wildcard Pattern Matching on Cloud Foundry
Summary
Advisory Timeline
- First published April 20, 2023 (1271 days ago).
- Last revised December 6, 2024 — 595 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 2.5.15 for org.springframework.boot:spring-boot-actuator-autoconfigure -->
<!-- Update pom.xml dependency version to 2.6.15 for org.springframework.boot:spring-boot-actuator-autoconfigure -->
<!-- Update pom.xml dependency version to 2.7.11 for org.springframework.boot:spring-boot-actuator-autoconfigure -->
<!-- Update pom.xml dependency version to 3.0.6 for org.springframework.boot:spring-boot-actuator-autoconfigure -->
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 1 ecosystem: maven (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| org.springframework.boot:spring-boot-actuator-autoconfigure | maven | 2.0.0.RELEASE, 2.0.1.RELEASE, 2.0.2.RELEASE, 2.0.3.RELEASE (+81 more) | 2.5.15 |
| org.springframework.boot:spring-boot-actuator-autoconfigure | maven | 2.6.0, 2.6.1, 2.6.10, 2.6.11 (+11 more) | 2.6.15 |
| org.springframework.boot:spring-boot-actuator-autoconfigure | maven | 2.7.0, 2.7.1, 2.7.10, 2.7.2 (+7 more) | 2.7.11 |
| org.springframework.boot:spring-boot-actuator-autoconfigure | maven | 3.0.0, 3.0.1, 3.0.2, 3.0.3 (+2 more) | 3.0.6 |
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-20873ADVISORY
- https://github.com/spring-projects/spring-boot/commit/32444fed4b51cc58dc908467f706102d7f0bfc15WEB
- https://github.com/spring-projects/spring-boot/commit/3522714c13b47af03bf42e7f2d5994af568cb1a7WEB
- https://github.com/spring-projects/spring-bootPACKAGE
- https://github.com/spring-projects/spring-boot/releases/tag/v2.5.15WEB
- https://github.com/spring-projects/spring-boot/releases/tag/v2.6.15WEB
- https://github.com/spring-projects/spring-boot/releases/tag/v2.7.11WEB
- https://github.com/spring-projects/spring-boot/releases/tag/v3.0.6WEB
- https://security.netapp.com/advisory/ntap-20230601-0009WEB
- https://spring.io/blog/2023/05/18/spring-boot-2-5-15-and-2-6-15-available-nowWEB
- https://spring.io/security/cve-2023-20873WEB
Frequently Asked Questions
- What is CVE-2023-20873?
- Spring Boot Security Bypass with Wildcard Pattern Matching on Cloud Foundry This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2023-20873?
- CVE-2023-20873 affects org.springframework.boot:spring-boot-actuator-autoconfigure. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-20873 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2022-22965CRITICAL
Remote Code Execution in Spring Framework
- CVE-2026-107726CRITICAL
Hazelcast allows arbitrary member memory access by low-privileged client
- CVE-2026-40976CRITICAL
Spring Boot's default security filter chain has no authorization rule with Actuator but without Health
- CVE-2026-107282CRITICAL
AsyncHttpClient: Replay to a different host sends the original host request and credentials to the new host
- CVE-2026-22731HIGH
Spring Boot has an Authentication Bypass under Actuator Health groups paths
- CVE-2026-22733HIGH
Spring Boot has an Authentication Bypass under Actuator CloudFoundry endpoints
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies