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

fix: dropping generation of excessively loose cpes #1067

Closed
wants to merge 1 commit into from

Conversation

cpendery
Copy link
Contributor

📝 Description

A cpe where vendor and product are identical has never occurred in any data source Grype or Syft uses and it's not in the 2.3 cpe database from NVD. It can lead to false matching, so this PR removes it from being generated

Closes anchore/grype#800 and closes #1066

@cpendery cpendery marked this pull request as ready for review June 25, 2022 13:54
@westonsteimel
Copy link
Contributor

Thanks Chapman! I'm currently seeing 5,774 unique instances where product and vendor are identical for a CPE from the NVD CPE match dateset though

@cpendery
Copy link
Contributor Author

Thanks Chapman! I'm currently seeing 5,774 unique instances where product and vendor are identical for a CPE from the NVD CPE match dateset though

Resolved offline, I didn't realize the cpe dictionary wasn't cumulative. PR isn't a fix for the issue

@cpendery cpendery closed this Jun 27, 2022
@cpendery cpendery deleted the fix-bad-cpes branch June 27, 2022 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Syft generates too loose of cpes for python redis False flagging
2 participants