Vulnerabilities in pkg:maven/org.springframework.boot/spring-boot-loader-classic

PACKAGE
Advisory Identifier: GHSA-7cj3-x93g-gj76
Advisory Summary

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

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.springframework.boot/spring-boot-loader-classic

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:maven/org.springframework.boot/spring-boot-loader-classic. 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

CVE Identifier CVE-2024-38807
GHSA Identifier GHSA-7cj3-x93g-gj76
Severity HIGH
CVSS v3.1 Base Score 6.3
CWE Classification CWE-290: Authentication Bypass by Spoofing
Affected Product Spring Framework
Package Ecosystem Maven
Published Date
Last Updated

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

Attack Vector Local (AV:L)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability None (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.

org.springframework.boot:spring-boot-loader fixed: 2.7.22
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-loader</artifactId>
    <version>2.7.22</version>
</dependency>
org.springframework.boot:spring-boot-loader-classic fixed: 2.7.22
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-loader-classic</artifactId>
    <version>2.7.22</version>
</dependency>
org.springframework.boot:spring-boot-loader fixed: 3.0.17
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-loader</artifactId>
    <version>3.0.17</version>
</dependency>
org.springframework.boot:spring-boot-loader-classic fixed: 3.0.17
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-loader-classic</artifactId>
    <version>3.0.17</version>
</dependency>
org.springframework.boot:spring-boot-loader fixed: 3.1.13
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-loader</artifactId>
    <version>3.1.13</version>
</dependency>
org.springframework.boot:spring-boot-loader-classic fixed: 3.1.13
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-loader-classic</artifactId>
    <version>3.1.13</version>
</dependency>
org.springframework.boot:spring-boot-loader fixed: 3.2.9
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-loader</artifactId>
    <version>3.2.9</version>
</dependency>
org.springframework.boot:spring-boot-loader-classic fixed: 3.2.9
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-loader-classic</artifactId>
    <version>3.2.9</version>
</dependency>
org.springframework.boot:spring-boot-loader fixed: 3.3.3
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-loader</artifactId>
    <version>3.3.3</version>
</dependency>
org.springframework.boot:spring-boot-loader-classic fixed: 3.3.3
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-loader-classic</artifactId>
    <version>3.3.3</version>
</dependency>
Verify Direct and Transitive Dependencies

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

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.

CVE-2024-38807 Affected Spring Framework Versions

10 component(s)
Fixed Versions:
2.7.223.0.173.1.133.2.93.3.3
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?
CVE-2024-38807 is a security vulnerability in Spring Framework involving Signature forgery in Spring Boot's Loader under CWE-290: Authentication Bypass by Spoofing.
Which Spring Framework versions are affected?
Affected versions include releases prior to 2.7.22, 3.0.17, 3.1.13, 3.2.9, 3.3.3 across affected packages: org.springframework.boot:spring-boot-loader, org.springframework.boot:spring-boot-loader-classic.
What version fixes CVE-2024-38807?
Upgrading to 2.7.22, 3.0.17, 3.1.13, 3.2.9, 3.3.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is spring-boot-loader affected?
Yes, org.springframework.boot:spring-boot-loader is affected in releases prior to 2.7.22, 3.0.17, 3.1.13, 3.2.9, 3.3.3. Upgrade your dependency to 2.7.22, 3.0.17, 3.1.13, 3.2.9, 3.3.3 or later.
Is spring-boot-loader-classic affected?
Yes, org.springframework.boot:spring-boot-loader-classic is affected in releases prior to 2.7.22, 3.0.17, 3.1.13, 3.2.9, 3.3.3. Upgrade your dependency to 2.7.22, 3.0.17, 3.1.13, 3.2.9, 3.3.3 or later.
What is the CVSS score of CVE-2024-38807?
CVE-2024-38807 has a CVSS v3.1 base score of 6.3 (HIGH) with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2024-38807?
CVE-2024-38807 is classified under CWE-290: Authentication Bypass by Spoofing (This attack-focused weakness is caused by incorrectly implemented authentication schemes that are subject to spoofing attacks.).
How can I check Maven dependencies for CVE-2024-38807?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.springframework.boot'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}