-
Notifications
You must be signed in to change notification settings - Fork 632
grype pkg:golang/k8s.io/ingress-nginx@v1.11.2 does not show cve #2580
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
Comments
Thanks @goatwu1993! It looks like we have a bug in the package construction from PURL in the search command that's not sending it to the correct query. Taking a look now and will tag a PR here when the fix is in! |
@spiffcs I create a pr which seems to fix the issue. |
@spiffcs i failed to fix it. seems too complicated. do you have any hint or any chance to fix it? |
Sorry for the long wait here @goatwu1993. Let's take the problem and invert it to work backwards from the vulnerability we're trying to locate.
Let's take a look at its counterpart in the GHSA database
So the package name here would be k8s.io/ingress-nginx if we want a hit on the go ecosystem.
This is what you provided (correctly) in the PURL. Unfortunately it looks like grype converts the provided purl to be a package with the name When we take the provided purl we see it's got the components:
I think this is a fix in the PURL provider when the type is I've created a POC branch showing what this could look like here: I think I'd like some extra eyes from others on the team just in case this isn't a change in how we construct the database when doing package name searches. |
What happened:
What you expected to happen:
CVE-2025-1974 found
How to reproduce it (as minimally and precisely as possible):
grype 'pkg:golang/k8s.io/ingress-nginx@v1.11.2'
Anything else we need to know?:
Environment:
grype version
:OS (e.g:
cat /etc/os-release
or similar):macos amd64
The text was updated successfully, but these errors were encountered: