Skip to content

BDSA-2024-5369 for springboot 3.4.0-M3 app #33755

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
patpatpat123 opened this issue Oct 19, 2024 · 5 comments
Closed

BDSA-2024-5369 for springboot 3.4.0-M3 app #33755

patpatpat123 opened this issue Oct 19, 2024 · 5 comments
Labels
status: invalid An issue that we don't feel is valid

Comments

@patpatpat123
Copy link

Hello team,

We run daily security scan tools (blackduck, sonarqube, dependecy check, owasp etc)
They are all flagging this:

{
      "Related Vuln": "",
      "CVE ID": "BDSA-2024-5369",
      "Vulnerability Description": "Spring Framework contains an inefficient regular expression for its handling of Etags. If an application parses ETags from \"If-Match\" or \"If-None-Match\" request headers, a remote attacker could cause a denial-of-service (DoS).",
      "Package Name": "Spring Framework",
      "Package Version": "6.2.0-RC1",
      "Status": "NEW",
      "Vulnerability Published Date": "2024-08-15",
      "Upgrade-Guidance": {
         "Short-Term": "6.1.14",
         "Long-Term": "6.1.14"
      },

This is for a latest (as of this writing spring boot 3.4.0-M3 app.

Could you please help take a look at this, and fix the CVE?

Thank you for your kind help

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Oct 19, 2024
@bclozel
Copy link
Member

bclozel commented Oct 19, 2024

This looks like https://spring.io/security/cve-2024-38809 which is fixed already in 6.2 release candidates. In any case, pointing to a RC release as vulnerable doesn't make sense as it's not supported in production in the first place and we only publish advisories for GA versions.

I can't find any reference to BDSA-2024-5369 nor where this is metadata is declared and maintained. Can you point us to the source please?

@bclozel bclozel added the status: waiting-for-feedback We need additional information before we can continue label Oct 19, 2024
@bclozel
Copy link
Member

bclozel commented Oct 20, 2024

I'll assume this is a mistake in your vendor's metadata and I'll close this issue. Please reach out to your vendor for support.

Note, our public advisories are the reference data for Spring vulnerabilities.

@bclozel bclozel closed this as not planned Won't fix, can't repro, duplicate, stale Oct 20, 2024
@bclozel bclozel added status: invalid An issue that we don't feel is valid and removed status: waiting-for-feedback We need additional information before we can continue status: waiting-for-triage An issue we've not yet triaged or decided on labels Oct 20, 2024
@patpatpat123
Copy link
Author

Hello @bclozel

Apologies to bump this ticket again.

We waited for 3.4 to be released to post again (again, apologies)

This time, I would like to attach the scan evidence:
Could you please confirm this is not an issue, and the issue is on Black Duck side?
We have an enterprise license with them, and we have already reached out to them to confirm.
Screenshot 2024-11-27 at 14 52 32
Screenshot 2024-11-27 at 14 52 56
Screenshot 2024-11-27 at 14 53 11

@bclozel
Copy link
Member

bclozel commented Nov 27, 2024

So this is in fact about https://spring.io/security/cve-2024-38809. The metadata on those screenshots looks fine to me.

Maybe confirm that your application doesn't depend on a vulnerable version first?

You can check the dependency version with Gradle:

./gradlew dependencyInsight --dependency org.springframework:spring-web --configuration runtimeClasspath

Or Maven:

./mvnw dependency:tree

If the resolved version is not vulnerable, there is probably a problem with the tool.

@patpatpat123
Copy link
Author

Indeed @bclozel

[INFO] +- org.springframework.boot:spring-boot-starter-webflux:jar:3.4.0:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter:jar:3.4.0:compile
[INFO] |  |  +- org.springframework.boot:spring-boot:jar:3.4.0:compile
[INFO] |  |  |  \- org.springframework:spring-context:jar:6.2.0:compile
[INFO] |  |  |     +- org.springframework:spring-aop:jar:6.2.0:compile
[INFO] |  |  |     \- org.springframework:spring-expression:jar:6.2.0:compile

We will take it up with Black Duck.

Thank you again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: invalid An issue that we don't feel is valid
Projects
None yet
Development

No branches or pull requests

3 participants