-
Notifications
You must be signed in to change notification settings - Fork 506
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
A dependency (aiohttp) is flagged with a moderate rated CVE #1741
Comments
I saw it appear and then disappear in snyk and assumed NVD had updated or aoihttp had. This is more interesting than I expected. I think this particular one will likely resolve itself in a few days (most of them do once they've been reported to NVD), but it's a good time for us to discuss what we want best practice to be with disputed or incorrect CVEs:
Let's start with making a triage file for CI and using it to resolve the immediate issue with aoihttp so that CI can function as expected while we wait for this to be resolved. But we should have a bit of an architecture discussion about whether we want optional data sources and how to ensure that any optional data source we provide is maintained. Maybe during the weekly meeting? |
Okay, i started a PR for this Setting up the triage and changing the test to use it as a merged report was no problem, but it turns out that the test relies on the console text, which says there were CVEs found even if we then ignore them. I need to think about how to fix that text or make the test rely on something else. |
Some discussion notes from the gsoc meeting:
I'm going to keep working on fixing #1746 so it fully solves our CI issue and we'll likely leave it at that for now. I've filed a related improvement on how we report "ignored" CVEs right now: |
Coming back to this: I spent a bit of time reading through the latest updates on aio-libs/aiohttp#6801 and it looks like this is on track to be fixed in NVD. I'd been planning to remove the triage file when it was no longer needed, but upon further reflection I feel like having the triage file set up in CI and available for us to update as needed is probably really useful for the next time something comes up, and it also makes a nice real-life example showing other users how to use a triage file. So I'm going to go ahead and close this bug since I don't intend to take any further action, though I guess we might want to peek at it a few more times to see when the issue gets resolved just out of curiousity. But you can do that with a closed issue too! |
It seems like aiohttp is flagged with a vulnerability (which seems like a false positive) and we might want to either add it to the allowed dependencies (since there is no new release) or wait for NVD to remove the CVE from their database (like
Snyk
andpip-audit
did) to get the tests to pass.The text was updated successfully, but these errors were encountered: