Skip to content
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

artifact version works only on lowerThan ('<=') , but match fails on '==' #1

Open
kamal079 opened this issue Sep 27, 2016 · 0 comments
Labels

Comments

@kamal079
Copy link

The plugin works great which builds the dependency graph and reports all CVEs on a given project. However, there is an issue with public static boolean isAffected(String fullArtifactId, String version, CveVulnerability cve) { method in VersionUtil.java , where the exact version match fails.

The issue can be reproduced by adding an artifact whose GAV matches a CVE entry in CVE-DB. For example, the GAV commons-httpclient:commons-httpclient:3.1 matches CVE-2012-5783 .

The getlowerThan() expression contains "==3.1"

@h3xstream h3xstream added the bug label Sep 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants