google / google/osv-scanner

Java import reachability

Open
#1,031 3 comments 1 reaction 0 assignees View on GitHub
backlog enhancement
Dominant language
Go
Stars
11k
Forks
792
Avg merge
1d 20h
Merged PRs (30d)
48

Description

With transitive pom.xml resolution landing soon in https://github.com/google/osv-scanner/pull/1028, we'll likely start to get a lot more vulnerability matches for Java projects.

IIUC, Java dependency resolution does not take into account import reachability (unlike Go). This means there's an opportunity to do some kind of import reachability analysis to prune (VEX) out vulnerability matches that likely do not affect the project.

One tool that may be useful for this is jdeps: https://docs.oracle.com/en/java/javase/11/tools/jdeps.html

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.