Loading...
Skip to main content

CVE-2023-20873 — Vulnerability in...

CRITICAL

Spring Boot Security Bypass with Wildcard Pattern Matching on Cloud Foundry

Published April 20, 2023Updated December 6, 2024Source: osv

Summary

In Spring Boot versions 3.0.0 - 3.0.5, 2.7.0 - 2.7.10, and older unsupported versions, an application that is deployed to Cloud Foundry could be susceptible to a security bypass. Users of affected versions should apply the following mitigation: 3.0.x users should upgrade to 3.0.6+. 2.7.x users should upgrade to 2.7.11+. Users of older, unsupported versions should upgrade to 3.0.6+ or 2.7.11+.

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.

Maven
Update org.springframework.boot:spring-boot-actuator-autoconfigure to 2.5.15 or later
<!-- Update pom.xml dependency version to 2.5.15 for org.springframework.boot:spring-boot-actuator-autoconfigure -->
Maven
Update org.springframework.boot:spring-boot-actuator-autoconfigure to 2.6.15 or later
<!-- Update pom.xml dependency version to 2.6.15 for org.springframework.boot:spring-boot-actuator-autoconfigure -->
Maven
Update org.springframework.boot:spring-boot-actuator-autoconfigure to 2.7.11 or later
<!-- Update pom.xml dependency version to 2.7.11 for org.springframework.boot:spring-boot-actuator-autoconfigure -->
Maven
Update org.springframework.boot:spring-boot-actuator-autoconfigure to 3.0.6 or later
<!-- 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).

PackageEcosystemAffectedFixed 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.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-g5h3-w546-pj7f

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies