CriticalGHSA-g5h3-w546-pj7fCVE-2023-20873

Spring Boot Security Bypass with Wildcard Pattern Matching on Cloud Foundry

Published 20 Apr 2023 · Updated 6 Dec 2024

Is your project on an affected org.springframework.boot:spring-boot-actuator-autoconfigure?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

Affected
>=3.0.0 <3.0.6
Fixed in
3.0.6
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.springframework.boot:spring-boot-actuator-autoconfigure -DdepVersion=3.0.6 -DforceVersion=true
Affected
>=2.7.0 <2.7.11
Fixed in
2.7.11
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.springframework.boot:spring-boot-actuator-autoconfigure -DdepVersion=2.7.11 -DforceVersion=true
Affected
>=2.6.0 <2.6.15
Fixed in
2.6.15
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.springframework.boot:spring-boot-actuator-autoconfigure -DdepVersion=2.6.15 -DforceVersion=true
Affected
<2.5.15
Fixed in
2.5.15
Update to the fixed version for your release line, for example:mvn versions:use-dep-version -Dincludes=org.springframework.boot:spring-boot-actuator-autoconfigure -DdepVersion=2.5.15 -DforceVersion=true

Details

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

Is GHSA-g5h3-w546-pj7f in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected org.springframework.boot:spring-boot-actuator-autoconfigure, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.