Trivy not detecting CVE 2022-37734, 2023-28867, 2024-22233 in jar file #6074
pcbadger
started this conversation in
False Detection
Replies: 1 comment 2 replies
-
Hello @pcbadger Can you share your image for investigation? Regards, Dmitriy |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
IDs
2022-37734, 2023-28867, 2024-22233
Description
I've just added trivy to our pipeline and in some cases it's scanning the images and the jar files on them with no issue and in others it appeared to be ignoring the jar file. After further investigation, it turned out to be scanning the jar file, just ignoring certain CVEs.
These here are picked up by maven, but not by trivy. I'm using the latest version and the latest DB. I checked the DB with boltbrowser and they're there under the maven section
graphql-java-codegen-5.9.0.jar NVD CVE-2022-37734 High NVD-CWE-Other
graphql-java-codegen-5.9.0.jar NVD CVE-2023-28867 High CWE-770
spring-core-6.0.14.jar OSS INDEX CVE-2024-22233 High CWE-noinfo
TBH, this smells like it could be a feature I don't understand rather than a bug, but I'd like some opinions please.
Reproduction Steps
Target
Container Image
Scanner
Vulnerability
Target OS
alpine 3.18
Debug Output
Version
Checklist
-f json
that shows data sources and confirmed that the security advisory in data sources was correctBeta Was this translation helpful? Give feedback.
All reactions