Open aramase opened 2 months ago
I will rebuild that in the next cycle
/assign
Looks like go-runner also needs update:
go-runner (gobinary)
====================
Total: 1 (HIGH: 1, CRITICAL: 0)
┌─────────┬────────────────┬──────────┬────────┬───────────────────┬────────────────┬───────────────────────────────────────────────────────────┐
│ Library │ Vulnerability │ Severity │ Status │ Installed Version │ Fixed Version │ Title │
├─────────┼────────────────┼──────────┼────────┼───────────────────┼────────────────┼───────────────────────────────────────────────────────────┤
│ stdlib │ CVE-2024-[34](https://github.com/Azure/kube-egress-gateway/actions/runs/10803240810/job/29966762466?pr=718#step:9:35)156 │ HIGH │ fixed │ 1.23.0 │ 1.22.7, 1.23.1 │ encoding/gob: golang: Calling Decoder.Decode on a message │
│ │ │ │ │ │ │ which contains deeply nested structures... │
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2024-34156 │
└─────────┴────────────────┴──────────┴────────┴───────────────────┴────────────────┴───────────────────────────────────────────────────────────┘
We don't actually use OpenSSL? Or we shouldn't be (should be go stdlib crypto)
We can probably drop this from the image. I can't think why we even have it.
Something to investigate for sure ...
registry.k8s.io/build-image/distroless-iptables:v0.6.3 is fine, but we are stopping effort on go1.22.7/1.23.1 , and moving to go1.22.8/1.23.2, so v0.6.4 should be available soon.
trivy image --exit-code 1 --ignore-unfixed --severity MEDIUM,HIGH,CRITICAL registry.k8s.io/build-image/distroless-iptables:v0.6.3
2024-10-15T09:09:13.611-0700 INFO Need to update DB
2024-10-15T09:09:13.611-0700 INFO DB Repository: ghcr.io/aquasecurity/trivy-db
2024-10-15T09:09:13.611-0700 INFO Downloading DB...
54.29 MiB / 54.29 MiB [---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------] 100.00% 36.30 MiB p/s 1.7s
2024-10-15T09:09:15.770-0700 INFO Vulnerability scanning is enabled
2024-10-15T09:09:15.770-0700 INFO Secret scanning is enabled
2024-10-15T09:09:15.770-0700 INFO If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2024-10-15T09:09:15.770-0700 INFO Please see also https://aquasecurity.github.io/trivy/v0.47/docs/scanner/secret/#recommendation for faster secret detection
2024-10-15T09:09:16.124-0700 INFO Detected OS: debian
2024-10-15T09:09:16.124-0700 INFO Detecting Debian vulnerabilities...
2024-10-15T09:09:16.125-0700 INFO Number of language-specific files: 0
registry.k8s.io/build-image/distroless-iptables:v0.6.3 (debian 12.7)
Total: 0 (MEDIUM: 0, HIGH: 0, CRITICAL: 0)
What happened:
CVE in
registry.k8s.io/build-image/distroless-iptables:v0.6.2
imageWhat you expected to happen:
New distroless-iptables images with CVEs resolved.