-
-
Notifications
You must be signed in to change notification settings - Fork 220
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
discussion about double-reporting #580
Comments
Yes, I have another case I am trying to avoid syncing duplicates:
I wrote GHSA issues and they rejected them as duplicates but they were not ready to delete them.
|
Yes, GHSA database has them as duplicates too: https://github.com/advisories?query=CVE-2021-3517 |
I took a stab at this in PR #585. I wrote specs which load all YAML from a As for |
For the Nokogiri use case, it's common that libxml2 ships a version with multiple CVE fixes, and since these CVEs are not against Nokogiri itself I have been publishing a single GHSA to cover all the CVEs. A further annoyance is that frequently, CVEs are created for libxml2 after a release is made, and in that case it's easy to go back to the GHSA and update it with the new identifier.
It's not set because there are multiple CVEs in the GHSA, and none of them are against Nokogiri (they're against libxml2).
This is yet another source of anxiety for me: duplicate GHSAs being created years after the original incident.
Allow me to generalize it and say it back to you to see if I'm understanding the decision: "If a GHSA references multiple CVEs, even if they are against another project, we should prefer creating multiple CVE files that reference the GHSA url (rather than creating a single GHSA file that references multiple CVEs)." This seems like a pragmatic decision, although it feels like a bit more work than I was hoping for. |
Could the
be of use in this case? (See example at the bottom of this repo's README file). |
@flavorjones and/or @postmodern - If you have any test cases associated with this issue including word descriptions or shell script query(ie. issue 662), feel free to add them as a comment. |
Hi all,
Thanks as always for maintaining an incredibly important project. I appreciate you all!
I'm opening this issue to:
In commit febf9e8, @reedloden added the contents of GHSA-7rrm-v45f-jp64 for nokogiri. This is a complicated report in that it references multiple CVEs in libxml2 that were patched by upgrading the vendored libxml2. One of those CVEs is CVE-2021-3517.
Recently, in commit, 9bfad4b, @reedloden synced with GHSA and added an individual record for CVE-2021-3517. So now the database has two records for the same CVE, and downstream consumers of the db are likely creating double notifications for projects.
How would the maintainers like to handle cases like this? Is what happened totally fine? Please note that I've been creating GHSAs for Nokogiri that reference multiple CVEs when new libxml2 versions drop, so this seems likely to happen again.
It's likely not a big deal to double-report, but given that the CVE was with a packaged library and not Nokogiri, and now there are two records attached to Nokogiri, my urge to shout "someone is wrong on the internet!" is kicking in. 😆 😭
The text was updated successfully, but these errors were encountered: