-
Notifications
You must be signed in to change notification settings - Fork 37
update .govulncheck.yaml #556
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
update .govulncheck.yaml #556
Conversation
WalkthroughThe Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes
Possibly related PRs
Suggested reviewers
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (1 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Nitpick comments (1)
.govulncheck.yaml (1)
1-7: Consider adding a file-level comment documenting the temporary nature.To improve maintainability and prevent accidental prolonged suppression, add a brief file header explaining this is a temporary measure tied to the Go 1.24 upgrade initiative.
+# Temporary vulnerability suppressions pending Go 1.24 upgrade +# See: https://github.com/codeready-toolchain/[related-upgrade-tracking] +# Planned removal date: When OpenShift 4.20 is available and Go 1.24 upgrade is complete ignored-vulnerabilities: # Panic when validating certificates with DSA public keys in crypto/x509
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.govulncheck.yaml(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Build & push operator bundles for e2e tests
| ignored-vulnerabilities: | ||
| # Panic when validating certificates with DSA public keys in crypto/x509 | ||
| # Found in: crypto/[email protected] | ||
| # Fixed in: crypto/[email protected] | ||
| - 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/[email protected] | ||
| # Fixed in: net/[email protected] | ||
| - 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/[email protected] | ||
| # Fixed in: encoding/[email protected] | ||
| - 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/[email protected] | ||
| # Fixed in: net/[email protected] | ||
| - 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/[email protected] | ||
| # Fixed in: encoding/[email protected] | ||
| - 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/[email protected] | ||
| # Fixed in: crypto/[email protected] | ||
| - 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/[email protected] | ||
| # Fixed in: crypto/[email protected] | ||
| - id: GO-2025-4007 | ||
| info: https://pkg.go.dev/vuln/GO-2025-4007 | ||
| silence-until: 2025-12-03 No newline at end of file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 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 -20Length 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"
doneLength 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"
doneLength 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.
MatousJobanek
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
/lgtm
/retest
infra issue
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: alexeykazakov, MatousJobanek, rsoaresd, xcoulon The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #556 +/- ##
=======================================
Coverage 81.60% 81.60%
=======================================
Files 46 46
Lines 2799 2799
=======================================
Hits 2284 2284
Misses 429 429
Partials 86 86
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
b91359d
into
codeready-toolchain:master



Description
We are hitting a lot of vuns in govulncheck. This PR adds them to
.govulncheck.yamlto ignore them. This is just temporary since we will upgrade go version to 1.24 once we have our clusters using Openshift 4.20Related PR
codeready-toolchain/api#490
codeready-toolchain/toolchain-common#497
codeready-toolchain/host-operator#1212
codeready-toolchain/member-operator#708
codeready-toolchain/toolchain-e2e#1219
kubesaw/ksctl#131
Summary by CodeRabbit