x/vuln: enhance deduping of similar traces #68100
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
vulncheck or vulndb
Issues for the x/vuln or x/vulndb repo
Milestone
govulncheck version
Go: devel go1.23-9d33956503 Thu Jun 20 17:46:05 2024 +0000
Scanner: [email protected]
DB: https://vuln.go.dev
DB updated: 2024-06-20 18:18:26 +0000 UTC
Does this issue reproduce at the latest version of golang.org/x/vuln?
yes.
Output of
go env
in your module/workspace:What did you do?
git clone https://github.com/golang/vscode-go
git checkout 540e146da
cd extension
govulncheck ./tools/...
What did you see happen?
several similar traces with the same entry points (tools/generate.go).
govulncheck -show=traces
shows vulnerable types implementingStringer
will appear.What did you expect to see?
Ideally no report unless the types are really used. However, I guess this is a type of false positives hard for the current govulncheck hard to handle.
We think we can still reduce the volume of text and make it less overwhelming, by enhancing the deduping mechanism.
From @ianthehat
The text was updated successfully, but these errors were encountered: