Maven package vulnerability checker
Check any version of a Maven artifact for known vulnerabilities by its group and artifact ID. See each CVE, its severity and the version that fixes it.
groupId:artifactId, such as org.apache.logging.log4j:log4j-core.
One exact version, as in your lockfile. Not a range.
This tool asks the OSV API directly from your browser. It sends the Maven group and artifact ID and the version you check, and nothing is sent to HardenKit.
How to use the maven package vulnerability checker
- Enter the coordinates as groupId:artifactId.
- Enter the resolved version from mvn dependency:tree or gradle dependencies.
- Press the button to ask OSV.
- Read the table, worst first, and move to the “Fixed in” version on your release line.
About this tool
Java libraries are identified by Maven coordinates: a group ID, an artifact ID and a version. Log4Shell was not in “log4j” but in org.apache.logging.log4j:log4j-core, and the neighboring artifact log4j-api was not affected. That precision is why this checker asks for the group and the artifact together, written groupId:artifactId, exactly as they appear in a pom.xml or a Gradle build file.
The version that matters is the one that ends up on the classpath, which is often not the one you wrote. Maven and Gradle resolve conflicts between transitive dependencies, and a parent POM or a BOM can set versions you never see. Run mvn dependency:tree, or gradle dependencies, and take the version from there.
Maven has no audit command of its own. The usual tool, OWASP Dependency-Check, works out which product each JAR is and looks it up in NVD, which can attach a CVE to the wrong library. This checker matches on the coordinates through OSV, using advisories from the GitHub Advisory Database, so a result is about that artifact. Older release lines often have their own fix, and “Fixed in” shows the one nearest above your version.
Sources
Questions
As the group ID and the artifact ID joined by a colon: org.springframework:spring-web, com.fasterxml.jackson.core:jackson-databind. Leave the version out of the name and put it in the version field.
Yes. Gradle downloads the same artifacts from the same repositories and names them with the same coordinates. A Gradle dependency written org.apache.commons:commons-text:1.9 is group org.apache.commons, artifact commons-text, version 1.9.
Dependency-Check scans the JAR files of a build and matches them to NVD’s product names, which covers more than Maven but produces false matches. This page looks up one artifact by its exact coordinates. It is quicker for a single question and does not scan a project.
Projects such as Log4j and Spring maintain several release lines and patch each one. The advisory lists a fix per line. We show the lowest fixed version above the one you entered, which is the smallest upgrade.