CVE-2008-3655 Security feature bypass in n/a

High 7.5 Published Updated

Attackers can bypass Ruby's safe level restrictions to access critical variables and methods, potentially leading to unauthorized code execution or privilege escalation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
Available

What is CVE-2008-3655?

CVE-2008-3655 is a high-severity vulnerability in Ruby-Lang Ruby, published on 13 Aug 2008.

Official description

Ruby 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 through r18423 does not properly restrict access to critical variables and methods at various safe levels, which allows context-dependent attackers to bypass intended access restrictions via (1) untrace_var, (2) $PROGRAM_NAME, and (3) syslog at safe level 4, and (4) insecure methods at safe levels 1 through 3.

Weakness: CWE-264

Which versions are affected by CVE-2008-3655?

It affects 1 product.

Products include Ruby-Lang Ruby.

How do I fix CVE-2008-3655?

Upgrade to a fixed version.

Is CVE-2008-3655 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-3655 exists.

Public exploit code: 2 Exploit-DB entries.

All Ruby-Lang Ruby vulnerabilities

Sources

Also known as GHSA-p524-ppf2-w36w.

Is CVE-2008-3655 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free