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

additional details w.r.t jar in report #1196

Closed
kandarpsarvaiya opened this issue Mar 27, 2023 · 2 comments
Closed

additional details w.r.t jar in report #1196

kandarpsarvaiya opened this issue Mar 27, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@kandarpsarvaiya
Copy link

kandarpsarvaiya commented Mar 27, 2023

Hi Team, earlier we were using anchore/inline-scan before for docker image vulnerability scan and here is the report we have with anchore for our sample app.
from anchore/inline-scan.

vulnerabilities package CRITICAL Vulnerability found in non-os package type (java) - /opt/apps/sample/sample-java-apps-1.0.0.jar:BOOT-INF/lib/commons-collections-3.2.1.jar (CVE-2017-15708 - https://nvd.nist.gov/vuln/detail/CVE-2017-15708)

now we are planning to use grype for docker image vulnerability scan, and we are getting following type of report. grype doesnt list that the .jar module has this specific jar has some vulnerabilities.

from grype.
sqlite-libs 3.20.1-r0 3.25.3-r0 apk CVE-2018-20346 High

here a question, is there a way we can get report with some additinal detail like which jar has any vulnerability found similar to anchore/inline-scan report line pasted above?

@kandarpsarvaiya kandarpsarvaiya added the enhancement New feature or request label Mar 27, 2023
@spiffcs spiffcs added this to OSS Mar 29, 2023
@tgerla
Copy link
Contributor

tgerla commented Apr 6, 2023

Hi @kandarpsarvaiya, if you run grype with the "-o json" output format, you should get more detail for each vulnerability including package locations on the filesystem and paths of jars nested inside jars, like in your example. This may be what you're looking for. If not, please let us know and we can help.

There is a feature request to expand this in a more general way: #1199 -- it's something we're looking into improving in the future.

@tgerla tgerla moved this to Awaiting Response in OSS Apr 6, 2023
@tgerla
Copy link
Contributor

tgerla commented Jun 1, 2023

I'll go ahead and close this issue but please let us know if you need anything else. Thanks!

@tgerla tgerla closed this as not planned Won't fix, can't repro, duplicate, stale Jun 1, 2023
@github-project-automation github-project-automation bot moved this from Awaiting Response to Done in OSS Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

2 participants