Closed Karreg closed 1 year ago
By the way, grype is quickly becoming better, good job :)
Thanks @Karreg! 😍
I think this is another case of how we generate CPEs with subselections of words in a name, where important context is accidently truncated off.
This is an excerpt of the JSON you pasted above:
"cpes": [
"cpe:2.3:a:python-redis:python-redis:3.5.3:*:*:*:*:*:*:*",
"cpe:2.3:a:python-redis:python_redis:3.5.3:*:*:*:*:*:*:*",
"cpe:2.3:a:python_redis:python-redis:3.5.3:*:*:*:*:*:*:*",
"cpe:2.3:a:python_redis:python_redis:3.5.3:*:*:*:*:*:*:*",
"cpe:2.3:a:python:python-redis:3.5.3:*:*:*:*:*:*:*",
"cpe:2.3:a:python:python_redis:3.5.3:*:*:*:*:*:*:*",
"cpe:2.3:a:python-redis:redis:3.5.3:*:*:*:*:*:*:*",
"cpe:2.3:a:python_redis:redis:3.5.3:*:*:*:*:*:*:*",
"cpe:2.3:a:redis:python-redis:3.5.3:*:*:*:*:*:*:*",
"cpe:2.3:a:redis:python_redis:3.5.3:*:*:*:*:*:*:*",
"cpe:2.3:a:python:redis:3.5.3:*:*:*:*:*:*:*",
"cpe:2.3:a:redis:redis:3.5.3:*:*:*:*:*:*:*"
],
So sometimes we include the full "python redis", but in other cases, we've shortened the values to just "redis". I believe this is similar in cause to https://github.com/anchore/grype/issues/450.
Hello there,
Is there any update on this issue? I'm still having these false positives, still for the redis python library:
NAME INSTALLED FIXED-IN TYPE VULNERABILITY SEVERITY
redis 3.5.3 python CVE-2022-24735 High
redis 3.5.3 python CVE-2022-24736 Medium
redis 3.5.3 python CVE-2021-32672 Medium
redis 3.5.3 python CVE-2022-0543 Critical
Thanks!
We have a linked issue for this here and are tracking different internal ways we can start providing corrections for these FP. Grype recently added a new table into the db called vulnerability_match_exclusions
which should be a good starting point to correct these moving forward.
https://github.com/anchore/grype/issues/800
Hello,
I have found this vulnerability in my python dependencies with a
fs
scan (see below issue description).The found issue is for the redis package, but the scanned artifact is the
redis
python dependency, that is not redis itself, but the python library used to communicate with redis.Vulnerability report:
By the way, grype is quickly becoming better, good job :)