CVE-2024-38807 CVE-2024-38807: Signature Forgery Vulnerability in Spring Boot's Loader

Medium 6.3 Published Updated

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.

Weakness: CWE-347, CWE-290

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.

PackageAffectedFixed in
org.springframework.boot:spring-boot-loader MavenFrom 2.7.02.7.22
org.springframework.boot:spring-boot-loader MavenFrom 2.7.02.7.22
org.springframework.boot:spring-boot-loader MavenFrom 3.0.03.0.17
org.springframework.boot:spring-boot-loader MavenFrom 3.0.03.0.17
org.springframework.boot:spring-boot-loader MavenFrom 3.1.03.1.13
org.springframework.boot:spring-boot-loader MavenFrom 3.1.03.1.13
14 more packages
org.springframework.boot:spring-boot-loader MavenFrom 3.2.03.2.9
org.springframework.boot:spring-boot-loader MavenFrom 3.2.03.2.9
org.springframework.boot:spring-boot-loader MavenFrom 3.3.03.3.3
org.springframework.boot:spring-boot-loader MavenFrom 3.3.03.3.3
org.springframework.boot:spring-boot-loader-classic MavenFrom 2.7.02.7.22
org.springframework.boot:spring-boot-loader-classic MavenFrom 2.7.02.7.22
org.springframework.boot:spring-boot-loader-classic MavenFrom 3.0.03.0.17
org.springframework.boot:spring-boot-loader-classic MavenFrom 3.0.03.0.17
org.springframework.boot:spring-boot-loader-classic MavenFrom 3.1.03.1.13
org.springframework.boot:spring-boot-loader-classic MavenFrom 3.1.03.1.13
org.springframework.boot:spring-boot-loader-classic MavenFrom 3.2.03.2.9
org.springframework.boot:spring-boot-loader-classic MavenFrom 3.2.03.2.9
org.springframework.boot:spring-boot-loader-classic MavenFrom 3.3.03.3.3
org.springframework.boot:spring-boot-loader-classic MavenFrom 3.3.03.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.

Is CVE-2024-38807 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free