-
Notifications
You must be signed in to change notification settings - Fork 18k
x/vuln: govulncheck reports no vulnerabilities while deps.dev reports two vulns #54970
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
CC @golang/vulndb |
Thank you for reporting this! We can see that the module It seems however that I can see by a manual inspection that a vulnerability can be exercised when the exported This manual analysis could be wrong as we are not that familiar with the |
@zpavlinovic your reason is 100% correct. There are no calls to |
What are the expectations regarding the CLI govulncheck versus the deps site? Are they expected to do different reasoning? If so, is this documented somewhere, so devs are aware of different targets? |
From both the announcement blogpost:
and package docs:
|
I am personally not aware of the inner-workings of the deps.dev site but some information is provided at the bottom of https://deps.dev/. Regarding |
deps.dev on dependency
They include everything from the module graph. I think this can be closed as working as intended. |
What version of Go are you using (
go version
)?Does this issue reproduce at the latest version of golang.org/x/vuln?
Yes:
v0.0.0-20220908210932-64dbbd7bba4f
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
go install golang.org/x/vuln/cmd/govulncheck@latest
git clone https://github.com/thediveo/sealwatcher
cd sealwatcher
govulncheck ./...
https://deps.dev/go/github.com%2Fthediveo%2Fsealwatcher/v0.8.1
What did you expect to see?
The reports of running
govulncheck
and https://deps.dev/go/github.com%2Fthediveo%2Fsealwatcher/v0.8.1 to match each other.What did you see instead?
govolncheck
reportsNo vulnerabilities found.
The text was updated successfully, but these errors were encountered: