Description
Ruby 1.6.x up to 1.6.8, 1.8.x up to 1.8.2, and 1.9.0 development up to 2005-09-01 allows attackers to bypass safe level and taint flag protections and execute disallowed code when Ruby processes a program through standard input (stdin).
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.
Debian
Security tracker ↗Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | irb +6 | 1.8.1-7.EL4.2 | RHSA-2005:799 |
| RHEL 3 | irb +6 | 1.6.8-9.EL3.4 | RHSA-2005:799 |
Advisories 4
- RHSA-2005:799 Red Hat Security Advisory: ruby security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-862-1 ruby1.6 - programming error Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-864-1 ruby1.8 - programming error Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-860-1 ruby - programming error Debian Security (DSA / DLA) · Mar 9, 2026
References
- 17951 vdb-entry
- 16904 third-party-advisory
- ADV-2006-1779 vdb-entry
- oval:org.mitre.oval:def:10564 vdb-entry signature
- SUSE-SR:2006:005 vendor-advisory
- TA06-132A third-party-advisory
- ruby-eval-security-bypass(22360) vdb-entry
- http://jvn.jp/jp/JVN%2362914675/index.html
- DSA-860 vendor-advisory
- 17098 third-party-advisory
- 17285 third-party-advisory
- VU#160012 third-party-advisory
- 59 third-party-advisory
- DSA-864 vendor-advisory
- 17147 third-party-advisory
- APPLE-SA-2006-05-11 vendor-advisory
- 19130 third-party-advisory
- 14909 vdb-entry
- 1014948 vdb-entry
- 17129 third-party-advisory
- RHSA-2005:799 vendor-advisory
- GLSA-200510-05 vendor-advisory
- MDKSA-2005:191 vendor-advisory
- 20077 third-party-advisory
- USN-195-1 vendor-advisory
- http://www.ruby-lang.org/en/20051003.html
- 17094 third-party-advisory
- DSA-862 vendor-advisory