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?
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
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
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
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
mvn versions:use-dep-version -Dincludes=org.springframework.boot:spring-boot-actuator-autoconfigure -DdepVersion=2.5.15 -DforceVersion=trueDetails
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
- Advisorynvd.nist.gov/vuln/detail/CVE-2023-20873
- Linkgithub.com/spring-projects/spring-boot/commit/32444fed4b51cc58dc908467f706102d7f0bfc15
- Linkgithub.com/spring-projects/spring-boot/commit/3522714c13b47af03bf42e7f2d5994af568cb1a7
- Packagegithub.com/spring-projects/spring-boot
- Linkgithub.com/spring-projects/spring-boot/releases/tag/v2.5.15
- Linkgithub.com/spring-projects/spring-boot/releases/tag/v2.6.15
- Linkgithub.com/spring-projects/spring-boot/releases/tag/v2.7.11
- Linkgithub.com/spring-projects/spring-boot/releases/tag/v3.0.6
- Linksecurity.netapp.com/advisory/ntap-20230601-0009
- Linkspring.io/blog/2023/05/18/spring-boot-2-5-15-and-2-6-15-available-now
- Linkspring.io/security/cve-2023-20873
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.