-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Trivy warns "failed to get the vulnerability" about a rejected CVE, CVE-2021-20095 #2623
Comments
Hello @hlein I was able to reproduce your issue and we are working on it. Regards, Dmitriy |
Hi, I am also facing same issue with trivy 0.30.4 |
I have exactly the same problem "Error while getting vulnerability details: failed to get the vulnerability "CVE-2022-3209": no vulnerability details for CVE-2022-3209", the scan fails as if it would have vulnerabilities but this is not true |
@roDew, I'm getting what you got:
However, it's beginning to look like it's a typo: CVE-2022-3209 doesn't exist but CVE-2022-3209 does.
Other databases also have the typo:
Don't know where it came from, but it'd be nice if it were fixed. :-) |
Any news on this topic? :/ |
Hello @roDew We are still working on this issue. Regards, Dmitriy |
One solution I've seen is to cram a json object into a text field, and use that to define new fields. |
This issue is stale because it has been labeled with inactivity. |
Hi, |
Description
When running trivy, a consistent error I'm getting across lots of Docker images is:
Error while getting vulnerability details: failed to get the vulnerability "CVE-2021-20095": no vulnerability details for CVE-2021-20095
I got that error a few days ago using
trivy-0.30.2
and a then-current DB, and then again just now withtrivy-0.30.4
after making sure I fetched a fresh DB.If you check out that CVE, its status is REJECTED: https://nvd.nist.gov/vuln/detail/CVE-2021-20095
There's no information there about why, but I think it was a duplicate of https://nvd.nist.gov/vuln/detail/CVE-2021-42771; see more info below that corobrates that.
What did you expect to happen?
trivy to run to completion without errors.
What happened instead?
The above error (along with otherwise successful completion).
Output of run with
-debug
:I cannot share the full output, but here's a snippet of the resulting json that mentions CVE-2021-20095:
And here's one for CVE-2021-42771 that mentions CVE-2021-20095 in the same Title:
(These repeat later for python2-libs.)
Output of
trivy -v
:Additional details (base image name, container registry info...):
The text was updated successfully, but these errors were encountered: