CVE-2012-4466
Status: ModifiedMedium (5)—
Ruby 1.8.7 before patchlevel 371, 1.9.3 before patchlevel 286, and 2.0 before revision r37068 allows context-dependent attackers to bypass safe-level restrictions and modify untainted strings via the name_err_mesg_to_str API function, which marks the string as tainted, a different vulnerability than CVE-2011-1005.
CVSS
- Version: 2.0
- Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N
- Base score: 5
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 2.62%
- Percentile among all scored CVEs: 85
- Score date: 10/5/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
Affected technologies (1)
CWEs
- CWE-264
References
- http://lists.fedoraproject.org/pipermail/package-announce/2012-October/089554.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-October/089887.html
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37068
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:124
- http://www.openwall.com/lists/oss-security/2012/10/02/4
- http://www.openwall.com/lists/oss-security/2012/10/03/9
- http://www.ruby-lang.org/en/news/2012/10/12/cve-2012-4464-cve-2012-4466/
- https://bugzilla.redhat.com/show_bug.cgi?id=862614
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0294
- http://lists.fedoraproject.org/pipermail/package-announce/2012-October/089554.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-October/089887.html
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37068
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:124
- http://www.openwall.com/lists/oss-security/2012/10/02/4
- http://www.openwall.com/lists/oss-security/2012/10/03/9
- http://www.ruby-lang.org/en/news/2012/10/12/cve-2012-4464-cve-2012-4466/
- https://bugzilla.redhat.com/show_bug.cgi?id=862614
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0294
Raw JSON (NVD)
Show
{
"id": "CVE-2012-4466",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"version": "2.0",
"baseScore": 5,
"accessVector": "NETWORK",
"vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:N",
"authentication": "NONE",
"integrityImpact": "PARTIAL",
"accessComplexity": "LOW",
"availabilityImpact": "NONE",
"confidentialityImpact": "NONE"
},
"acInsufInfo": false,
"impactScore": 2.9,
"baseSeverity": "MEDIUM",
"obtainAllPrivilege": false,
"exploitabilityScore": 10,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": false,
"userInteractionRequired": false
}
]
},
"affected": [
{
"source": "secalert@redhat.com",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2013-04-25T23:55:01.340",
"references": [
{
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-October/089554.html",
"source": "secalert@redhat.com"
},
{
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-October/089887.html",
"source": "secalert@redhat.com"
},
{
"url": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37068",
"source": "secalert@redhat.com"
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2013:124",
"source": "secalert@redhat.com"
},
{
"url": "http://www.openwall.com/lists/oss-security/2012/10/02/4",
"source": "secalert@redhat.com"
},
{
"url": "http://www.openwall.com/lists/oss-security/2012/10/03/9",
"source": "secalert@redhat.com"
},
{
"url": "http://www.ruby-lang.org/en/news/2012/10/12/cve-2012-4464-cve-2012-4466/",
"tags": [
"Vendor Advisory"
],
"source": "secalert@redhat.com"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=862614",
"source": "secalert@redhat.com"
},
{
"url": "https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0294",
"source": "secalert@redhat.com"
},
{
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-October/089554.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://lists.fedoraproject.org/pipermail/package-announce/2012-October/089887.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37068",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2013:124",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.openwall.com/lists/oss-security/2012/10/02/4",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.openwall.com/lists/oss-security/2012/10/03/9",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.ruby-lang.org/en/news/2012/10/12/cve-2012-4464-cve-2012-4466/",
"tags": [
"Vendor Advisory"
],
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=862614",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0294",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-264"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Ruby 1.8.7 before patchlevel 371, 1.9.3 before patchlevel 286, and 2.0 before revision r37068 allows context-dependent attackers to bypass safe-level restrictions and modify untainted strings via the name_err_mesg_to_str API function, which marks the string as tainted, a different vulnerability than CVE-2011-1005."
},
{
"lang": "es",
"value": "Ruby v1.8.7 antes de patchlevel 371, v1.9.3 antes patchlevel 286 y v2.0 antes de la revisión r37068 permite a atacantes dependientes de contexto evitar las restricciones de seguridad de nivel y modificar cadenas untainted a través de la función de la API name_err_mesg_to_str, que marca la cadena como contaminada, una diferente vulnerabilidad a CVE-2011-1005."
}
],
"lastModified": "2026-06-16T23:45:09.237",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "2D86FC99-3521-4E22-8FD3-65CEB05A6342"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p160:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F81AB75D-9B8D-4880-A1FE-3DB24875BD1E"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p17:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "84A291B0-EABD-4572-B8E2-2457DBAEDC92"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p173:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "8B8B0853-F277-4EF2-A3A2-FC88891AA175"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p174:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "470F9991-8033-49A2-B996-4D3595C221F4"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p22:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "1FE05F3A-A8B5-45EE-BF52-D55E2768F890"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p248:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "9672DC94-7550-40C1-8FF3-5BD2DC1FA3B6"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p249:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "CDE72BB9-07AB-446A-81BE-85AF243BF3A2"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p299:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "55D77438-86CE-4256-8285-EB9CE372D0AD"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p301:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "404E191A-E394-4774-B1FB-2A7BB1558F0B"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p302:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "C1232504-801A-4EDD-A967-D22469181551"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p330:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "51F327AA-0F3A-4F81-AD6A-4CF36055D034"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p334:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "40E2C5E5-CB07-4CFE-A539-C199D76174F6"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p352:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "C5A64D8C-C117-4315-A2A3-2786D20BDE07"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p357:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "AFD81C81-4DE3-48F1-93F1-C6817F32AFBB"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p358:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "57813DB6-4CD3-4D6D-8028-65B71A34AC31"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p370:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "2FAA3BCC-496A-4D6D-8743-8022B202754D"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p71:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0C6D66E2-3E10-4DEA-9E6B-53A5DE78AFCF"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:p72:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "17AA24B4-30C7-4D46-A55C-A5CC7C446436"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:preview1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "4E37786B-5336-4182-A1E3-801BDB6F61EC"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:preview2:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "349D014E-223A-46A7-8334-543DB330C215"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:preview3:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "550EC183-43A1-4A63-A23C-A48C1F078451"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.8.7:preview4:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "0ACECF59-AA88-4B5C-A671-83842C9CF072"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D0535DC9-EB0E-4745-80AC-4A020DF26E38"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.3:p0:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "94F5AA37-B466-4E2E-B217-5119BADDD87B"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.3:p125:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "6DF0F0F5-4022-4837-9B40-4B1127732CC9"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:1.9.3:p194:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B3848B08-85C2-4AAD-AA33-CCEB80EF5B32"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:2.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "90E0471D-1323-4E67-B66C-DEBF3BBAEEAA"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "B03B7561-A854-4EFA-9E4E-CFC4EEAE4EE1"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:2.0.0:p0:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D2423B85-0971-42AC-8B64-819008BC5778"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:2.0.0:preview1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "CB116A84-1652-4F5D-98AC-81F0349EEDC0"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:2.0.0:preview2:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "259C21E7-6084-4710-9BB3-C232942A451E"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:2.0.0:rc1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "285A3431-BDFE-40C5-92CD-B18217757C23"
},
{
"criteria": "cpe:2.3:a:ruby-lang:ruby:2.0.0:rc2:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "D66B32CB-AC49-4A1C-85ED-6389F27CB319"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "secalert@redhat.com"
}