Uninitialized read in gdImageCreateFromXbm
When using the gdImageCreateFromXbm() function in the GD Graphics Library (aka LibGD) 2.2.5, as used in the PHP GD extension in PHP versions 7.1.x below 7.1.30, 7.2.x below 7.2.19 and 7.3.x below 7.3.6, it is possible to supply data that will cause the function to use the value of uninitialized variable. This may lead to disclosing contents of the stack that has been left there by previous code.
- Yayın
- 18 Haz 2019
- Güncelleme
- 16 Haz 2026
- EPSS
- %4,3 · 91. yüzdelik
- CWE
- CWE-457
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
22
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 21 / 40 · 5.3 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 1 / 30 · %4,3
CNA ile NVD puanı
- NVD
- 5,3
- CNA · php
- 3,1
- 2,2 puan fark
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A: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.
Etkilenen sistemler
| Üretici | Ürün | CPE |
|---|---|---|
| libgd | libgd | cpe:2.3:a:libgd:libgd |
| php | php | cpe:2.3:a:php:php |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| suse | linux enterprise debuginfo | cpe:2.3:a:suse:linux_enterprise_debuginfo |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
| suse | linux enterprise desktop | cpe:2.3:o:suse:linux_enterprise_desktop |
| suse | linux enterprise server | cpe:2.3:o:suse:linux_enterprise_server |
| suse | linux enterprise software development kit | cpe:2.3:o:suse:linux_enterprise_software_development_kit |
| suse | linux enterprise workstation extension | cpe:2.3:o:suse:linux_enterprise_workstation_extension |
| redhat | software collections | cpe:2.3:a:redhat:software_collections |
ve 1 kayıt daha
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.
- php php7.1.0 ve sonrası · 7.1.30 öncesi
- php php7.2.0 ve sonrası · 7.2.19 öncesi
- php php7.3.0 ve sonrası · 7.3.6 öncesi
Üreticinin bildirdiği sürümler
Kaydı açan otorite (php) tarafından bildirilen etkilenen sürüm aralıkları. NVD'nin CPE analizinden bağımsızdır ve genellikle ondan önce gelir.
PHP Group PHP
- 7.1.x < 7.1.30, 7.2.x < 7.2.19, 7.3.x < 7.3.6etkilenir
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 |
|---|---|---|---|
| Alpine:v3.10 | gd | 2.2.5-r3 öncesi | 2.2.5-r3 |
| Alpine:v3.12 | gd | 2.3.0-r0 öncesi | 2.3.0-r0 |
| Debian:12 | libgd2 | 2.2.5-5.2 öncesi | 2.2.5-5.2 |
| Debian:8 | libgd2 | 2.1.0-5+deb8u13 öncesi | 2.1.0-5+deb8u13 |
| Debian:9 | php7.0 | 7.0.33-0+deb9u5 öncesi | 7.0.33-0+deb9u5 |
| openSUSE:Leap 15.1 | gd | 2.2.5-lp151.6.6.1 öncesi | 2.2.5-lp151.6.6.1 |
| openSUSE:Tumbleweed | gd | 2.3.3-1.1 öncesi | 2.3.3-1.1 |
| Red Hat:rhel_software_collections:3::el7 | rh-php72-php | 0:7.2.24-1.el7 öncesi | 0:7.2.24-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php72-php-bcmath | 0:7.2.24-1.el7 öncesi | 0:7.2.24-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php72-php-cli | 0:7.2.24-1.el7 öncesi | 0:7.2.24-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php72-php-common | 0:7.2.24-1.el7 öncesi | 0:7.2.24-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php72-php-dba | 0:7.2.24-1.el7 öncesi | 0:7.2.24-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php72-php-dbg | 0:7.2.24-1.el7 öncesi | 0:7.2.24-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php72-php-debuginfo | 0:7.2.24-1.el7 öncesi | 0:7.2.24-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php72-php-devel | 0:7.2.24-1.el7 öncesi | 0:7.2.24-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php72-php-embedded | 0:7.2.24-1.el7 öncesi | 0:7.2.24-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php72-php-enchant | 0:7.2.24-1.el7 öncesi | 0:7.2.24-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php72-php-fpm | 0:7.2.24-1.el7 öncesi | 0:7.2.24-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php72-php-gd | 0:7.2.24-1.el7 öncesi | 0:7.2.24-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php72-php-gmp | 0:7.2.24-1.el7 öncesi | 0:7.2.24-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php72-php-intl | 0:7.2.24-1.el7 öncesi | 0:7.2.24-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php72-php-json | 0:7.2.24-1.el7 öncesi | 0:7.2.24-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php72-php-ldap | 0:7.2.24-1.el7 öncesi | 0:7.2.24-1.el7 |
| Red Hat:rhel_software_collections:3::el7 | rh-php72-php-mbstring | 0:7.2.24-1.el7 öncesi | 0:7.2.24-1.el7 |
+17
Aynı üründe
libgd: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2019-6977gdImageColorMatch in gd_color_match.c in the GD Graphics Library (aka LibGD) 2.2.5, as used in the imagecolormatch function in PHP before 5.56Planlayın
- CVE-2016-3074Integer signedness error in GD Graphics Library 2.1.1 (aka libgd or libgd2) allows remote attackers to cause a denial of service (crash) or 50Planlayın
- CVE-2016-10166Integer underflow in the _gdContributionsAlloc function in gd_interpolation.c in the GD Graphics Library (aka libgd) before 2.2.4 allows rem42Planlayın
- CVE-2016-7568Integer overflow in the gdImageWebpCtx function in gd_webp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP through 7.41Planlayın
- CVE-2019-6978The GD Graphics Library (aka LibGD) 2.2.5 has a double free in the gdImage*Ptr() functions in gd_gif_out.c, gd_jpeg.c, and gd_wbmp.c.40Planlayın
- CVE-2016-6912Double free vulnerability in the gdImageWebPtr function in the GD Graphics Library (aka libgd) before 2.2.4 allows remote attackers to have 40Planlayı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 |
|---|---|---|
| alpine:gd | 2.2.5-r3 · Alpine:v3.10 | Paket deposu (OSV) |
| debian:libgd2 | 2.2.5-5.2 · Debian:12 | Paket deposu (OSV) |
| debian:php7.0 | 7.0.33-0+deb9u5 · Debian:9 | Paket deposu (OSV) |
| opensuse:gd | 2.2.5-lp151.6.6.1 · openSUSE:Leap 15.1 | Paket deposu (OSV) |
| red hat:rh-php72-php | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-php72-php-bcmath | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-php72-php-cli | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-php72-php-common | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-php72-php-dba | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-php72-php-dbg | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-php72-php-debuginfo | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-php72-php-devel | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-php72-php-embedded | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-php72-php-enchant | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-php72-php-fpm | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-php72-php-gd | 0:7.2.24-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| suse:gd | 2.2.5-4.14.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP1 | Paket deposu (OSV) |
| suse:php53 | 5.3.17-112.71.1 · SUSE:Linux Enterprise Point of Sale 11 SP3 | Paket deposu (OSV) |
| suse:php7 | 7.0.7-50.85.1 · SUSE:Linux Enterprise Module for Web and Scripting 12 | 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.
Referanslarda commit ya da PR bağlantısı yok.
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.
- By chamal dot desilvagmail dot com
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
- düşük · veriler okunabilir
- Bütünlük
- yok
- 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
- Düşük
- Bütünlük etkisi
- Yok
- Erişilebilirlik etkisi
- Yok
Zayıflık sınıfı (CWE)
CWE-457 · Use of Uninitialized VariableCVSS vektörü
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
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
- lists.opensuse.org/opensuse-security-announce/2020-03/msg00020.html
- access.redhat.com/errata/RHSA-2019:2519
- access.redhat.com/errata/RHSA-2019:3299
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=929821
- bugs.php.net/bug.php?id=77973
- lists.debian.org/debian-lts-announce/2019/06/msg00003.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3CZ2QADQTKRHTGB2AHD7J4QQNDLBEMM6/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PKSSWFR2WPMUOIB5EN5ZM252NNEPYUTG/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WAZBVK6XNYEIN7RDQXESSD63QHXPLKWL/
- seclists.org/bugtraq/2019/Sep/38
- usn.ubuntu.com/4316-1/
- usn.ubuntu.com/4316-2/
- www.debian.org/security/2019/dsa-4529
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.