Skip to content
Noroxi
CVE-2005-2337· NVD / CVE Program· CNA certcc

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 prote

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).

HighCVSS 7.5 · v2.0—No exploit Fix available
Published
Oct 7, 2005
Updated
Jun 16, 2026
EPSS
3.3% · 88th percentile
CWE
—
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.3%

Affected systems

VendorProduct
yukihiro matsumotoruby

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • yukihiro matsumoto ruby1.6
  • yukihiro matsumoto ruby1.6.1
  • yukihiro matsumoto ruby1.6.2
  • yukihiro matsumoto ruby1.6.3
  • yukihiro matsumoto ruby1.6.4
  • yukihiro matsumoto ruby1.6.5
  • yukihiro matsumoto ruby1.6.6
  • yukihiro matsumoto ruby1.6.7
  • yukihiro matsumoto ruby1.8
  • yukihiro matsumoto ruby1.8.1
  • yukihiro matsumoto ruby1.8.2_pre1
  • yukihiro matsumoto ruby1.8.2_pre2

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:3.0rubybefore 1.6.7-3woody51.6.7-3woody5
Debian:3.1ruby1.6before 1.6.8-12sarge11.6.8-12sarge1
Debian:3.1ruby1.8before 1.8.2-7sarge21.8.2-7sarge2
Red Hat:enterprise_linux:3::asirbbefore 0:1.6.8-9.EL3.40:1.6.8-9.EL3.4
Red Hat:enterprise_linux:3::asrubybefore 0:1.6.8-9.EL3.40:1.6.8-9.EL3.4
Red Hat:enterprise_linux:3::asruby-debuginfobefore 0:1.6.8-9.EL3.40:1.6.8-9.EL3.4
Red Hat:enterprise_linux:3::asruby-develbefore 0:1.6.8-9.EL3.40:1.6.8-9.EL3.4
Red Hat:enterprise_linux:3::asruby-docsbefore 0:1.6.8-9.EL3.40:1.6.8-9.EL3.4
Red Hat:enterprise_linux:3::asruby-libsbefore 0:1.6.8-9.EL3.40:1.6.8-9.EL3.4
Red Hat:enterprise_linux:3::asruby-modebefore 0:1.6.8-9.EL3.40:1.6.8-9.EL3.4
Red Hat:enterprise_linux:3::asruby-tcltkbefore 0:1.6.8-9.EL3.40:1.6.8-9.EL3.4
Red Hat:enterprise_linux:4::asirbbefore 0:1.8.1-7.EL4.20:1.8.1-7.EL4.2
Red Hat:enterprise_linux:4::asrubybefore 0:1.8.1-7.EL4.20:1.8.1-7.EL4.2
Red Hat:enterprise_linux:4::asruby-debuginfobefore 0:1.8.1-7.EL4.20:1.8.1-7.EL4.2
Red Hat:enterprise_linux:4::asruby-develbefore 0:1.8.1-7.EL4.20:1.8.1-7.EL4.2
Red Hat:enterprise_linux:4::asruby-docsbefore 0:1.8.1-7.EL4.20:1.8.1-7.EL4.2
Red Hat:enterprise_linux:4::asruby-libsbefore 0:1.8.1-7.EL4.20:1.8.1-7.EL4.2
Red Hat:enterprise_linux:4::asruby-modebefore 0:1.8.1-7.EL4.20:1.8.1-7.EL4.2
Red Hat:enterprise_linux:4::asruby-tcltkbefore 0:1.8.1-7.EL4.20:1.8.1-7.EL4.2

Other highest-scoring records for the same primary product.

  • CVE-2005-1992The XMLRPC server in utils.rb for the ruby library (libruby) 1.8 sets an invalid default value that prevents "security protection" using han
    32Monitor
  • CVE-2006-3694Multiple unspecified vulnerabilities in Ruby before 1.8.5 allow remote attackers to bypass "safe level" checks via unspecified vectors invol
    27Monitor
  • CVE-2006-1931The HTTP/XMLRPC server in Ruby before 1.8.2 uses blocking sockets, which allows attackers to cause a denial of service (blocked connections)
    23Monitor
  • CVE-2006-6303The read_multipart function in cgi.rb in Ruby before 1.8.5-p2 does not properly detect boundaries in MIME multipart content, which allows re
    21Monitor
  • CVE-2006-5467The cgi.rb CGI library for Ruby 1.8 allows remote attackers to cause a denial of service (infinite loop and CPU consumption) via an HTTP req
    21Monitor
  • CVE-2004-0983The CGI module in Ruby 1.6 before 1.6.8, and 1.8 before 1.8.2, allows remote attackers to cause a denial of service (infinite loop and CPU c
    21Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:ruby1.6.7-3woody5 · Debian:3.0Package registry (OSV)
debian:ruby1.61.6.8-12sarge1 · Debian:3.1Package registry (OSV)
debian:ruby1.81.8.2-7sarge2 · Debian:3.1Package registry (OSV)
red hat:irb0:1.6.8-9.EL3.4 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:ruby0:1.6.8-9.EL3.4 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:ruby-debuginfo0:1.6.8-9.EL3.4 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:ruby-devel0:1.6.8-9.EL3.4 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:ruby-docs0:1.6.8-9.EL3.4 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:ruby-libs0:1.6.8-9.EL3.4 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:ruby-mode0:1.6.8-9.EL3.4 · Red Hat:enterprise_linux:3::asPackage registry (OSV)
red hat:ruby-tcltk0:1.6.8-9.EL3.4 · Red Hat:enterprise_linux:3::asPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • No special conditions are required; it is repeatable.

If successful

Confidentiality
P · data can be read
Integrity
P · data or configuration can be modified
Availability
P · the service can be disrupted
Attack complexity
Low
Confidentiality impact
P
Integrity impact
P
Availability impact
P

Weakness class (CWE)

—

CVSS vector

AV:N/AC:L/Au:N/C:P/I:P/A:P

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records