{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 7.5, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "oraclelinux", "product": "ruby", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_2.3", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "ruby-devel", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_2.3", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "ruby-docs", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_2.3", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "ruby-irb", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_2.3", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "ruby-libs", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_2.3", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "ruby-mode", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_2.3", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "ruby-rdoc", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_2.3", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "ruby-ri", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_2.3", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "ruby-tcltk", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_2.3", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://linux.oracle.com/cve/CVE-2008-2376.html"}], "descriptions": [{"lang": "en", "value": "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."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000006", "shortName": "oraclelinux", "dateUpdated": "2008-07-14T00:00:00Z", "x_subShortName": "oraclelinux"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "redhat", "product": "ruby", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_2.3", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-devel", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_2.3", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-docs", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_2.3", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-irb", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_2.3", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-libs", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_2.3", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-mode", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_2.3", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-rdoc", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_2.3", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-ri", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_2.3", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "ruby-tcltk", "versions": [{"status": "affected", "version": "0", "lessThan": "0:1.8.5-5.el5_2.3", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2008:0561"}, {"url": "https://access.redhat.com/security/cve/CVE-2008-2376"}], "descriptions": [{"lang": "en", "value": "Ruby is an interpreted scripting language for quick and easy\nobject-oriented programming.\n\nMultiple integer overflows leading to a heap overflow were discovered in\nthe array- and string-handling code used by Ruby. An attacker could use\nthese flaws to crash a Ruby application or, possibly, execute arbitrary\ncode with the privileges of the Ruby application using untrusted inputs in\narray or string operations. (CVE-2008-2376, CVE-2008-2662, CVE-2008-2663,\nCVE-2008-2725, CVE-2008-2726)\n\nIt was discovered that Ruby used the alloca() memory allocation function in\nthe format (%) method of the String class without properly restricting\nmaximum string length. An attacker could use this flaw to crash a Ruby\napplication or, possibly, execute arbitrary code with the privileges of the\nRuby application using long, untrusted strings as format strings.\n(CVE-2008-2664)\n\nRed Hat would like to thank Drew Yao of the Apple Product Security team for\nreporting these issues.\n\nUsers of Ruby should upgrade to these updated packages, which contain a\nbackported patch to resolve these issues."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2008-07-01T00:00:00Z", "x_subShortName": "redhat_5"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 7.5, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}], "affected": [{"cpes": ["cpe:2.3:a:ruby-lang:ruby:1.8.6.230:*:*:*:*:*:*:*"], "vendor": "ruby-lang", "product": "ruby", "versions": [{"status": "affected", "version": "1.8.6.230"}], "platforms": ["cpe:2.3:o:redhat:fedora_8:1.8.6.230:*:*:*:*:*:*:*"], "defaultStatus": "unaffected"}], "references": [{"url": "http://secunia.com/advisories/30927", "tags": ["vendor-advisory"]}, {"url": "http://www.us-cert.gov/cas/techalerts/TA08-260A.html", "tags": ["x_us-government-resource"]}, {"url": "http://lists.apple.com/archives/security-announce//2008/Sep/msg00005.html"}, {"url": "http://secunia.com/advisories/31006"}, {"url": "http://secunia.com/advisories/31062"}, {"url": "http://secunia.com/advisories/31090"}, {"url": "http://secunia.com/advisories/31181"}, {"url": "http://secunia.com/advisories/31256"}, {"url": "http://secunia.com/advisories/32219"}, {"url": "http://secunia.com/advisories/33178"}, {"url": "http://security.gentoo.org/glsa/glsa-200812-17.xml"}, {"url": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17756"}, {"url": "http://wiki.rpath.com/Advisories:rPSA-2008-0218"}, {"url": "http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0218"}, {"url": "http://www.debian.org/security/2008/dsa-1612"}, {"url": "http://www.debian.org/security/2008/dsa-1618"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:140"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:141"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:142"}, {"url": "http://www.openwall.com/lists/oss-security/2008/07/02/3"}, {"url": "http://www.redhat.com/support/errata/RHSA-2008-0561.html"}, {"url": "http://www.securityfocus.com/archive/1/494104/100/0/threaded"}, {"url": "http://www.vupen.com/english/advisories/2008/2584"}, {"url": "https://issues.rpath.com/browse/RPL-2639"}, {"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9863"}, {"url": "https://usn.ubuntu.com/651-1/"}, {"url": "https://www.redhat.com/archives/fedora-package-announce/2008-July/msg00112.html"}, {"url": "https://www.redhat.com/archives/fedora-package-announce/2008-July/msg00161.html"}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "Desbordamiento de entero en la función rb_ary_fill en array.c en Ruby antes de la revisión 17756 que permite a los atacantes dependientes de contesto causar una denegación de servicios (caída) o posiblemente otro impacto no especificado a través de la llamada al método Arrray#fill con un argumento de entrada (alias beg) mayor que ARY_MAX_SIZE NOTA: esto existe por un parche incompleto para otros desbordamientos de enteros"}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-189", "description": "CWE-189"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2008-07-09T00:41:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2008-2376", "state": "PUBLISHED", "dateUpdated": "2025-04-09T00:30:58Z", "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "datePublished": "2008-07-09T00:41:00Z", "assignerShortName": "redhat"}, "dataVersion": "5.0"}