Skip to content
OpenAdvisories
Unscored CVE-2011-1005 EUVD-2011-1022GHSA-h2rc-3ppq-6pjg

The safe-level feature in Ruby 1.8.6 through 1.8.6-420, 1.8.7 through 1.8.7-330, and 1.8.8dev allows context-dependent attackers to modify …

Published Mar 2, 2011 · Updated Aug 6, 2024 · Assigned by redhat

Description

The safe-level feature in Ruby 1.8.6 through 1.8.6-420, 1.8.7 through 1.8.7-330, and 1.8.8dev allows context-dependent attackers to modify strings via the Exception#to_s method, as demonstrated by changing an intended pathname.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
RHEL 6 ruby +8 1.8.7.299-7.el6_1.1 RHSA-2011:0910
RHEL 5 ruby +8 1.8.5-19.el5_6.1 RHSA-2011:0909
RHEL 4 irb +6 1.8.1-16.el4 RHSA-2011:0908

Advisories 3

References