Vulnerabilities in pkg:maven/org.springframework.boot/spring-boot-loader
PACKAGECVE-2024-38807 is a HIGH (CVSS 6.3) signature forgery vulnerability (CWE-290: Authentication Bypass by Spoofing) affecting Spring Framework libraries in the Maven ecosystem. The issue involves signature forgery in spring boot's loader. Remediation is available by upgrading affected packages to version 2.7.22, 3.0.17, 3.1.13, 3.2.9, 3.3.3.
pkg:maven/org.springframework.boot/spring-boot-loader
Vulnerability advisories affecting package pkg:maven/org.springframework.boot/spring-boot-loader. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-7cj3-x93g-gj76 | CVE-2024-38807 | HIGH | Signature forgery in Spring Boot's Loader |
CVE-2024-38807 at a Glance
Security Impact
CVSS: 6.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2024-38807
To remediate this vulnerability, upgrade all affected Spring Framework dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-loader</artifactId>
<version>2.7.22</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-loader-classic</artifactId>
<version>2.7.22</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-loader</artifactId>
<version>3.0.17</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-loader-classic</artifactId>
<version>3.0.17</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-loader</artifactId>
<version>3.1.13</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-loader-classic</artifactId>
<version>3.1.13</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-loader</artifactId>
<version>3.2.9</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-loader-classic</artifactId>
<version>3.2.9</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-loader</artifactId>
<version>3.3.3</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-loader-classic</artifactId>
<version>3.3.3</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.springframework.boot
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2024-38807, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.springframework.boot
Analyze the terminal output to locate any version of Spring Framework in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.7.22), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.springframework.boot command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-290: Authentication Bypass by Spoofing, where this attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks. In Spring Framework, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-38807 Affected Spring Framework Versions
10 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.springframework.boot:spring-boot-loader
|
Maven |
≥ 2.7.0
< 2.7.22
|
2.7.22
|
|
org.springframework.boot:spring-boot-loader-classic
|
Maven |
≥ 2.7.0
< 2.7.22
|
2.7.22
|
|
org.springframework.boot:spring-boot-loader
|
Maven |
≥ 3.0.0
< 3.0.17
|
3.0.17
|
|
org.springframework.boot:spring-boot-loader-classic
|
Maven |
≥ 3.0.0
< 3.0.17
|
3.0.17
|
|
org.springframework.boot:spring-boot-loader
|
Maven |
≥ 3.1.0
< 3.1.13
|
3.1.13
|
|
org.springframework.boot:spring-boot-loader-classic
|
Maven |
≥ 3.1.0
< 3.1.13
|
3.1.13
|
|
org.springframework.boot:spring-boot-loader
|
Maven |
≥ 3.2.0
< 3.2.9
|
3.2.9
|
|
org.springframework.boot:spring-boot-loader-classic
|
Maven |
≥ 3.2.0
< 3.2.9
|
3.2.9
|
|
org.springframework.boot:spring-boot-loader
|
Maven |
≥ 3.3.0
< 3.3.3
|
3.3.3
|
|
org.springframework.boot:spring-boot-loader-classic
|
Maven |
≥ 3.3.0
< 3.3.3
|
3.3.3
|
References
Frequently Asked Questions
What is CVE-2024-38807?
Which Spring Framework versions are affected?
What version fixes CVE-2024-38807?
Is spring-boot-loader affected?
Is spring-boot-loader-classic affected?
What is the CVSS score of CVE-2024-38807?
What CWE is associated with CVE-2024-38807?
How can I check Maven dependencies for CVE-2024-38807?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7cj3-x93g-gj76",
"modified" : "2025-03-27T23:38:50Z",
"published" : "2024-08-23T09:30:35Z",
"aliases" : [ "CVE-2024-38807" ],
"summary" : "Signature forgery in Spring Boot's Loader",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.springframework.boot:spring-boot-loader"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.7.0"
}, {
"fixed" : "2.7.22"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.7.21"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.springframework.boot:spring-boot-loader-classic"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.7.0"
}, {
"fixed" : "2.7.22"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 2.7.21"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.springframework.boot:spring-boot-loader"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.0.17"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.0.16"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.springframework.boot:spring-boot-loader-classic"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.0.17"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.0.16"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.springframework.boot:spring-boot-loader"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.13"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.1.12"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.springframework.boot:spring-boot-loader-classic"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.13"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.1.12"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.springframework.boot:spring-boot-loader"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.2.0"
}, {
"fixed" : "3.2.9"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.2.8"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.springframework.boot:spring-boot-loader-classic"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.2.0"
}, {
"fixed" : "3.2.9"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.2.8"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.springframework.boot:spring-boot-loader"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.3.0"
}, {
"fixed" : "3.3.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.3.2"
}
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.springframework.boot:spring-boot-loader-classic"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.3.0"
}, {
"fixed" : "3.3.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.3.2"
}
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-38807"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/spring-projects/spring-boot"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20250117-0006"
}, {
"type" : "WEB",
"url" : "https://spring.io/security/cve-2024-38807"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-290", "CWE-347" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-08-23T18:52:45Z",
"nvd_published_at" : "2024-08-23T09:15:07Z"
}
}