CVE-2012-4464

1.9.3: Possibility to bypass Ruby's $SAFE (level 4) semantics

Published Apr 25, 2013 CVSS 2.0 · 5.0 Medium EPSS 2.2% KEV · Not listed
Description
Ruby 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 (1) exc_to_s or (2) name_err_to_s API function, which marks the string as tainted, a different vulnerability than CVE-2012-4466. NOTE: this issue might exist because of a CVE-2011-1005 regression.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2012-4393 Ruby 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 (1) exc_to_s or (2) name_err_to_s API function, which marks the string as tainted, a different vulnerability than CVE-2012-4466. NOTE: this issue might exist because of a CVE-2011-1005 regression.
Ubuntu USN Ubuntu USN USN-1602-1 Ruby vulnerabilities
Ubuntu USN Ubuntu USN USN-1614-1 Ruby vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 8:35 PM
Reserved
Aug 21, 2012, 12:00 AM
Status
Modified
Published
Apr 25, 2013, 11:55 PM
Modified
Jun 16, 2026, 11:45 PM
Severity
Low
Public date
Sep 28, 2012, 12:00 AM