rust openssl ssl::select_next_proto use after free
rust-openssl is a set of OpenSSL bindings for the Rust programming language. In affected versions `ssl::select_next_proto` can return a slice pointing into the `server` argument's buffer but with a lifetime bound to the `client` argument. In situations where the `sever` buffer's lifetime is shorter than the `client` buffer's, this can cause a use after free. This could cause the server to crash or to return arbitrary memory contents to the client. The crate`openssl` version 0.10.70 fixes the signature of `ssl::select_next_proto` to properly constrain the output buffer's lifetime to that of both input buffers. Users are advised to upgrade. In standard usage of `ssl::select_next_proto` in the callback passed to `SslContextBuilder::set_alpn_select_callback`, code is only affected if the `server` buffer is constructed *within* the callback.
- BDU:2025-11081
- GHSA-rpmj-rpgj-qmpm
- ALSA-2025:7147
- ALSA-2025:7160
- ALSA-2025:7241
- ALSA-2025:7313
- ALSA-2025:7317
- DLA-4049-1
- openSUSE-SU-2025:14814-1
- openSUSE-SU-2026:21464-1
- RHSA-2025:7147
- RHSA-2025:7160
- RHSA-2025:7241
- RHSA-2025:7313
- RHSA-2025:7317
- RLSA-2025:7160
- RLSA-2025:7241
- RLSA-2025:7313
- RLSA-2025:7317
- RUSTSEC-2025-0004
- Yayın
- 3 Şub 2025
- Güncelleme
- 17 Haz 2026
- EPSS
- %0,7 · 51. yüzdelik
- CWE
- CWE-416
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
25
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 25 / 40 · 6.3 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %0,7
CISA SSVC kararı
- Sömürü
- yok
- Otomatikleştirilebilir
- hayır
- Teknik etki
- kısmi
Vulnrichment: CISA'nın karar ağacı girdileri.
CNA ile NVD puanı
- NVD
- —
- CNA · GitHub_M
- 6,3
- NVD henüz kendi puanını vermedi; gösterilen puan CNA’nın.
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
Kaydı açan otoritenin puanı ile NVD’nin bağımsız puanı. İki puan arasındaki fark ciddiyetin tartışmalı olduğunu gösterir.
Noroxi analizi
Bu kayıt için henüz Noroxi analizi yok
Veritabanındaki yüz binlerce 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 isteyinEtkilenen sistemler
—
Üreticinin bildirdiği sürümler
Kaydı açan otorite (GitHub_M) tarafından bildirilen etkilenen sürüm aralıkları. NVD'nin CPE analizinden bağımsızdır ve genellikle ondan önce gelir.
sfackler rust-openssl
- >= 0.10.0, < 0.10.70etkilenir
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 |
|---|---|---|---|
| AlmaLinux:9 | bootc | 1.1.6-3.el9_6 öncesi | 1.1.6-3.el9_6 |
| AlmaLinux:9 | bootupd | 0.2.27-3.el9 öncesi | 0.2.27-3.el9 |
| AlmaLinux:9 | keylime-agent-rust | 0.2.2-2.el9 öncesi | 0.2.2-2.el9 |
| AlmaLinux:9 | python3.12-cryptography | 41.0.7-2.el9 öncesi | 41.0.7-2.el9 |
| AlmaLinux:9 | rpm-ostree | 2025.5-1.el9 öncesi | 2025.5-1.el9 |
| AlmaLinux:9 | rpm-ostree-libs | 2025.5-1.el9 öncesi | 2025.5-1.el9 |
| AlmaLinux:9 | system-reinstall-bootc | 1.1.6-3.el9_6 öncesi | 1.1.6-3.el9_6 |
| crates.io | openssl | 0.0.0-0 itibarıyla · 0.10.70 öncesi | 0.10.70 |
| crates.io | openssl | 0.10.0 itibarıyla · 0.10.70 öncesi | 0.10.70 |
| Debian:11 | rust-openssl | 0.10.29-1+deb11u1 öncesi | 0.10.29-1+deb11u1 |
| Debian:12 | rust-openssl | tüm sürümler | — |
| Debian:13 | rust-openssl | 0.10.70-1 öncesi | 0.10.70-1 |
| openSUSE:Leap 16.0 | libkrun | 1.4.10-160000.3.1 öncesi | 1.4.10-160000.3.1 |
| openSUSE:Tumbleweed | obs-service-cargo | 4.5.0-2.1 öncesi | 4.5.0-2.1 |
| Red Hat:enterprise_linux:9::appstream | bootc | 0:1.1.6-3.el9_6 öncesi | 0:1.1.6-3.el9_6 |
| Red Hat:enterprise_linux:9::appstream | bootc-debuginfo | 0:1.1.6-3.el9_6 öncesi | 0:1.1.6-3.el9_6 |
| Red Hat:enterprise_linux:9::appstream | bootc-debugsource | 0:1.1.6-3.el9_6 öncesi | 0:1.1.6-3.el9_6 |
| Red Hat:enterprise_linux:9::appstream | bootupd | 0:0.2.27-3.el9 öncesi | 0:0.2.27-3.el9 |
| Red Hat:enterprise_linux:9::appstream | bootupd-debuginfo | 0:0.2.27-3.el9 öncesi | 0:0.2.27-3.el9 |
| Red Hat:enterprise_linux:9::appstream | keylime-agent-rust | 0:0.2.2-2.el9 öncesi | 0:0.2.2-2.el9 |
| Red Hat:enterprise_linux:9::appstream | keylime-agent-rust-debuginfo | 0:0.2.2-2.el9 öncesi | 0:0.2.2-2.el9 |
| Red Hat:enterprise_linux:9::appstream | keylime-agent-rust-debugsource | 0:0.2.2-2.el9 öncesi | 0:0.2.2-2.el9 |
| Red Hat:enterprise_linux:9::appstream | python3.12-cryptography | 0:41.0.7-2.el9 öncesi | 0:41.0.7-2.el9 |
| Red Hat:enterprise_linux:9::appstream | python3.12-cryptography-debuginfo | 0:41.0.7-2.el9 öncesi | 0:41.0.7-2.el9 |
+16
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 |
|---|---|---|
| almalinux:bootc | 1.1.6-3.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:bootupd | 0.2.27-3.el9 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:keylime-agent-rust | 0.2.2-2.el9 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:python3.12-cryptography | 41.0.7-2.el9 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:rpm-ostree | 2025.5-1.el9 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:rpm-ostree-libs | 2025.5-1.el9 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:system-reinstall-bootc | 1.1.6-3.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| crates.io:openssl | 0.10.70 | Paket deposu (OSV) |
| debian:rust-openssl | 0.10.70-1 · Debian:13 | Paket deposu (OSV) |
| opensuse:libkrun | 1.4.10-160000.3.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:obs-service-cargo | 4.5.0-2.1 · openSUSE:Tumbleweed | Paket deposu (OSV) |
| red hat:bootc | 0:1.1.6-3.el9_6 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:bootc-debuginfo | 0:1.1.6-3.el9_6 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:bootc-debugsource | 0:1.1.6-3.el9_6 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:bootupd | 0:0.2.27-3.el9 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:bootupd-debuginfo | 0:0.2.27-3.el9 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:rpm-ostree | 0:2025.5-1.el9 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:rpm-ostree-debuginfo | 0:2025.5-1.el9 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:rpm-ostree-debugsource | 0:2025.5-1.el9 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:rpm-ostree-libs | 0:2025.5-1.el9 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:rpm-ostree-libs-debuginfo | 0:2025.5-1.el9 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:system-reinstall-bootc | 0:1.1.6-3.el9_6 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:system-reinstall-bootc-debuginfo | 0:1.1.6-3.el9_6 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| rocky linux:bootc | 0:1.1.6-3.el9_6 · Rocky Linux:9 | Paket deposu (OSV) |
| rocky linux:keylime-agent-rust | 0:0.2.2-2.el9 · Rocky Linux:9 | Paket deposu (OSV) |
| rocky linux:python3.12-cryptography | 0:41.0.7-2.el9 · Rocky Linux:9 | Paket deposu (OSV) |
| rocky linux:rust-bootupd | 0:0.2.27-3.el9 · Rocky Linux:9 | Paket deposu (OSV) |
| suse:libkrun | 1.4.10-2.1 · SUSE:Linux Micro 6.0 | Paket deposu (OSV) |
İstismar durumu
Bilinen kamuya açık istismar yok
Şu an kamuya açık bir istismar görülmedi. Bu, güvende olduğunuz anlamına gelmez; yalnızca eşiğin biraz daha yüksek olduğunu gösterir.
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 dışında tarihli olay yok.
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.
CNA kaydında kredi yok.
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.
- Zamanlama ya da yapılandırma gibi özel koşullar gerekir.
Başarılı olursa
- Gizlilik
- Bütünlük
- Erişilebilirlik
- Saldırı vektörü
- Ağ
- Karmaşıklık
- Yüksek
- Gereken yetki
- Yok
- Kullanıcı etkileşimi
- Gerekmez
- Kapsam
- X
Zayıflık sınıfı (CWE)
CWE-416 · Use After FreeCVSS vektörü
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
nvd-secondary
Kök neden
Bir bellek alanı serbest bırakıldıktan sonra ona işaret eden başka bir referans kullanılmaya devam ediyor. Aynı alan o sırada başka bir veri için ayrılmış olabilir.
Hatanın kod karşılığı
CWE-416 sınıfının tamamıBu zafiyet sınıfının temsili örneği. Üreticinin kaynak kodu değildir; hatalı kalıbı ve düzeltmesini gösterir.
Hatalı
free(dev->buf);/* ... başka bir iş parçacığı hâlâ çalışıyor ... */process(dev->buf);Düzeltilmiş
lock(&dev->lock);free(dev->buf);dev->buf = NULL;unlock(&dev->lock);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.
Değişiklik günlüğü
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
- crates.io/crates/openssl
- github.com/sfackler/rust-openssl/pull/2360
- github.com/sfackler/rust-openssl/security/advisories/GHSA-rpmj-rpgj-qmpm
- lists.debian.org/debian-lts-announce/2025/02/msg00009.html
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.