Advisory Published
Updated

REDHAT-BUG-863484

First published: Fri Oct 05 2012(Updated: )

Originally, Common Vulnerabilities and Exposures assigned an identifier of <a href="https://access.redhat.com/security/cve/CVE-2011-1005">CVE-2011-1005</a> to the following vulnerability: 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. with the following upstream patch: [1] <a href="http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=30903&amp;view=revision">http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=30903&amp;view=revision</a> Based on later upstream patch for different (<a href="https://access.redhat.com/security/cve/CVE-2012-4464">CVE-2012-4464</a> and <a href="https://access.redhat.com/security/cve/CVE-2012-4466">CVE-2012-4466</a>) issues: [2] <a href="http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&amp;revision=37068">http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&amp;revision=37068</a> it was found that original upstream 1.8.x ruby patch for <a href="https://access.redhat.com/security/cve/CVE-2011-1005">CVE-2011-1005</a> issue was not complete, when the NameError#to_s() method was used on / with Ruby objects (the test logic in 'test_to_s_taintness_propagation' test from [1] was actually reversed, so the test returned success also on still vulnerable instances). Acknowledgements: This issue was discovered by Vit Ondruch of Red Hat.

Affected SoftwareAffected VersionHow to fix
Ruby>=1.8.6<1.8.7-330>=1.8.7<1.8.8dev

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-863484?

    The severity of REDHAT-BUG-863484 is categorized as critical due to the potential for exploit and unauthorized access.

  • How do I fix REDHAT-BUG-863484?

    To fix REDHAT-BUG-863484, upgrade Ruby to a version that is not vulnerable, specifically above 1.8.7-330.

  • Which versions of Ruby are affected by REDHAT-BUG-863484?

    Ruby versions 1.8.6 up to 1.8.7-330 and 1.8.8dev are affected by REDHAT-BUG-863484.

  • What vulnerabilities are associated with REDHAT-BUG-863484?

    REDHAT-BUG-863484 is associated with CVE-2011-1005, which affects the safe-level feature in Ruby.

  • Is there a workaround for REDHAT-BUG-863484?

    There is no known workaround for REDHAT-BUG-863484; updating to a patched Ruby version is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203