Skip to content
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

Go crypto vulnerability #1497

Open
thomas9911 opened this issue Dec 18, 2024 · 0 comments
Open

Go crypto vulnerability #1497

thomas9911 opened this issue Dec 18, 2024 · 0 comments

Comments

@thomas9911
Copy link

Environment info

  • noobaa-operator: 5.17.1
  • Platform: (tested on) Ubuntu + Alpine

Actual behavior

When running trivy on an image that has the noobaa-operator installed:

trivy image -s CRITICAL --exit-code 1 --no-progress --ignore-unfixed image-with-noobaa-operator

usr/local/bin/noobaa-operator (gobinary)

Total: 1 (CRITICAL: 1)

┌─────────────────────┬────────────────┬──────────┬───────────────────┬───────────────┬────────────────────────────────────────────────────────┐
│       Library       │ Vulnerability  │ Severity │ Installed Version │ Fixed Version │                         Title                          │
├─────────────────────┼────────────────┼──────────┼───────────────────┼───────────────┼────────────────────────────────────────────────────────┤
│ golang.org/x/crypto │ CVE-2024-45337 │ CRITICAL │ v0.26.0           │ 0.31.0        │ golang.org/x/crypto/ssh: Misuse of                     │
│                     │                │          │                   │               │ ServerConfig.PublicKeyCallback may cause authorization │
│                     │                │          │                   │               │ bypass in golang.org/x/crypto                          │
│                     │                │          │                   │               │ https://avd.aquasec.com/nvd/cve-2024-45337             │
└─────────────────────┴────────────────┴──────────┴───────────────────┴───────────────┴────────────────────────────────────────────────────────┘

Expected behavior

Noobaa uses crypto >= 0.31.0

Steps to reproduce

  1. copy noobaa-operator in a folder
  2. run echo -e "from scratch\nadd noobaa-operator noobaa-operator" > Dockerfile
  3. run docker build -t noobaa-crypto .
  4. run trivy image -s CRITICAL --exit-code 1 --no-progress --ignore-unfixed noobaa-crypto

More information - Screenshots / Logs / Other output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant