Skip to content

[FP]: JGit version with backported fix is marked vulnerable #8078

@jpmartins-ca

Description

@jpmartins-ca

Package URl

pkg:maven/org.eclipse.jgit/org.eclipse.jgit@6.10.1.202505221210-r

CPE

cpe:2.3:a:eclipse:jgit:6.10.1:202505221210::::::

CVE

CVE-2025-4949

ODC Integration

{"label" => "Maven Plugin"}

ODC Version

12.1.8

Description

import org.owasp.dependencycheck.utils.DependencyVersion;

DependencyVersion a = new DependencyVersion("6.10.1.202505221210-r");
DependencyVersion b = new DependencyVersion("6.10.1.202505221210");
System.out.println(a.compareTo(b)>0?a+" is greater":b+" is "+(a.compareTo(b)==0?"equals":"greater"));
//6.10.1.202505221210 is equals

Since your comparator says they are the same, and at the CVE it says 6.10.1.202505221210 is safe, why is it still reporting as vulnerable?
In my case this is not a direct but a transitive dependency, on a plugin from me.qoomon:maven-git-versioning-extension:9.11.0

Thanks for any help you can offer.
Best regards,
J

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions