{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"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-2663.html"}], "descriptions": [{"lang": "en", "value": "Multiple integer overflows in the rb_str_buf_append function in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, 1.8.7 before 1.8.7-p22, and 1.9.0 before 1.9.0-2 allow context-dependent attackers to execute arbitrary code or cause a denial of service via unknown vectors that trigger memory corruption, a different issue than CVE-2008-2663, CVE-2008-2664, and CVE-2008-2725. NOTE: as of 20080624, there has been inconsistent usage of multiple CVE identifiers related to Ruby. This CVE description should be regarded as authoritative, although it is likely to change.\nMultiple integer overflows in the rb_ary_store 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 allow context-dependent attackers to execute arbitrary code or cause a denial of service via unknown vectors, a different issue than CVE-2008-2662, CVE-2008-2664, and CVE-2008-2725. 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.\nThe rb_str_format function in Ruby 1.8.4 and earlier, 1.8.5 before 1.8.5-p231, 1.8.6 before 1.8.6-p230, 1.8.7 before 1.8.7-p22, and 1.9.0 before 1.9.0-2 allows context-dependent attackers to trigger memory corruption via unspecified vectors related to alloca, a different issue than CVE-2008-2662, CVE-2008-2663, and CVE-2008-2725. 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.\nInteger 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."}], "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-2663"}], "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-06-20T00:00:00Z", "x_subShortName": "redhat_5"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 10, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:C/I:C/A:C", "authentication": "NONE", "integrityImpact": "COMPLETE", "accessComplexity": "LOW", "availabilityImpact": "COMPLETE", "confidentialityImpact": "COMPLETE"}}], "affected": [{"vendor": "unknown", "product": "unknown", "defaultStatus": "unknown"}], "references": [{"url": "http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0206", "tags": ["broken-link"]}, {"url": "http://www.zedshaw.com/rants/the_big_ruby_vulnerabilities.html", "tags": ["broken-link"]}, {"url": "https://issues.rpath.com/browse/RPL-2626", "tags": ["broken-link"]}, {"url": "http://lists.apple.com/archives/security-announce/2008//Jun/msg00002.html", "tags": ["mailing-list", "third-party-advisory"]}, {"url": "http://slackware.com/security/viewer.php?l=slackware-security&y=2008&m=slackware-security.429562", "tags": ["mailing-list", "third-party-advisory"]}, {"url": "http://www.ruby-lang.org/en/news/2008/06/20/arbitrary-code-execution-vulnerabilities/", "tags": ["patch", "vendor-advisory"]}, {"url": "http://blog.phusion.nl/2008/06/23/ruby-186-p230187-broke-your-app-ruby-enterprise-edition-to-the-rescue/", "tags": ["third-party-advisory"]}, {"url": "http://lists.opensuse.org/opensuse-security-announce/2008-08/msg00006.html", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/30802", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/30831", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/30867", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/30875", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/30894", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/31062", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/31090", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/31181", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/31256", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/31687", "tags": ["third-party-advisory"]}, {"url": "http://secunia.com/advisories/33178", "tags": ["third-party-advisory"]}, {"url": "http://security.gentoo.org/glsa/glsa-200812-17.xml", "tags": ["third-party-advisory"]}, {"url": "http://support.apple.com/kb/HT2163", "tags": ["third-party-advisory"]}, {"url": "http://weblog.rubyonrails.org/2008/6/21/multiple-ruby-security-vulnerabilities", "tags": ["third-party-advisory"]}, {"url": "http://www.debian.org/security/2008/dsa-1612", "tags": ["third-party-advisory"]}, {"url": "http://www.debian.org/security/2008/dsa-1618", "tags": ["third-party-advisory"]}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:140", "tags": ["third-party-advisory"]}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:141", "tags": ["third-party-advisory"]}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:142", "tags": ["third-party-advisory"]}, {"url": "http://www.matasano.com/log/1070/updates-on-drew-yaos-terrible-ruby-vulnerabilities/", "tags": ["third-party-advisory"]}, {"url": "http://www.redhat.com/support/errata/RHSA-2008-0561.html", "tags": ["third-party-advisory"]}, {"url": "http://www.ruby-forum.com/topic/157034", "tags": ["third-party-advisory"]}, {"url": "http://www.rubyinside.com/june-2008-ruby-security-vulnerabilities-927.html", "tags": ["third-party-advisory"]}, {"url": "http://www.ubuntu.com/usn/usn-621-1", "tags": ["third-party-advisory"]}, {"url": "http://www.vupen.com/english/advisories/2008/1907/references", "tags": ["third-party-advisory"]}, {"url": "http://www.vupen.com/english/advisories/2008/1981/references", "tags": ["third-party-advisory"]}, {"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10524", "tags": ["third-party-advisory"]}, {"url": "https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00937.html", "tags": ["third-party-advisory"]}, {"url": "http://www.securityfocus.com/archive/1/493688/100/0/threaded", "tags": ["third-party-advisory", "vdb-entry"]}, {"url": "http://www.securityfocus.com/bid/29903", "tags": ["third-party-advisory", "vdb-entry"]}, {"url": "http://www.securitytracker.com/id?1020347", "tags": ["third-party-advisory", "vdb-entry"]}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/43346", "tags": ["third-party-advisory", "vdb-entry"]}], "descriptions": [{"lang": "en", "value": "Multiple integer overflows in the rb_ary_store 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 allow context-dependent attackers to execute arbitrary code or cause a denial of service via unknown vectors, a different issue than CVE-2008-2662, CVE-2008-2664, and CVE-2008-2725. 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."}, {"lang": "es", "value": "Múltiples desbordamientos de entero en la función rb_ary_store de Ruby 1.8.4 y anteriores, 1.8.5 anterior a 1.8.5-p231, 1.8.6 anterior a 1.8.6-p230 y 1.8.7 anterior a 1.8.7-p22 permite a atacantes dependientes del contexto ejecutar código de su elección mediante vectores desconocidos, un problema distinto a CVE-2008-2662, CVE-2008-2664 y CVE-2008-2725. NOTA: a fecha de 24-06-2008, ha habido un uso inconsistente de múltiples identificadores CVE relacionados con Ruby. La descripción CVE debe tomarse como autorizada aunque probablemente cambie."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-190", "description": "CWE-190"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "DISCARDED_CNA", "dateUpdated": "2008-06-24T19:41:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2008-2663", "state": "PUBLISHED", "dateUpdated": "2025-04-09T00:30:58Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2008-06-24T19:41:00Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}