Integer overflow in the (1) rb_ary_splice function in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, and 1.8.7 be
Integer overflow in the (1) rb_ary_splice function in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, and 1.8.7 before 1.8.7-p22; and (2) the rb_ary_replace function in 1.6.x allows context-dependent attackers to trigger memory corruption via unspecified vectors, aka the "REALLOC_N" variant, a different issue than CVE-2008-2662, CVE-2008-2663, and CVE-2008-2664. NOTE: as of 20080624, there has been inconsistent usage of multiple CVE identifiers related to Ruby. The CVE description should be regarded as authoritative, although it is likely to change.
- Yayın
- 24 Haz 2008
- Güncelleme
- 16 Haz 2026
- EPSS
- %3,7 · 89. yüzdelik
- CWE
- CWE-189
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
32
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 1 / 30 · %3,7
Etkilenen sistemler
| Üretici | Ürün | CPE |
|---|---|---|
| ruby-lang | ruby | cpe:2.3:a:ruby-lang:ruby |
| 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.
- canonical ubuntu linux6.06
- canonical ubuntu linux7.04
- canonical ubuntu linux7.10
- canonical ubuntu linux8.04
- debian debian linux4.0
- ruby-lang ruby1.8.4 dahil
- ruby-lang ruby1.8.7 ve sonrası · 1.8.7.22 öncesi
- ruby-lang ruby1.8.6 ve sonrası · 1.8.6.230 öncesi
- ruby-lang ruby1.8.5 ve sonrası · 1.8.5.231 öncesi
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:4.0 | ruby1.8 | 1.8.5-4etch2 öncesi | 1.8.5-4etch2 |
| Debian:4.0 | ruby1.9 | 1.9.0+20060609-1etch2 öncesi | 1.9.0+20060609-1etch2 |
| Red Hat:enterprise_linux:2.1::as | irb | 0:1.6.4-6.el2 öncesi | 0:1.6.4-6.el2 |
| Red Hat:enterprise_linux:2.1::as | ruby | 0:1.6.4-6.el2 öncesi | 0:1.6.4-6.el2 |
| Red Hat:enterprise_linux:2.1::as | ruby-devel | 0:1.6.4-6.el2 öncesi | 0:1.6.4-6.el2 |
| Red Hat:enterprise_linux:2.1::as | ruby-docs | 0:1.6.4-6.el2 öncesi | 0:1.6.4-6.el2 |
| Red Hat:enterprise_linux:2.1::as | ruby-libs | 0:1.6.4-6.el2 öncesi | 0:1.6.4-6.el2 |
| Red Hat:enterprise_linux:2.1::as | ruby-tcltk | 0:1.6.4-6.el2 öncesi | 0:1.6.4-6.el2 |
| Red Hat:enterprise_linux:3::as | irb | 0:1.6.8-12.el3 öncesi | 0:1.6.8-12.el3 |
| Red Hat:enterprise_linux:3::as | ruby | 0:1.6.8-12.el3 öncesi | 0:1.6.8-12.el3 |
| Red Hat:enterprise_linux:3::as | ruby-debuginfo | 0:1.6.8-12.el3 öncesi | 0:1.6.8-12.el3 |
| Red Hat:enterprise_linux:3::as | ruby-devel | 0:1.6.8-12.el3 öncesi | 0:1.6.8-12.el3 |
| Red Hat:enterprise_linux:3::as | ruby-docs | 0:1.6.8-12.el3 öncesi | 0:1.6.8-12.el3 |
| Red Hat:enterprise_linux:3::as | ruby-libs | 0:1.6.8-12.el3 öncesi | 0:1.6.8-12.el3 |
| Red Hat:enterprise_linux:3::as | ruby-mode | 0:1.6.8-12.el3 öncesi | 0:1.6.8-12.el3 |
| Red Hat:enterprise_linux:3::as | ruby-tcltk | 0:1.6.8-12.el3 öncesi | 0:1.6.8-12.el3 |
| Red Hat:enterprise_linux:4::as | irb | 0:1.8.1-7.el4_6.1 öncesi | 0:1.8.1-7.el4_6.1 |
| Red Hat:enterprise_linux:4::as | ruby | 0:1.8.1-7.el4_6.1 öncesi | 0:1.8.1-7.el4_6.1 |
| Red Hat:enterprise_linux:4::as | ruby-debuginfo | 0:1.8.1-7.el4_6.1 öncesi | 0:1.8.1-7.el4_6.1 |
| Red Hat:enterprise_linux:4::as | ruby-devel | 0:1.8.1-7.el4_6.1 öncesi | 0:1.8.1-7.el4_6.1 |
| Red Hat:enterprise_linux:4::as | ruby-docs | 0:1.8.1-7.el4_6.1 öncesi | 0:1.8.1-7.el4_6.1 |
| Red Hat:enterprise_linux:4::as | ruby-libs | 0:1.8.1-7.el4_6.1 öncesi | 0:1.8.1-7.el4_6.1 |
| Red Hat:enterprise_linux:4::as | ruby-mode | 0:1.8.1-7.el4_6.1 öncesi | 0:1.8.1-7.el4_6.1 |
| Red Hat:enterprise_linux:4::as | ruby-tcltk | 0:1.8.1-7.el4_6.1 öncesi | 0:1.8.1-7.el4_6.1 |
+16
Aynı üründe
ruby-lang: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2017-17405Ruby before 2.4.3 allows Net::FTP command injection.57Planlayın
- CVE-2008-3656Algorithmic complexity vulnerability in the WEBrick::HTTPUtils.split_header_value function in WEBrick::HTTP::DefaultFileHandler in WEBrick i52Planlayın
- CVE-2021-28966In Ruby through 3.0 on Windows, a remote attacker can submit a crafted path when a Web application handles a parameter with TmpDir.47Planlayın
- CVE-2017-14064Ruby through 2.2.7, 2.3.x through 2.3.4, and 2.4.x through 2.4.1 can expose arbitrary memory during a JSON.generate call.42Planlayın
- CVE-2017-17790The lazy_initialize function in lib/resolv.rb in Ruby through 2.4.3 uses Kernel#open, which might allow Command Injection attacks, as demons41Planlayın
- CVE-2016-2339An exploitable heap overflow vulnerability exists in the Fiddle::Function.new "initialize" function functionality of Ruby.41Planlayı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 |
|---|---|---|
| debian:ruby1.8 | 1.8.5-4etch2 · Debian:4.0 | Paket deposu (OSV) |
| debian:ruby1.9 | 1.9.0+20060609-1etch2 · Debian:4.0 | Paket deposu (OSV) |
| red hat:irb | 0:1.8.1-7.el4_6.1 · Red Hat:enterprise_linux:4::as | Paket deposu (OSV) |
| red hat:ruby | 0:1.8.1-7.el4_6.1 · Red Hat:enterprise_linux:4::as | Paket deposu (OSV) |
| red hat:ruby-debuginfo | 0:1.8.1-7.el4_6.1 · Red Hat:enterprise_linux:4::as | Paket deposu (OSV) |
| red hat:ruby-devel | 0:1.8.1-7.el4_6.1 · Red Hat:enterprise_linux:4::as | Paket deposu (OSV) |
| red hat:ruby-docs | 0:1.8.1-7.el4_6.1 · Red Hat:enterprise_linux:4::as | Paket deposu (OSV) |
| red hat:ruby-irb | 0:1.8.5-5.el5_2.3 · Red Hat:enterprise_linux:5::client | Paket deposu (OSV) |
| red hat:ruby-libs | 0:1.8.1-7.el4_6.1 · Red Hat:enterprise_linux:4::as | Paket deposu (OSV) |
| red hat:ruby-mode | 0:1.8.1-7.el4_6.1 · Red Hat:enterprise_linux:4::as | Paket deposu (OSV) |
| red hat:ruby-rdoc | 0:1.8.5-5.el5_2.3 · Red Hat:enterprise_linux:5::client | Paket deposu (OSV) |
| red hat:ruby-ri | 0:1.8.5-5.el5_2.3 · Red Hat:enterprise_linux:5::client | Paket deposu (OSV) |
| red hat:ruby-tcltk | 0:1.8.1-7.el4_6.1 · Red Hat:enterprise_linux:4::as | Paket deposu (OSV) |
| red hat:ruby3.3 | 0:3.3.10-23.1.hum1 · Red Hat:hummingbird:1 | 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ı
Ürünün üreticisi herkese açık bir programda görünüyor. Eşleşme ad üzerinden yapıldı; kapsam metnini programda doğrulayın.
Teknik detay
Saldırı koşulları
- Özel bir koşul gerekmez; tekrarlanabilir.
Başarılı olursa
- Gizlilik
- yok
- Bütünlük
- yok
- Erişilebilirlik
- C · hizmet durdurulabilir
- Karmaşıklık
- Düşük
- Gizlilik etkisi
- Yok
- Bütünlük etkisi
- Yok
- Erişilebilirlik etkisi
- C
Zayıflık sınıfı (CWE)
CWE-189 · Numeric ErrorsCVSS vektörü
AV:N/AC:L/Au:N/C:N/I:N/A:C
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
- blog.phusion.nl/2008/06/23/ruby-186-p230187-broke-your-app-ruby-enterprise-edition-to-the-rescue/
- lists.apple.com/archives/security-announce/2008//Jun/msg00002.html
- lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html
- secunia.com/advisories/30802
- secunia.com/advisories/30831
- secunia.com/advisories/30867
- secunia.com/advisories/30875
- secunia.com/advisories/30894
- secunia.com/advisories/31062
- secunia.com/advisories/31090
- secunia.com/advisories/31181
- secunia.com/advisories/31256
- secunia.com/advisories/31687
- secunia.com/advisories/33178
- security.gentoo.org/glsa/glsa-200812-17.xml
- slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.429562
- support.apple.com/kb/HT2163
- weblog.rubyonrails.org/2008/6/21/multiple-ruby-security-vulnerabilities
- wiki.rpath.com/wiki/Advisories:rPSA-2008-0206
- www.debian.org/security/2008/dsa-1612
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.