CVE-2024-38807 CVE-2024-38807: Signature Forgery Vulnerability in Spring Boot's Loader
Attackers can forge signatures in nested JARs, bypassing verification in Spring Boot applications using custom signature checks.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-38807?
CVE-2024-38807 is a medium-severity vulnerability in Spring Boot, published on 23 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Applications that use spring-boot-loader or spring-boot-loader-classic and contain custom code that performs signature verification of nested jar files may be vulnerable to signature forgery where content that appears to have been signed by one signer has, in fact, been signed by another.
Which versions are affected by CVE-2024-38807?
20 open source packages ship an affected version, including org.springframework.boot:spring-boot-loader and org.springframework.boot:spring-boot-loader-classic.
| Package | Affected | Fixed in |
|---|---|---|
org.springframework.boot:spring-boot-loader Maven | From 2.7.0 | 2.7.22 |
org.springframework.boot:spring-boot-loader Maven | From 2.7.0 | 2.7.22 |
org.springframework.boot:spring-boot-loader Maven | From 3.0.0 | 3.0.17 |
org.springframework.boot:spring-boot-loader Maven | From 3.0.0 | 3.0.17 |
org.springframework.boot:spring-boot-loader Maven | From 3.1.0 | 3.1.13 |
org.springframework.boot:spring-boot-loader Maven | From 3.1.0 | 3.1.13 |
14 more packages
org.springframework.boot:spring-boot-loader Maven | From 3.2.0 | 3.2.9 |
org.springframework.boot:spring-boot-loader Maven | From 3.2.0 | 3.2.9 |
org.springframework.boot:spring-boot-loader Maven | From 3.3.0 | 3.3.3 |
org.springframework.boot:spring-boot-loader Maven | From 3.3.0 | 3.3.3 |
org.springframework.boot:spring-boot-loader-classic Maven | From 2.7.0 | 2.7.22 |
org.springframework.boot:spring-boot-loader-classic Maven | From 2.7.0 | 2.7.22 |
org.springframework.boot:spring-boot-loader-classic Maven | From 3.0.0 | 3.0.17 |
org.springframework.boot:spring-boot-loader-classic Maven | From 3.0.0 | 3.0.17 |
org.springframework.boot:spring-boot-loader-classic Maven | From 3.1.0 | 3.1.13 |
org.springframework.boot:spring-boot-loader-classic Maven | From 3.1.0 | 3.1.13 |
org.springframework.boot:spring-boot-loader-classic Maven | From 3.2.0 | 3.2.9 |
org.springframework.boot:spring-boot-loader-classic Maven | From 3.2.0 | 3.2.9 |
org.springframework.boot:spring-boot-loader-classic Maven | From 3.3.0 | 3.3.3 |
org.springframework.boot:spring-boot-loader-classic Maven | From 3.3.0 | 3.3.3 |
How do I fix CVE-2024-38807?
Upgrade org.springframework.boot:spring-boot-loader to a fixed version for your release line: 2.7.22, 3.0.17, 3.1.13 or 3.2.9.
Is CVE-2024-38807 being exploited?
There is no known exploitation of CVE-2024-38807 in the wild and no public exploit code.
Sources
Also known as CLSA-2025-1738627240, CLSA-2026-1778460303, CLSA-2026-1780620670, CLSA-2026-1785291684, CLSA-2026-1790861577, DEBIAN-CVE-2024-38807 and 5 more.