Skip to content

Commit 72303aa

Browse files
authored
govulncheck: run from a container (#494)
see changes for the govulncheck-action in codeready-toolchain/toolchain-cicd#159 also, update ignored vulnerabilities (remove obsolete and unneeded 🤷‍♂️) also, new vuln exclusions --------- Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
1 parent b7a2d11 commit 72303aa

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

.github/workflows/govulncheck.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@ jobs:
1616
- name: Run govulncheck
1717
uses: codeready-toolchain/toolchain-cicd/govulncheck-action@master
1818
with:
19-
go-version-file: go.mod
20-
cache: false
21-
config: .govulncheck.yaml
19+
config: .govulncheck.yaml
20+
debug: true # optional (default = false)

.govulncheck.yaml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,26 @@
11
ignored-vulnerabilities:
2-
# Parsing DER payload can cause memory exhaustion in encoding/asn1
3-
# Found in: encoding/asn1@go1.23.12
4-
# Fixed in: encoding/asn1@go1.24.8
5-
- id: GO-2025-4011
6-
info: https://pkg.go.dev/vuln/GO-2025-4011
7-
silence-until: 2025-12-03
8-
# Insufficient validation of bracketed IPv6 hostnames in net/url
2+
# Insufficient validation of bracketed IPv6 hostnames in net/url
93
# Found in: net/url@go1.23.12
104
# Fixed in: net/url@go1.24.8
115
- id: GO-2025-4010
126
info: https://pkg.go.dev/vuln/GO-2025-4010
13-
silence-until: 2025-12-03
14-
# Quadratic complexity when parsing some invalid inputs in encoding/pem
15-
# Found in: encoding/pem@go1.23.12
16-
# Fixed in: encoding/pem@go1.24.8
17-
- id: GO-2025-4009
18-
info: https://pkg.go.dev/vuln/GO-2025-4009
19-
silence-until: 2025-12-03
7+
silence-until: 2026-01-03
208
# Quadratic complexity when checking name constraints in crypto/x509
219
# Found in: crypto/x509@go1.23.12
2210
# Fixed in: crypto/x509@go1.24.9
2311
- id: GO-2025-4007
2412
info: https://pkg.go.dev/vuln/GO-2025-4007
25-
silence-until: 2025-12-03
13+
silence-until: 2026-01-10
14+
# Quadratic complexity when parsing some invalid inputs in encoding/pem
15+
# Found in: encoding/pem@go1.23.12
16+
# Fixed in: encoding/pem@go1.24.8
17+
- id: GO-2025-4009
18+
info: https://pkg.go.dev/vuln/GO-2025-4009
19+
silence-until: 2026-01-10
20+
# Parsing DER payload can cause memory exhaustion in encoding/asn1
21+
# Found in: encoding/asn1@go1.23.12
22+
# Fixed in: encoding/asn1@go1.24.8
23+
- id: GO-2025-4011
24+
info: https://pkg.go.dev/vuln/GO-2025-4011
25+
silence-until: 2026-01-10
26+

0 commit comments

Comments
 (0)