CVE-2008-2376
Integer overflow in the rb_ary_fill function in array.c in Ruby before revision 17756 allows context-dependent attackers to cause a denial of service (crash) or possibly have unspecified other impact via a call to the Array#fill method with a start (aka beg) argument greater than ARY_MAX_SIZE. NOTE: this issue exists because of an incomplete fix for other closely related integer overflows.
What to do
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 5 | ruby | Fixed | 0:1.8.5-5.el5_2.3 | RHSA-2008:0561 |
| Red Hat Enterprise Linux 5 | ruby-devel | Fixed | 0:1.8.5-5.el5_2.3 | RHSA-2008:0561 |
| Red Hat Enterprise Linux 5 | ruby-docs | Fixed | 0:1.8.5-5.el5_2.3 | RHSA-2008:0561 |
| Red Hat Enterprise Linux 5 | ruby-irb | Fixed | 0:1.8.5-5.el5_2.3 | RHSA-2008:0561 |
| Red Hat Enterprise Linux 5 | ruby-libs | Fixed | 0:1.8.5-5.el5_2.3 | RHSA-2008:0561 |
| Red Hat Enterprise Linux 5 | ruby-mode | Fixed | 0:1.8.5-5.el5_2.3 | RHSA-2008:0561 |
| Red Hat Enterprise Linux 5 | ruby-rdoc | Fixed | 0:1.8.5-5.el5_2.3 | RHSA-2008:0561 |
| Red Hat Enterprise Linux 5 | ruby-ri | Fixed | 0:1.8.5-5.el5_2.3 | RHSA-2008:0561 |
| Red Hat Enterprise Linux 5 | ruby-tcltk | Fixed | 0:1.8.5-5.el5_2.3 | RHSA-2008:0561 |
| Red Hat Enterprise Linux 4 | irb | Fixed | 0:1.8.1-7.el4_6.1 | RHSA-2008:0561 |
| Red Hat Enterprise Linux 4 | ruby | Fixed | 0:1.8.1-7.el4_6.1 | RHSA-2008:0561 |
| Red Hat Enterprise Linux 4 | ruby-devel | Fixed | 0:1.8.1-7.el4_6.1 | RHSA-2008:0561 |
| Red Hat Enterprise Linux 4 | ruby-docs | Fixed | 0:1.8.1-7.el4_6.1 | RHSA-2008:0561 |
| Red Hat Enterprise Linux 4 | ruby-libs | Fixed | 0:1.8.1-7.el4_6.1 | RHSA-2008:0561 |
| Red Hat Enterprise Linux 4 | ruby-mode | Fixed | 0:1.8.1-7.el4_6.1 | RHSA-2008:0561 |
| Red Hat Enterprise Linux 4 | ruby-tcltk | Fixed | 0:1.8.1-7.el4_6.1 | RHSA-2008:0561 |
| Red Hat Enterprise Linux 3 | irb | Fixed | 0:1.6.8-12.el3 | RHSA-2008:0562 |
| Red Hat Enterprise Linux 3 | ruby | Fixed | 0:1.6.8-12.el3 | RHSA-2008:0562 |
| Red Hat Enterprise Linux 3 | ruby-devel | Fixed | 0:1.6.8-12.el3 | RHSA-2008:0562 |
| Red Hat Enterprise Linux 3 | ruby-docs | Fixed | 0:1.6.8-12.el3 | RHSA-2008:0562 |
| Red Hat Enterprise Linux 3 | ruby-libs | Fixed | 0:1.6.8-12.el3 | RHSA-2008:0562 |
| Red Hat Enterprise Linux 3 | ruby-mode | Fixed | 0:1.6.8-12.el3 | RHSA-2008:0562 |
| Red Hat Enterprise Linux 3 | ruby-tcltk | Fixed | 0:1.6.8-12.el3 | RHSA-2008:0562 |
| Red Hat Enterprise Linux 2 | irb | Fixed | 0:1.6.4-6.el2 | RHSA-2008:0562 |
| Red Hat Enterprise Linux 2 | ruby | Fixed | 0:1.6.4-6.el2 | RHSA-2008:0562 |
| Red Hat Enterprise Linux 2 | ruby-devel | Fixed | 0:1.6.4-6.el2 | RHSA-2008:0562 |
| Red Hat Enterprise Linux 2 | ruby-docs | Fixed | 0:1.6.4-6.el2 | RHSA-2008:0562 |
| Red Hat Enterprise Linux 2 | ruby-libs | Fixed | 0:1.6.4-6.el2 | RHSA-2008:0562 |
| Red Hat Enterprise Linux 2 | ruby-tcltk | Fixed | 0:1.6.4-6.el2 | RHSA-2008:0562 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
- https://usn.ubuntu.com/651-1/ (vendor-advisory)
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:141 (vendor-advisory)
- http://lists.apple.com/archives/security-announce//2008/Sep/msg00005.html (vendor-advisory)
- https://www.redhat.com/archives/fedora-package-announce/2008-July/msg00112.html (vendor-advisory)
- http://www.debian.org/security/2008/dsa-1618 (vendor-advisory)
- https://www.redhat.com/archives/fedora-package-announce/2008-July/msg00161.html (vendor-advisory)
References
- http://secunia.com/advisories/31090
- https://usn.ubuntu.com/651-1/
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:141
- http://lists.apple.com/archives/security-announce//2008/Sep/msg00005.html
- http://secunia.com/advisories/31006
- https://www.redhat.com/archives/fedora-package-announce/2008-July/msg00112.html
- http://www.debian.org/security/2008/dsa-1618
- http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0218
- http://www.us-cert.gov/cas/techalerts/TA08-260A.html
- http://www.vupen.com/english/advisories/2008/2584
- http://secunia.com/advisories/31062
- https://issues.rpath.com/browse/RPL-2639
- http://secunia.com/advisories/31256
- https://www.redhat.com/archives/fedora-package-announce/2008-July/msg00161.html
- http://secunia.com/advisories/32219
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.