Double free after calling PEM_read_bio_ex
The function PEM_read_bio_ex() reads a PEM file from a BIO and parses and decodes the "name" (e.g. "CERTIFICATE"), any header data and the payload data. If the function succeeds then the "name_out", "header" and "data" arguments are populated with pointers to buffers containing the relevant decoded data. The caller is responsible for freeing those buffers. It is possible to construct a PEM file that results in 0 bytes of payload data. In this case PEM_read_bio_ex() will return a failure code but will populate the header argument with a pointer to a buffer that has already been freed. If the caller also frees this buffer then a double free will occur. This will most likely lead to a crash. This could be exploited by an attacker who has the ability to supply malicious PEM files for parsing to achieve a denial of service attack. The functions PEM_read_bio() and PEM_read() are simple wrappers around PEM_read_bio_ex() and therefore these functions are also directly affected. These functions are also called indirectly by a number of other OpenSSL functions including PEM_X509_INFO_read_bio_ex() and SSL_CTX_use_serverinfo_file() which are also vulnerable. Some OpenSSL internal uses of these functions are not vulnerable because the caller does not free the header argument if PEM_read_bio_ex() returns a failure code. These locations include the PEM_read_bio_TYPE() functions as well as the decoders introduced in OpenSSL 3.0. The OpenSSL asn1parse command line application is also impacted by this issue.
- BDU:2023-02240
- GHSA-v5w6-wcm8-jm4q
- ALSA-2023:0946
- ALSA-2023:1405
- ALSA-2023:2165
- ALSA-2023:2932
- DLA-3325-1
- DSA-5343-1
- openSUSE-SU-2024:12688-1
- openSUSE-SU-2024:12716-1
- RHSA-2023:0946
- RHSA-2023:1199
- RHSA-2023:1405
- RHSA-2023:2165
- RHSA-2023:2932
- RHSA-2023:3354
- RHSA-2023:3408
- RHSA-2023:3420
- RLSA-2023:0946
- RLSA-2023:1405
- Yayın
- 8 Şub 2023
- Güncelleme
- 17 Haz 2026
- EPSS
- %20,4 · 97. yüzdelik
- CWE
- CWE-415
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
36
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 6 / 30 · %20,4
CISA SSVC kararı
- Sömürü
- yok
- Otomatikleştirilebilir
- evet
- Teknik etki
- kısmi
Vulnrichment: CISA'nın karar ağacı girdileri.
Etkilenen sistemler
| Üretici | Ürün | CPE |
|---|---|---|
| openssl | openssl | cpe:2.3:a:openssl:openssl |
| stormshield | stormshield network security | cpe:2.3:a:stormshield:stormshield_network_security |
Etkilenen sürümler
NVD sürüm aralıkları (katalogdaki ürünler için). Stack’ine sürümle eklersen eşleşme bunlarla yapılır.
- openssl openssl1.1.1 ve sonrası · 1.1.1t öncesi
- openssl openssl3.0.0 ve sonrası · 3.0.8 öncesi
- stormshield stormshield network security4.0.0 ve sonrası · 4.3.16 öncesi
- stormshield stormshield network security4.4.0 ve sonrası · 4.6.3 öncesi
Üreticinin bildirdiği sürümler
Kaydı açan otorite (openssl) tarafından bildirilen etkilenen sürüm aralıkları. NVD'nin CPE analizinden bağımsızdır ve genellikle ondan önce gelir.
OpenSSL OpenSSL
- 3.0.0 ve sonrası · 3.0.8 öncesietkilenir · semver
- 1.1.1 ve sonrası · 1.1.1t öncesietkilenir
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:8 | edk2-aarch64 | 20220126gitbb1bba3d77-4.el8 öncesi | 20220126gitbb1bba3d77-4.el8 |
| AlmaLinux:8 | edk2-ovmf | 20220126gitbb1bba3d77-4.el8 öncesi | 20220126gitbb1bba3d77-4.el8 |
| AlmaLinux:8 | openssl | 1:1.1.1k-9.el8_7 öncesi | 1:1.1.1k-9.el8_7 |
| AlmaLinux:8 | openssl-devel | 1:1.1.1k-9.el8_7 öncesi | 1:1.1.1k-9.el8_7 |
| AlmaLinux:8 | openssl-libs | 1:1.1.1k-9.el8_7 öncesi | 1:1.1.1k-9.el8_7 |
| AlmaLinux:8 | openssl-perl | 1:1.1.1k-9.el8_7 öncesi | 1:1.1.1k-9.el8_7 |
| AlmaLinux:9 | edk2-aarch64 | 20221207gitfff6d81270b5-9.el9_2 öncesi | 20221207gitfff6d81270b5-9.el9_2 |
| AlmaLinux:9 | edk2-ovmf | 20221207gitfff6d81270b5-9.el9_2 öncesi | 20221207gitfff6d81270b5-9.el9_2 |
| AlmaLinux:9 | edk2-tools | 20221207gitfff6d81270b5-9.el9_2 öncesi | 20221207gitfff6d81270b5-9.el9_2 |
| AlmaLinux:9 | edk2-tools-doc | 20221207gitfff6d81270b5-9.el9_2 öncesi | 20221207gitfff6d81270b5-9.el9_2 |
| AlmaLinux:9 | openssl | 1:3.0.1-47.el9_1 öncesi | 1:3.0.1-47.el9_1 |
| AlmaLinux:9 | openssl-devel | 1:3.0.1-47.el9_1 öncesi | 1:3.0.1-47.el9_1 |
| AlmaLinux:9 | openssl-libs | 1:3.0.1-47.el9_1 öncesi | 1:3.0.1-47.el9_1 |
| AlmaLinux:9 | openssl-perl | 1:3.0.1-47.el9_1 öncesi | 1:3.0.1-47.el9_1 |
| Alpine:v3.14 | openssl | 1.1.1 itibarıyla · 1.1.1t-r0 öncesi | 1.1.1t-r0 |
| Alpine:v3.15 | openssl3 | 3.0.8-r0 öncesi | 3.0.8-r0 |
| Alpine:v3.17 | openssl | 1.1.1 itibarıyla · 3.0.8-r0 öncesi | 3.0.8-r0 |
| crates.io | openssl-src | 0.0.0-0 itibarıyla · 111.25.0 öncesi | 111.25.0 |
| crates.io | openssl-src | 300.0.0 itibarıyla · 300.0.12 öncesi | 300.0.12 |
| crates.io | openssl-src | 111.25.0 öncesi | 111.25.0 |
| Debian:10 | openssl | 1.1.1n-0+deb10u4 öncesi | 1.1.1n-0+deb10u4 |
| Debian:11 | openssl | 1.1.1n-0+deb11u4 öncesi | 1.1.1n-0+deb11u4 |
| Debian:12 | openssl | 3.0.8-1 öncesi | 3.0.8-1 |
| openSUSE:Tumbleweed | openssl-1_1 | 1.1.1t-1.1 öncesi | 1.1.1t-1.1 |
+96
Aynı üründe
openssl: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2014-0160The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly handle Heartbeat Extension packets, which allows remKEV90Hemen
- CVE-2021-3711SM2 Decryption Buffer Overflow65Bu hafta
- CVE-2003-0545Double free vulnerability in OpenSSL 0.9.7 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code 65Bu hafta
- CVE-2016-2108The ASN.1 implementation in OpenSSL before 1.0.1o and 1.0.2 before 1.0.2c allows remote attackers to execute arbitrary code or cause a denia62Bu hafta
- CVE-2016-6309statem/statem.c in OpenSSL 1.1.0a does not consider memory-block movement after a realloc call, which allows remote attackers to cause a den60Bu hafta
- CVE-2022-3786X.509 Email Address Variable Length Buffer Overflow58Planlayın
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 |
|---|---|---|
| OpenSSL OpenSSL | 3.0.8 | Üretici (CNA) |
| almalinux:edk2-aarch64 | 20221207gitfff6d81270b5-9.el9_2 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:edk2-ovmf | 20221207gitfff6d81270b5-9.el9_2 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:edk2-tools | 20221207gitfff6d81270b5-9.el9_2 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:edk2-tools-doc | 20221207gitfff6d81270b5-9.el9_2 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:openssl | 1:3.0.1-47.el9_1 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:openssl-devel | 1:3.0.1-47.el9_1 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:openssl-libs | 1:3.0.1-47.el9_1 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:openssl-perl | 1:3.0.1-47.el9_1 · AlmaLinux:9 | Paket deposu (OSV) |
| alpine:openssl | 1.1.1t-r0 · Alpine:v3.14 | Paket deposu (OSV) |
| alpine:openssl3 | 3.0.8-r0 · Alpine:v3.15 | Paket deposu (OSV) |
| crates.io:openssl-src | 111.25.0 | Paket deposu (OSV) |
| crates.io:openssl-src | 300.0.12 | Paket deposu (OSV) |
| debian:openssl | 3.0.8-1 · Debian:12 | Paket deposu (OSV) |
| opensuse:openssl-1_1 | 1.1.1d-150200.11.57.1 · openSUSE:Leap Micro 5.2 | Paket deposu (OSV) |
| opensuse:openssl-3 | 3.0.1-150400.4.17.1 · openSUSE:Leap 15.4 | Paket deposu (OSV) |
| red hat:edk2 | 0:20221207gitfff6d81270b5-9.el9_2 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:edk2-aarch64 | 0:20221207gitfff6d81270b5-9.el9_2 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:edk2-debugsource | 0:20221207gitfff6d81270b5-9.el9_2 · Red Hat:enterprise_linux:9::crb | Paket deposu (OSV) |
| red hat:edk2-ovmf | 0:20221207gitfff6d81270b5-9.el9_2 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:edk2-tools | 0:20221207gitfff6d81270b5-9.el9_2 · Red Hat:enterprise_linux:9::crb | Paket deposu (OSV) |
| red hat:openssl | 1:3.0.1-47.el9_1 · Red Hat:enterprise_linux:9::baseos | Paket deposu (OSV) |
| red hat:openssl-debuginfo | 1:3.0.1-47.el9_1 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:openssl-debugsource | 1:3.0.1-47.el9_1 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:openssl-devel | 1:3.0.1-47.el9_1 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:openssl-libs | 1:3.0.1-47.el9_1 · Red Hat:enterprise_linux:9::baseos | Paket deposu (OSV) |
| red hat:openssl-libs-debuginfo | 1:3.0.1-47.el9_1 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:openssl-perl | 1:3.0.1-47.el9_1 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| rocky linux:openssl | 1:3.0.1-47.el9_1 · Rocky Linux:9 | Paket deposu (OSV) |
| suse:openssl-1_1 | 1.1.1d-150200.11.57.1 · SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | Paket deposu (OSV) |
+2
İ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.
- CarpetFuzzbulan
- Dawei Wangbildiren
- Kurt Roeckxdüzeltme geliştirici
- Matt Caswelldüzeltme geliştirici
- Marc Schönefeldbildiren
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
- yok
- Bütünlük
- yok
- Erişilebilirlik
- yüksek · hizmet durdurulabilir
- Saldırı vektörü
- Ağ
- Karmaşıklık
- Düşük
- Gereken yetki
- Yok
- Kullanıcı etkileşimi
- Gerekmez
- Kapsam
- Değişmez
- Gizlilik etkisi
- Yok
- Bütünlük etkisi
- Yok
- Erişilebilirlik etkisi
- Yüksek
Zayıflık sınıfı (CWE)
CWE-415 · Double FreeCVSS vektörü
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
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
- git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=63bcf189be73a9cc1264059bed6f57974be74a83
- git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=bbcf509bd046b34cca19c766bbddc31683d0858b
- security.gentoo.org/glsa/202402-08
- www.openssl.org/news/secadv/20230207.txt
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2023-0003
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.