Fixing CVEs CVE-2023-39325, CVE-2023-3978, CVE-2023-44487 #241
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.
Fix #240
After change ran trivy scan to verify.
root@myvm:~# trivy image localhost:5000/openpolicyagent_kube-mgmt:8.5.3-2-g9fecc199-dirty
2023-11-21T06:39:40.196Z INFO Vulnerability scanning is enabled
2023-11-21T06:39:40.196Z INFO Secret scanning is enabled
2023-11-21T06:39:40.196Z INFO If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2023-11-21T06:39:40.196Z INFO Please see also https://aquasecurity.github.io/trivy/v0.44/docs/scanner/secret/#recommendation for faster secret detection
2023-11-21T06:39:40.628Z INFO Detected OS: alpine
2023-11-21T06:39:40.628Z INFO Detecting Alpine vulnerabilities...
2023-11-21T06:39:40.630Z INFO Number of language-specific files: 1
2023-11-21T06:39:40.630Z INFO Detecting gobinary vulnerabilities...
localhost:5000/openpolicyagent_kube-mgmt:8.5.3-2-g9fecc199-dirty (alpine 3.16.7)
Total: 2 (UNKNOWN: 0, LOW: 0, MEDIUM: 0, HIGH: 2, CRITICAL: 0)
┌──────────────┬───────────────┬──────────┬────────┬───────────────────┬───────────────┬───────────────────────────────────────────────────────┐
│ Library │ Vulnerability │ Severity │ Status │ Installed Version │ Fixed Version │ Title │
├──────────────┼───────────────┼──────────┼────────┼───────────────────┼───────────────┼───────────────────────────────────────────────────────┤
│ libcrypto1.1 │ CVE-2023-5678 │ HIGH │ fixed │ 1.1.1v-r0 │ 1.1.1w-r1 │ openssl: Generating excessively long X9.42 DH keys or │
│ │ │ │ │ │ │ checking excessively long X9.42... │
│ │ │ │ │ │ │ https://avd.aquasec.com/nvd/cve-2023-5678 │
├──────────────┤ │ │ │ │ │ │
│ libssl1.1 │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
│ │ │ │ │ │ │ │
└──────────────┴───────────────┴──────────┴────────┴───────────────────┴───────────────┴───────────────────────────────────────────────────────┘