Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
govulncheck ./...
govulncheck is an experimental tool. Share feedback at https://go.dev/s/govulncheck-feedback.
Using go1.20.6
and [email protected] with vulnerability data from https://vuln.go.dev (last modified 2023-08-02 20:33:39 +0000 UTC).
Scanning your code and 196 packages across 30 dependent modules for known vulnerabilities...
Vulnerability #1: GO-2023-1987
Large RSA keys can cause high CPU usage in crypto/tls
More info: https://pkg.go.dev/vuln/GO-2023-1987
Standard library
Found in: crypto/[email protected]
Fixed in: crypto/[email protected]
Example traces found:
#1: cmd/exporters/prometheus/httpd.go:51:34: prometheus.Prometheus.startHTTPD calls http.Server.ListenAndServe, which eventually calls tls.Conn.HandshakeContext
#2: cmd/collectors/collectorstest.go:48:18: collectors.JSONToGson calls io.Copy, which eventually calls tls.Conn.Read
#3: cmd/collectors/collectorstest.go:48:18: collectors.JSONToGson calls io.Copy, which eventually calls tls.Conn.Write
#4: cmd/tools/rest/client.go:260:43: rest.downloadSwagger calls httputil.DumpRequestOut, which eventually calls tls.Dialer.DialContext
Your code is affected by 1 vulnerability from the Go standard library.
make: *** [govulncheck] Error 3