A buffer overflow vulnerability in okiibm_print_page1() in devices/gdevokii.c of Artifex Software GhostScript v9.50 allows a remote attacker
A buffer overflow vulnerability in okiibm_print_page1() in devices/gdevokii.c of Artifex Software GhostScript v9.50 allows a remote attacker to cause a denial of service via a crafted PDF file. This is fixed in v9.51.
- Yayın
- 12 Ağu 2020
- Güncelleme
- 16 Haz 2026
- EPSS
- %1,9 · 79. yüzdelik
- CWE
- CWE-120
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
23
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 1 / 30 · %1,9
Etkilenen sistemler
| Üretici | Ürün | CPE |
|---|---|---|
| artifex | ghostscript | cpe:2.3:a:artifex:ghostscript |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
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.
- artifex ghostscript9.52 öncesi
- canonical ubuntu linux16.04
- canonical ubuntu linux18.04
- canonical ubuntu linux20.04
- debian debian linux10.0
- debian debian linux9.0
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 | ghostscript | 9.27-1.el8 öncesi | 9.27-1.el8 |
| AlmaLinux:8 | ghostscript-doc | 9.27-1.el8 öncesi | 9.27-1.el8 |
| AlmaLinux:8 | ghostscript-tools-dvipdf | 9.27-1.el8 öncesi | 9.27-1.el8 |
| AlmaLinux:8 | ghostscript-tools-fonts | 9.27-1.el8 öncesi | 9.27-1.el8 |
| AlmaLinux:8 | ghostscript-tools-printing | 9.27-1.el8 öncesi | 9.27-1.el8 |
| AlmaLinux:8 | ghostscript-x11 | 9.27-1.el8 öncesi | 9.27-1.el8 |
| AlmaLinux:8 | libgs | 9.27-1.el8 öncesi | 9.27-1.el8 |
| AlmaLinux:8 | libgs-devel | 9.27-1.el8 öncesi | 9.27-1.el8 |
| Alpine:v3.13 | ghostscript | 9.51-r0 öncesi | 9.51-r0 |
| Debian:10 | ghostscript | 9.27~dfsg-2+deb10u4 öncesi | 9.27~dfsg-2+deb10u4 |
| Debian:12 | ghostscript | 9.51~dfsg-1 öncesi | 9.51~dfsg-1 |
| Debian:9 | ghostscript | 9.26a~dfsg-0+deb9u7 öncesi | 9.26a~dfsg-0+deb9u7 |
| Red Hat:enterprise_linux:8::appstream | ghostscript | 0:9.27-1.el8 öncesi | 0:9.27-1.el8 |
| Red Hat:enterprise_linux:8::appstream | ghostscript-debuginfo | 0:9.27-1.el8 öncesi | 0:9.27-1.el8 |
| Red Hat:enterprise_linux:8::appstream | ghostscript-debugsource | 0:9.27-1.el8 öncesi | 0:9.27-1.el8 |
| Red Hat:enterprise_linux:8::appstream | ghostscript-gtk-debuginfo | 0:9.27-1.el8 öncesi | 0:9.27-1.el8 |
| Red Hat:enterprise_linux:8::appstream | ghostscript-x11 | 0:9.27-1.el8 öncesi | 0:9.27-1.el8 |
| Red Hat:enterprise_linux:8::appstream | ghostscript-x11-debuginfo | 0:9.27-1.el8 öncesi | 0:9.27-1.el8 |
| Red Hat:enterprise_linux:8::appstream | libgs | 0:9.27-1.el8 öncesi | 0:9.27-1.el8 |
| Red Hat:enterprise_linux:8::appstream | libgs-debuginfo | 0:9.27-1.el8 öncesi | 0:9.27-1.el8 |
| Red Hat:enterprise_linux:8::crb | ghostscript-doc | 0:9.27-1.el8 öncesi | 0:9.27-1.el8 |
| Red Hat:enterprise_linux:8::crb | ghostscript-tools-dvipdf | 0:9.27-1.el8 öncesi | 0:9.27-1.el8 |
| Red Hat:enterprise_linux:8::crb | ghostscript-tools-fonts | 0:9.27-1.el8 öncesi | 0:9.27-1.el8 |
| Red Hat:enterprise_linux:8::crb | ghostscript-tools-printing | 0:9.27-1.el8 öncesi | 0:9.27-1.el8 |
+3
Aynı üründe
artifex: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2017-8291Artifex Ghostscript through 2017-04-26 allows -dSAFER bypass and remote command execution via .rsdparams type confusion with a "/OutputFile KEV90Hemen
- CVE-2021-3781A trivial sandbox (enabled with the `-dSAFER` option) escape flaw was found in the ghostscript interpreter by injecting a specially crafted 64Bu hafta
- CVE-2018-16509An issue was discovered in Artifex Ghostscript before 9.24.59Planlayın
- CVE-2019-6116In Artifex Ghostscript through 9.26, ephemeral or transient procedures can allow access to system operators, leading to remote code executio43Planlayın
- CVE-2019-14813A flaw was found in ghostscript, versions 9.x before 9.50, in the setsystemparams procedure where it did not properly secure its privileged 42Planlayın
- CVE-2016-7976The PS Interpreter in Ghostscript 9.18 and 9.20 allows remote attackers to execute arbitrary code via crafted userparams.42Planlayı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 |
|---|---|---|
| almalinux:ghostscript | 9.27-1.el8 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:ghostscript-doc | 9.27-1.el8 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:ghostscript-tools-dvipdf | 9.27-1.el8 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:ghostscript-tools-fonts | 9.27-1.el8 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:ghostscript-tools-printing | 9.27-1.el8 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:ghostscript-x11 | 9.27-1.el8 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:libgs | 9.27-1.el8 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:libgs-devel | 9.27-1.el8 · AlmaLinux:8 | Paket deposu (OSV) |
| alpine:ghostscript | 9.51-r0 · Alpine:v3.13 | Paket deposu (OSV) |
| debian:ghostscript | 9.51~dfsg-1 · Debian:12 | Paket deposu (OSV) |
| red hat:ghostscript | 0:9.27-1.el8 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:ghostscript-debuginfo | 0:9.27-1.el8 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:ghostscript-debugsource | 0:9.27-1.el8 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:ghostscript-doc | 0:9.27-1.el8 · Red Hat:enterprise_linux:8::crb | Paket deposu (OSV) |
| red hat:ghostscript-gtk-debuginfo | 0:9.27-1.el8 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:ghostscript-tools-dvipdf | 0:9.27-1.el8 · Red Hat:enterprise_linux:8::crb | Paket deposu (OSV) |
| red hat:ghostscript-tools-fonts | 0:9.27-1.el8 · Red Hat:enterprise_linux:8::crb | Paket deposu (OSV) |
| red hat:ghostscript-tools-printing | 0:9.27-1.el8 · Red Hat:enterprise_linux:8::crb | Paket deposu (OSV) |
| red hat:ghostscript-x11 | 0:9.27-1.el8 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:ghostscript-x11-debuginfo | 0:9.27-1.el8 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:libgs | 0:9.27-1.el8 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:libgs-debuginfo | 0:9.27-1.el8 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| rocky linux:ghostscript | 0:9.27-1.el8 · Rocky Linux:8 | 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.
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ı
- Sisteme yerel erişimi olan biri tetikleyebilir.
- Hesap ya da parola gerekmez.
- Bir kullanıcının bağlantıyı açması ya da sayfayı ziyaret etmesi gerekir.
- Ö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ü
- Yerel
- Karmaşıklık
- Düşük
- Gereken yetki
- Yok
- Kullanıcı etkileşimi
- Gerekir
- 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-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')CVSS vektörü
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
nvd-primary
Kök neden
Veri kopyalanırken kaynağın uzunluğu, hedef arabelleğin boyutuyla karşılaştırılmıyor. Fazla veri, bitişik belleğin üzerine yazılır.
Hatanın kod karşılığı
CWE-120 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ı
char buf[256];memcpy(buf, pkt->data, pkt->len);Düzeltilmiş
char buf[256];if (pkt->len > sizeof(buf)) { return -EINVAL;}memcpy(buf, pkt->data, pkt->len);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ı.
Saldırı desenleri (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10olasılık: High · High
- Overflow BuffersCAPEC-100olasılık: High · Very High
- Client-side Injection-induced Buffer OverflowCAPEC-14olasılık: Medium · High
- Filter Failure through Buffer OverflowCAPEC-24olasılık: High · High
- MIME ConversionCAPEC-42olasılık: High · High
- Overflow Binary Resource FileCAPEC-44olasılık: High · Very High
- Buffer Overflow via Symbolic LinksCAPEC-45olasılık: High · High
- Overflow Variables and TagsCAPEC-46olasılık: High · High
ATT&CK teknikleri
—
Değişiklik günlüğü
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
- git.ghostscript.com/?p=ghostpdl.git%3Ba=commit%3Bh=f54414c8b15b2c27d1dcadd92cfe84f6d15f18dc
- lists.debian.org/debian-lts-announce/2020/08/msg00032.html
- security.gentoo.org/glsa/202008-20
- usn.ubuntu.com/4469-1/
- www.debian.org/security/2020/dsa-4748
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.