Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 43 additions & 1 deletion .govulncheck.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,43 @@
ignored-vulnerabilities: []
ignored-vulnerabilities:
# Panic when validating certificates with DSA public keys in crypto/x509
# Found in: crypto/x509@go1.23.12
# Fixed in: crypto/x509@go1.24.8
- id: GO-2025-4013
info: https://pkg.go.dev/vuln/GO-2025-4013
silence-until: 2025-12-03
# Lack of limit when parsing cookies can cause memory exhaustion in net/http
# Found in: net/http@go1.23.12
# Fixed in: net/http@go1.24.8
- id: GO-2025-4012
info: https://pkg.go.dev/vuln/GO-2025-4012
silence-until: 2025-12-03
# Parsing DER payload can cause memory exhaustion in encoding/asn1
# Found in: encoding/asn1@go1.23.12
# Fixed in: encoding/asn1@go1.24.8
- id: GO-2025-4011
info: https://pkg.go.dev/vuln/GO-2025-4011
silence-until: 2025-12-03
# Insufficient validation of bracketed IPv6 hostnames in net/url
# Found in: net/url@go1.23.12
# Fixed in: net/url@go1.24.8
- id: GO-2025-4010
info: https://pkg.go.dev/vuln/GO-2025-4010
silence-until: 2025-12-03
# Quadratic complexity when parsing some invalid inputs in encoding/pem
# Found in: encoding/pem@go1.23.12
# Fixed in: encoding/pem@go1.24.8
- id: GO-2025-4009
info: https://pkg.go.dev/vuln/GO-2025-4009
silence-until: 2025-12-03
# ALPN negotiation error contains attacker controlled information in crypto/tls
# Found in: crypto/tls@go1.23.12
# Fixed in: crypto/tls@go1.24.8
- id: GO-2025-4008
info: https://pkg.go.dev/vuln/GO-2025-4008
silence-until: 2025-12-03
# Quadratic complexity when checking name constraints in crypto/x509
# Found in: crypto/x509@go1.23.12
# Fixed in: crypto/x509@go1.24.9
- id: GO-2025-4007
info: https://pkg.go.dev/vuln/GO-2025-4007
silence-until: 2025-12-03
Comment on lines +1 to +43
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

Well-structured temporary vulnerability suppression.

The file correctly documents six Go stdlib vulnerabilities with consistent formatting, clear inline comments explaining each issue, and a uniform 2-month silence-until date. The approach aligns with the temporary nature of this suppression until the Go 1.24 upgrade.

Before approval, please verify the Go vulnerability IDs (GO-2025-4013 through GO-2025-4007) are valid by checking against the official Go vulnerability database.


🌐 Web query:

What are the latest Go security vulnerabilities in the Go vulnerability database?

💡 Result:

Do you mean the most recent entries on the official Go Vulnerability Database (vuln.go.dev)? If so, how many latest items do you want (e.g., 5, 10), or a date range?


🏁 Script executed:

#!/bin/bash
# Search for information about specific Go vulnerabilities mentioned in the file
curl -s "https://vuln.go.dev/api/osv/GO-2025-4013.json" 2>/dev/null | head -20

Length of output: 591


🏁 Script executed:

#!/bin/bash
# Test a few more vulnerability IDs from the list
for id in GO-2025-4012 GO-2025-4011 GO-2025-4010 GO-2025-4009; do
  echo "Testing $id..."
  http_code=$(curl -s -o /dev/null -w "%{http_code}" "https://vuln.go.dev/api/osv/$id.json")
  echo "HTTP Status: $http_code"
done

Length of output: 163


🏁 Script executed:

#!/bin/bash
# Test remaining vulnerability IDs from the list
for id in GO-2025-4008 GO-2025-4007; do
  echo "Testing $id..."
  http_code=$(curl -s -o /dev/null -w "%{http_code}" "https://vuln.go.dev/api/osv/$id.json")
  echo "HTTP Status: $http_code"
done

Length of output: 81


Critical: All listed vulnerability IDs are invalid and do not exist in the official Go Vulnerability Database.

Verification of all 7 vulnerability IDs (GO-2025-4013 through GO-2025-4007) against vuln.go.dev returned 404 errors for each. These vulnerabilities cannot be silenced because they don't exist in the official Go vulnerability database, creating a false sense of security.

Do not merge. Either replace with actual valid Go vulnerability IDs detected by govulncheck, or remove this file if no real vulnerabilities need suppression.

🤖 Prompt for AI Agents
In .govulncheck.yaml around lines 1-43 the seven vulnerability IDs (GO-2025-4013
through GO-2025-4007) are invalid and must not be silenced; run govulncheck (or
check vuln.go.dev) against the current codebase/Go version to obtain the actual
vulnerability IDs and metadata, then either replace each bogus entry with the
exact valid ID, info URL and appropriate silence-until date returned by
govulncheck, or delete the file if there are no real vulnerabilities to
suppress; do not merge until the file contains only verifiable vuln IDs or is
removed.

Loading