Update golang.org/x/crypto to address security vulnerabilities
## ⚠️ Outdated golang.org/x/crypto Dependency
This repository is currently using **`golang.org/x/crypto v0.33.1`** but the latest version is **`v0.47.0`**.
> **Last scanned:** 2026-01-14 16:21 UTC
### Why Update?
Keeping cryptographic dependencies up-to-date is critical for security. Newer versions often include fixes for known vulnerabilities.
### 🔒 Security Vulnerabilities Fixed in Newer Versions
The following CVEs have been addressed in versions after v0.33.1:
- **CVE-2025-22869** (HIGH): golang.org/x/crypto Vulnerable to Denial of Service (DoS) via Slow or Incomplete Key Exchange - Fixed in `0.35.0` ([details](https://github.com/advisories/GHSA-hcg3-q754-cr77))
- **CVE-2025-47914** (MODERATE): golang.org/x/crypto/ssh/agent vulnerable to panic if message is malformed due to out of bounds read - Fixed in `0.45.0` ([details](https://github.com/advisories/GHSA-f6x5-jh6r-wrfv))
- **CVE-2025-58181** (MODERATE): golang.org/x/crypto/ssh allows an attacker to cause unbounded memory consumption - Fixed in `0.45.0` ([details](https://github.com/advisories/GHSA-j5w8-q4qc-rx2x))
### 📋 How to Update
Run the following command to update:
```bash
go get golang.org/x/crypto@v0.47.0
go mod tidy
```
Then run your tests and submit a PR with the changes.
### 🔗 Central Tracking
This issue is part of an organization-wide effort to keep `golang.org/x/crypto` dependencies up-to-date.
**See the central tracking issue for a full overview:** [redhat-best-practices-for-k8s/telco-bot#59](https://github.com/redhat-best-practices-for-k8s/telco-bot/issues/59)
---
*This issue is automatically managed by the [xcrypto-lookup.sh](https://github.com/redhat-best-practices-for-k8s/telco-bot/blob/main/scripts/xcrypto-lookup.sh) scanner.*
3 条评论