{"id":"CVE-2011-0188","sourceIdentifier":"product-security@apple.com","published":"2011-03-23T02:00:06.110","lastModified":"2026-06-16T23:26:58.203","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"The VpMemAlloc function in bigdecimal.c in the BigDecimal class in Ruby 1.9.2-p136 and earlier, as used on Apple Mac OS X before 10.6.7 and other platforms, does not properly allocate memory, which allows context-dependent attackers to execute arbitrary code or cause a denial of service (application crash) via vectors involving creation of a large BigDecimal value within a 64-bit process, related to an \"integer truncation issue.\""},{"lang":"es","value":"La función VpMemAlloc en bigdecimal.c en la clase BigDecimal en Ruby v1.9.2-P136 y anteriores, tal como se utiliza en Apple Mac OS X antes de vv10.6.7 y en otras plataformas, no asigna memoria adecuadamente, lo que permite a atacantes dependientes de contexto ejecutar código de su elección o causar una denegación de servicio (caída de aplicación) a través de vectores que impliquen la creación de un valor BigDecimal grande dentro de un proceso de 64 bits, relacionado con un \"fallo de truncado de entero\"."}],"affected":[{"source":"product-security@apple.com","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","baseScore":6.8,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-189"}]}],"configurations":[{"operator":"AND","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*","versionEndIncluding":"1.9.2-p136","matchCriteriaId":"7999259C-95F6-474B-A828-1DEBFD20236D"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*","matchCriteriaId":"D9237145-35F8-4E05-B730-77C0F386E5B2"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9:r18423:*:*:*:*:*:*","matchCriteriaId":"11743FC1-0DD5-4946-AECF-C9962BF7C21F"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.0:*:*:*:*:*:*:*","matchCriteriaId":"52179EC7-CAF0-42AA-A21A-7105E10CA122"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.0:r18423:*:*:*:*:*:*","matchCriteriaId":"D906EA97-7071-4CFA-84EF-EC82D813D7AE"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.0-0:*:*:*:*:*:*:*","matchCriteriaId":"A2D5127F-1E79-4F83-8BB0-C479B6CFE9AE"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.0-1:*:*:*:*:*:*:*","matchCriteriaId":"31181BA2-71A7-40C8-9E08-8FEAB013977B"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.0-2:*:*:*:*:*:*:*","matchCriteriaId":"EB8F3772-C973-41DB-AB3A-F4323418FC7F"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.0-20060415:*:*:*:*:*:*:*","matchCriteriaId":"A688B357-7096-4362-A7DD-5A24FB0AF431"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.0-20070709:*:*:*:*:*:*:*","matchCriteriaId":"46913DE9-8AE6-40E5-AEA1-6D2524EE7581"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*","matchCriteriaId":"C78BB1D8-0505-484D-B824-1AA219F8B247"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:-p0:*:*:*:*:*:*","matchCriteriaId":"470CF526-96F6-4DD1-B687-17106051A6D5"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:-p129:*:*:*:*:*:*","matchCriteriaId":"52159D9F-8CD3-4103-82E6-BDE035BA3625"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:-p243:*:*:*:*:*:*","matchCriteriaId":"EC0FD3F8-73A3-4518-8892-1E34D709FB89"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:-p376:*:*:*:*:*:*","matchCriteriaId":"4B846CCE-7D1D-4A7E-95D8-50F92CF79AC6"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:-p429:*:*:*:*:*:*","matchCriteriaId":"CB99DD31-7355-4FF1-AE41-CC156F83D7A2"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_1:*:*:*:*:*:*","matchCriteriaId":"A7E15263-74D3-42D4-B37C-C649F68EDECC"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:-preview_2:*:*:*:*:*:*","matchCriteriaId":"BA7FEA9B-06CE-4D08-9D61-2526ED5AE630"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc1:*:*:*:*:*:*","matchCriteriaId":"0D7F7EA5-7F6C-4C15-AB97-024836DC4862"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:-rc2:*:*:*:*:*:*","matchCriteriaId":"236B38D1-0CCA-43C5-B2FC-1224F4F4E165"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*","matchCriteriaId":"5178D04D-1C29-4353-8987-559AA07443EC"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.2:dev:*:*:*:*:*:*","matchCriteriaId":"D19F541D-98C2-42A6-9364-D6D9A279796E"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:o:apple:mac_os_x:10.5.8:*:*:*:*:*:*:*","matchCriteriaId":"1335E35A-D381-4056-9E78-37BC6DF8AD98"},{"vulnerable":false,"criteria":"cpe:2.3:o:apple:mac_os_x:10.6.0:*:*:*:*:*:*:*","matchCriteriaId":"3C69DEE9-3FA5-408E-AD27-F5E7043F852A"},{"vulnerable":false,"criteria":"cpe:2.3:o:apple:mac_os_x:10.6.1:*:*:*:*:*:*:*","matchCriteriaId":"D25D1FD3-C291-492C-83A7-0AFAFAADC98D"},{"vulnerable":false,"criteria":"cpe:2.3:o:apple:mac_os_x:10.6.2:*:*:*:*:*:*:*","matchCriteriaId":"5B565F77-C310-4B83-B098-22F9489C226C"},{"vulnerable":false,"criteria":"cpe:2.3:o:apple:mac_os_x:10.6.3:*:*:*:*:*:*:*","matchCriteriaId":"546EBFC8-79F0-42C2-9B9A-A76CA3F19470"},{"vulnerable":false,"criteria":"cpe:2.3:o:apple:mac_os_x:10.6.4:*:*:*:*:*:*:*","matchCriteriaId":"119C8089-8C98-472E-9E9C-1741AA21DD35"},{"vulnerable":false,"criteria":"cpe:2.3:o:apple:mac_os_x:10.6.5:*:*:*:*:*:*:*","matchCriteriaId":"831C5105-6409-4743-8FB5-A91D8956202F"},{"vulnerable":false,"criteria":"cpe:2.3:o:apple:mac_os_x:10.6.6:*:*:*:*:*:*:*","matchCriteriaId":"0B63D169-E2AA-4315-891F-B4AF99F2753C"},{"vulnerable":false,"criteria":"cpe:2.3:o:apple:mac_os_x_server:10.5.8:*:*:*:*:*:*:*","matchCriteriaId":"82B4CD59-9F37-4EF0-BA43-427CFD6E1329"},{"vulnerable":false,"criteria":"cpe:2.3:o:apple:mac_os_x_server:10.6.0:*:*:*:*:*:*:*","matchCriteriaId":"26E34E35-CCE9-42BE-9AFF-561D8AA90E25"},{"vulnerable":false,"criteria":"cpe:2.3:o:apple:mac_os_x_server:10.6.1:*:*:*:*:*:*:*","matchCriteriaId":"A04FF6EE-D4DA-4D70-B0CE-154292828531"},{"vulnerable":false,"criteria":"cpe:2.3:o:apple:mac_os_x_server:10.6.2:*:*:*:*:*:*:*","matchCriteriaId":"9425320F-D119-49EB-9265-3159070DFE93"},{"vulnerable":false,"criteria":"cpe:2.3:o:apple:mac_os_x_server:10.6.3:*:*:*:*:*:*:*","matchCriteriaId":"F6BE138D-619B-4E44-BFB2-8DFE5F0D1E12"},{"vulnerable":false,"criteria":"cpe:2.3:o:apple:mac_os_x_server:10.6.4:*:*:*:*:*:*:*","matchCriteriaId":"EF0D1051-F850-4A02-ABA0-968E1336A518"},{"vulnerable":false,"criteria":"cpe:2.3:o:apple:mac_os_x_server:10.6.5:*:*:*:*:*:*:*","matchCriteriaId":"A1C9705A-74D4-43BA-A119-C667678F9A15"},{"vulnerable":false,"criteria":"cpe:2.3:o:apple:mac_os_x_server:10.6.6:*:*:*:*:*:*:*","matchCriteriaId":"4BBF5FE5-4B25-47BE-8D9D-F228746408EC"}]}]}],"references":[{"url":"http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html","source":"product-security@apple.com","tags":["Patch","Vendor Advisory"]},{"url":"http://support.apple.com/kb/HT4581","source":"product-security@apple.com","tags":["Patch"]},{"url":"http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/bigdecimal/bigdecimal.c?r1=29364&r2=30993","source":"product-security@apple.com","tags":["Patch","Vendor Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:097","source":"product-security@apple.com"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:098","source":"product-security@apple.com"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0908.html","source":"product-security@apple.com"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0909.html","source":"product-security@apple.com"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0910.html","source":"product-security@apple.com"},{"url":"http://www.securitytracker.com/id?1025236","source":"product-security@apple.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=682332","source":"product-security@apple.com","tags":["Patch"]},{"url":"http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]},{"url":"http://support.apple.com/kb/HT4581","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ext/bigdecimal/bigdecimal.c?r1=29364&r2=30993","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:097","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2011:098","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0908.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0909.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.redhat.com/support/errata/RHSA-2011-0910.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id?1025236","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=682332","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]}],"evaluatorImpact":"Per: http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html\r\n\r\n 'This issue only affects 64-bit Ruby processes'."}