k8sgpt-ai/k8sgpt

[BUG]: Duplicate CVE

Closed this issue · 1 comments

Checklist

  • I've searched for similar issues and couldn't find anything matching
  • I've included steps to reproduce the behavior

Affected Components

  • K8sGPT (CLI)
  • K8sGPT Operator

K8sGPT Version

v0.3.37

Kubernetes Version

v1.21

Host OS and its Version

No response

Steps to reproduce

  1. Enable Trivy
  2. Install a KIND Cluster and enabled argocd
  3. Run alanlyzer
root@gyliu-dev21:~# k8sgpt integrations list
Active:
> trivy
Unused:
> aws
> keda
> prometheus
root@gyliu-dev21:~# k8sgpt  analyze
AI Provider: AI not used; --explain not set

0: VulnerabilityReport kube-system/daemonset-kube-proxy-kube-proxy(DaemonSet/kube-proxy)
- Error: critical Vulnerability found ID: CVE-2024-24790 (learn more at: https://avd.aquasec.com/nvd/cve-2024-24790)
- Error: critical Vulnerability found ID: CVE-2024-24790 (learn more at: https://avd.aquasec.com/nvd/cve-2024-24790)

1: VulnerabilityReport argocd/replicaset-argocd-redis-867d4785f-secret-init(Deployment/argocd-redis)
- Error: critical Vulnerability found ID: CVE-2024-24790 (learn more at: https://avd.aquasec.com/nvd/cve-2024-24790)
- Error: critical Vulnerability found ID: CVE-2024-24790 (learn more at: https://avd.aquasec.com/nvd/cve-2024-24790)
- Error: critical Vulnerability found ID: CVE-2024-24790 (learn more at: https://avd.aquasec.com/nvd/cve-2024-24790)

2: VulnerabilityReport argocd/replicaset-argocd-repo-server-5744559fff-copyutil(Deployment/argocd-repo-server)
- Error: critical Vulnerability found ID: CVE-2024-24790 (learn more at: https://avd.aquasec.com/nvd/cve-2024-24790)
- Error: critical Vulnerability found ID: CVE-2024-24790 (learn more at: https://avd.aquasec.com/nvd/cve-2024-24790)
- Error: critical Vulnerability found ID: CVE-2024-24790 (learn more at: https://avd.aquasec.com/nvd/cve-2024-24790)

Expected behaviour

Can we remove duplicate CVEs?

Actual behaviour

No response

Additional Information

No response

Hi, There

I will work on fixing of this issue, and create a PR soon, thanks!