Skip to content

GHSA-8v8j-3hxp-93wr / GHSA-wwpq-f5c3-7hvx: Dependabot incorrectly flags spring-boot 4.1.0 as vulnerable #8085

Description

@CasaSky

Summary

Dependabot is generating alerts for org.springframework.boot:spring-boot:4.1.0 against both GHSA-8v8j-3hxp-93wr and GHSA-wwpq-f5c3-7hvx.

Problem

Both advisories explicitly define the vulnerable range as >= 4.0.0, < 4.0.6 for the 4.x branch.

4.1.0 > 4.0.6 — it is mathematically outside the vulnerable range. Spring Boot 4.1.0 was released after 4.0.6 and includes the fixes for both CVEs.

The advisory descriptions confirm this:

Impact

Repositories using Spring Boot 4.1.0 (the latest release) receive incorrect CRITICAL and HIGH Dependabot alerts for vulnerabilities that do not affect them.

Expected behaviour

Dependabot should not flag spring-boot:4.1.0 since 4.1.0 >= 4.0.6.

Suggestion

If the advisory is correct as written and the scanner is the bug, please fix the version comparison logic.
If 4.1.x is also affected (which the advisory text contradicts), please add a separate vulnerable range >= 4.1.0, < 4.1.x with an explicit patched version.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions