Misuse of connection.serverAuthenticate may cause authorization bypass in golang.org/x/crypto
Applications and libraries which misuse connection.serverAuthenticate (via callback field ServerConfig.PublicKeyCallback) may be susceptible to an authorization bypass. The documentation for ServerConfig.PublicKeyCallback says that "A call to this function does not guarantee that the key offered is in fact used to authenticate." Specifically, the SSH protocol allows clients to inquire about whether a public key is acceptable before proving control of the corresponding private key. PublicKeyCallback may be called with multiple keys, and the order in which the keys were provided cannot be used to infer which key the client successfully authenticated with, if any. Some applications, which store the key(s) passed to PublicKeyCallback (or derived information) and make security relevant determinations based on it once the connection is established, may make incorrect assumptions. For example, an attacker may send public keys A and B, and then authenticate with A. PublicKeyCallback would be called only twice, first with A and then with B. A vulnerable application may then make authorization decisions based on key B for which the attacker does not actually control the private key. Since this API is widely misused, as a partial mitigation golang.org/x/cry...@v0.31.0 enforces the property that, when successfully authenticating via public key, the last key passed to ServerConfig.PublicKeyCallback will be the key used to authenticate the connection. PublicKeyCallback will now be called multiple times with the same key, if necessary. Note that the client may still not control the last key passed to PublicKeyCallback if the connection is then authenticated with a different method, such as PasswordCallback, KeyboardInteractiveCallback, or NoClientAuth. Users should be using the Extensions field of the Permissions return value from the various authentication callbacks to record data associated with the authentication attempt instead of referencing external state. Once the connection is established the state corresponding to the successful authentication attempt can be retrieved via the ServerConn.Permissions field. Note that some third-party libraries misuse the Permissions type by sharing it across authentication attempts; users of third-party libraries should refer to the relevant projects for guidance.
- BDU:2024-11338
- GHSA-v778-237x-gjrc
- GO-2024-3321
- openSUSE-SU-2024:14573-1
- openSUSE-SU-2024:14585-1
- openSUSE-SU-2024:14590-1
- openSUSE-SU-2024:14592-1
- openSUSE-SU-2024:14593-1
- openSUSE-SU-2024:14595-1
- openSUSE-SU-2024:14599-1
- openSUSE-SU-2024:14602-1
- openSUSE-SU-2024:14604-1
- openSUSE-SU-2025:0025-1
- openSUSE-SU-2025:0056-1
- openSUSE-SU-2025:0094-1
- openSUSE-SU-2025:14613-1
- openSUSE-SU-2025:14633-1
- openSUSE-SU-2025:14641-1
- openSUSE-SU-2025:14660-1
- openSUSE-SU-2025:14713-1
- Yayın
- 11 Ara 2024
- Güncelleme
- 17 Haz 2026
- EPSS
- %3,2 · 88. yüzdelik
- CWE
- CWE-1108
Takip etmek için giriş yap · Takip ettiğin kayıt KEV’e girer, istismarı çıkar ya da güncellenirse bildirim alırsın.
Rapor araçları
Aksiyon skoru
37
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 36 / 40 · 9.1 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 1 / 30 · %3,2
CISA SSVC kararı
- Sömürü
- yok
- Otomatikleştirilebilir
- evet
- Teknik etki
- tam
Vulnrichment: CISA'nın karar ağacı girdileri.
Etkilenen sistemler
—
Üreticinin bildirdiği sürümler
Kaydı açan otorite (Go) tarafından bildirilen etkilenen sürüm aralıkları. NVD'nin CPE analizinden bağımsızdır ve genellikle ondan önce gelir.
golang.org/x/crypto golang.org/x/crypto/ssh
- 0.31.0 öncesietkilenir · semver
Paket düzeyi etkilenme
OSV ve GitHub Advisory verisi: ekosistem, paket ve aralık. SBOM eşleşmesi bu tabloyu kullanır.
| Ekosistem | Paket | Etkilenen aralık | Düzeltme |
|---|---|---|---|
| Debian:12 | golang-go.crypto | tüm sürümler | — |
| Debian:14 | golang-go.crypto | 1:0.42.0-1 öncesi | 1:0.42.0-1 |
| Go | golang.org/x/crypto | 0.31.0 öncesi | 0.31.0 |
| openSUSE:Leap 15.6 | vexctl | 0.4.1+git78.f951e3a-150000.1.11.1 öncesi | 0.4.1+git78.f951e3a-150000.1.11.1 |
| openSUSE:Leap 16.0 | git-bug | 0.10.1-bp160.1.1 öncesi | 0.10.1-bp160.1.1 |
| openSUSE:Leap 16.0 | gitea-tea | 0.15.1-bp160.1.1 öncesi | 0.15.1-bp160.1.1 |
| openSUSE:Leap 16.0 | google-guest-agent | 20250506.01-160000.1.1 öncesi | 20250506.01-160000.1.1 |
| openSUSE:Leap 16.0 | trivy | 0.66.0-bp160.1.1 öncesi | 0.66.0-bp160.1.1 |
| openSUSE:Leap 16.0 | vexctl | 0.4.4+git20.5d61136-160000.1.1 öncesi | 0.4.4+git20.5d61136-160000.1.1 |
| openSUSE:Tumbleweed | apptainer | 1.3.6-5.1 öncesi | 1.3.6-5.1 |
| openSUSE:Tumbleweed | cloudflared | 2024.12.1-1.1 öncesi | 2024.12.1-1.1 |
| openSUSE:Tumbleweed | git-bug | 0.8.0+git.1733745604.d499b6e-1.1 öncesi | 0.8.0+git.1733745604.d499b6e-1.1 |
| openSUSE:Tumbleweed | gitleaks | 8.24.2-1.1 öncesi | 8.24.2-1.1 |
| openSUSE:Tumbleweed | golang-github-prometheus-prometheus | 3.1.0-1.1 öncesi | 3.1.0-1.1 |
| openSUSE:Tumbleweed | google-guest-agent | 20250327.01-1.1 öncesi | 20250327.01-1.1 |
| openSUSE:Tumbleweed | gopass | 1.15.16-1.1 öncesi | 1.15.16-1.1 |
| openSUSE:Tumbleweed | govulncheck-vulndb | 0.0.20241213T205935-1.1 öncesi | 0.0.20241213T205935-1.1 |
| openSUSE:Tumbleweed | grafana | 11.3.0-4.1 öncesi | 11.3.0-4.1 |
| openSUSE:Tumbleweed | helm | 3.16.4-1.1 öncesi | 3.16.4-1.1 |
| openSUSE:Tumbleweed | helm3 | 3.19.2-1.1 öncesi | 3.19.2-1.1 |
| openSUSE:Tumbleweed | loki | 3.3.2-1.1 öncesi | 3.3.2-1.1 |
| openSUSE:Tumbleweed | minikube | 1.36.0-2.1 öncesi | 1.36.0-2.1 |
| openSUSE:Tumbleweed | rclone | 1.69.0-1.1 öncesi | 1.69.0-1.1 |
| openSUSE:Tumbleweed | rime-plum-go | 1.0.3-1.1 öncesi | 1.0.3-1.1 |
+59
Aynı üründe
golang.org/x/crypto: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2026-56854Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh30İzleyin
Düzeltme
Hangi sürüme geçmeli
Üretici, paket deposu ve Microsoft kayıtlarından derlenen düzeltme sürümleri. Yükseltmeden önce üreticinin notunu doğrulayın.
| Ürün / paket | Düzeltilmiş sürüm | Kaynak |
|---|---|---|
| golang.org/x/crypto golang.org/x/crypto/ssh | 0.31.0 | Üretici (CNA) |
| debian:golang-go.crypto | 1:0.42.0-1 · Debian:14 | Paket deposu (OSV) |
| Go:golang.org/x/crypto | 0.31.0 | Paket deposu (OSV) |
| opensuse:dracut-saltboot | 0.1.1728559936.c16d4fb-150000.1.56.1 · openSUSE:Leap 15.6 | Paket deposu (OSV) |
| opensuse:golang-github-prometheus-promu | 0.17.0-150000.3.24.1 · openSUSE:Leap 15.6 | Paket deposu (OSV) |
| opensuse:kubevirt | 1.4.1-150600.5.24.1 · openSUSE:Leap 15.6 | Paket deposu (OSV) |
| red hat:rosa | 0:1.2.53-5be4e19.el8 · Red Hat:openshift_service_on_aws:1::el8 | Paket deposu (OSV) |
| red hat:rosa-redistributable | 0:1.2.53-5be4e19.el8 · Red Hat:openshift_service_on_aws:1::el8 | Paket deposu (OSV) |
| suse:dracut-saltboot | 0.1.1728559936.c16d4fb-150000.1.56.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| suse:golang-github-prometheus-prometheus | 2.53.3-1.56.1 · SUSE:Manager Client Tools 12 | Paket deposu (OSV) |
| suse:golang-github-prometheus-prometheus | 2.53.3-150000.3.59.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| suse:golang-github-prometheus-promu | 0.17.0-1.24.1 · SUSE:Manager Client Tools 12 | Paket deposu (OSV) |
| suse:golang-github-prometheus-promu | 0.17.0-150000.3.24.1 · SUSE:Linux Enterprise Module for Package Hub 15 SP6 | Paket deposu (OSV) |
| suse:grafana | 10.4.13-1.66.2 · SUSE:Manager Client Tools 12 | Paket deposu (OSV) |
| suse:grafana | 10.4.13-150000.1.66.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| suse:kubevirt | 1.4.1-150600.5.24.1 · SUSE:Linux Enterprise Module for Containers 15 SP6 | Paket deposu (OSV) |
| suse:kubevirt | 1.5.2-150700.3.5.2 · SUSE:Linux Enterprise Module for Containers 15 SP7 | Paket deposu (OSV) |
| suse:release-notes-susemanager | 4.3.15.2-150400.3.133.1 · SUSE:Manager Server 4.3 | Paket deposu (OSV) |
| suse:spacecmd | 5.0.11-150000.3.130.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| suse:spacecmd | 5.0.11-38.153.1 · SUSE:Manager Client Tools 12 | Paket deposu (OSV) |
| suse:supportutils-plugin-salt | 1.2.3-150000.3.16.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| suse:supportutils-plugin-salt | 1.2.3-6.25.1 · SUSE:Manager Client Tools 12 | Paket deposu (OSV) |
| suse:supportutils-plugin-susemanager-client | 5.0.4-150000.3.27.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
| suse:supportutils-plugin-susemanager-client | 5.0.4-6.33.1 · SUSE:Manager Client Tools 12 | Paket deposu (OSV) |
| suse:uyuni-tools | 0.1.28-1.16.1 · SUSE:Manager Client Tools 12 | Paket deposu (OSV) |
| suse:uyuni-tools | 0.1.28-150000.1.16.1 · SUSE:Manager Client Tools 15 | Paket deposu (OSV) |
İstismar durumu
Kavram kanıtı mevcut
Kamuya açık bir kavram kanıtı ya da tespit imzası var. İstismar bilgisi dışarıda; yamayı geciktirmeyin.
Kanıt
- GitHub’da kavram kanıtı deposu ×4
Noroxi istismar kodu barındırmaz ve istismar bağlantısı vermez. Metasploit modül adı ve Nuclei şablon kimliği gösterilir (kod değil, ad); Exploit-DB kayıtları ve PoC depoları yalnızca sayı olarak verilir.
| Kaynak | Tür | Tarih |
|---|---|---|
| GitHub’da kavram kanıtı deposu | stars:6 | 2024-12-17 |
| GitHub’da kavram kanıtı deposu | stars:1 | 2024-12-17 |
| GitHub’da kavram kanıtı deposu | stars:1 | 2025-01-24 |
| GitHub’da kavram kanıtı deposu | stars:0 | 2026-04-13 |
Araştırma bağlamı
Pentester ve araştırmacı için: saldırı profili, puan anlaşmazlığı, zaman çizelgesi, yama commit’leri, kredi, varyant ve zincir adayları, bug bounty kapsamı. Hepsi mevcut veriden türetilir; istismar kodu içermez.
Zaman çizelgesi
Yayından bugüne: kavram kanıtı, Metasploit modülü, CISA KEV ve düzeltme kaydı. Tarihler kaynakların bildirdiği tarihlerdir.
- Yayın
- İlk kavram kanıtı+5 gün
- Bugün30 Eyl 2026+658 gün
FIRST EPSS günlük puanı; yalnızca 0,01 ve üstü değişimler kaydedilir (adım grafiği).
Yama ve commit bağlantıları
Referanslardaki commit, PR ve diff adresleri. Patch-diff ve varyant avı için başlangıç noktası; istismar değil, düzeltmedir.
Kredi
Tüm araştırmacılarCNA kaydında adı geçen bulan, bildiren ve analistler. Ada tıkla, aynı araştırmacının diğer kayıtlarını gör.
Varyant adayları
Aynı üründe aynı zafiyet sınıfı, 18 ay içinde. Yama kök nedeni kapatmadıysa kardeş hata burada olur.
Gece hesaplanan ilişki yok.
Zincir adayları
Aynı üründe kimlik doğrulama atlatma ile yetki isteyen bir açık kısa aralıkla yayımlanmış: birlikte kimlik doğrulamasız bir yola dönüşebilir.
—
Bug bounty kapsamı
Bilinen herkese açık program yok.
Kaynak: bounty-targets-data (HackerOne, Bugcrowd, Intigriti, YesWeHack herkese açık listeleri).
Teknik detay
Saldırı koşulları
- İnternetten erişebilen herkes tetikleyebilir.
- Hesap ya da parola gerekmez.
- Kullanıcının bir şey yapması gerekmez.
- Özel bir koşul gerekmez; tekrarlanabilir.
Başarılı olursa
- Gizlilik
- yüksek · veriler okunabilir
- Bütünlük
- yüksek · veri ya da yapılandırma değiştirilebilir
- Erişilebilirlik
- yok
- Saldırı vektörü
- Ağ
- Karmaşıklık
- Düşük
- Gereken yetki
- Yok
- Kullanıcı etkileşimi
- Gerekmez
- Kapsam
- Değişmez
- Gizlilik etkisi
- Yüksek
- Bütünlük etkisi
- Yüksek
- Erişilebilirlik etkisi
- Yok
Zayıflık sınıfı (CWE)
CWE-1108 · Excessive Reliance on Global VariablesCVSS vektörü
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
nvd-secondary
Saldırı bağlamı
Bu zafiyet sınıfının (CWE) MITRE CAPEC saldırı desenleri ve ATT&CK teknikleri. Tespit kuralı ve tehdit avı için başlangıç noktası.
Bu CWE için MITRE'de CAPEC/ATT&CK eşlemesi yok.
Noroxi analizi
Bu kayıt için henüz Noroxi analizi yok
385 binden fazla zafiyetin tamamına elle analiz yazmıyoruz; bu dürüst olmazdı. Öne çıkan ve sahada etkisi olan zafiyetler için mekanizma, tespit ve kapatma adımlarını ekibimiz yazıyor.
Bu ürünü kullanıyoruz, yardım isteyinDeğişiklik günlüğü
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
- www.openwall.com/lists/oss-security/2024/12/11/2
- security.netapp.com/advisory/ntap-20250131-0007/
- github.com/golang/crypto/commit/b4f1988a35dee11ec3e05d6bf3e90b695fbd8909
- go.dev/cl/635315
- go.dev/issue/70779
- groups.google.com/g/golang-announce/c/-nPEi39gI4Q/m/cGVPJCqdAQAJ
- pkg.go.dev/vuln/GO-2024-3321
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.