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

High 7.5 Published Updated

The Ruby DL module fails to check input taintness, allowing attackers to bypass safe levels and execute dangerous functions via DL.dlopen.

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

What is CVE-2008-3657?

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

Official description

The dl module in 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 check "taintness" of inputs, which allows context-dependent attackers to bypass safe levels and execute dangerous functions by accessing a library using DL.dlopen.

Weakness: CWE-20

Which versions are affected by CVE-2008-3657?

It affects 1 product.

Products include Ruby-Lang Ruby.

How do I fix CVE-2008-3657?

Upgrade to a fixed version.

Is CVE-2008-3657 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Ruby-Lang Ruby vulnerabilities

Sources

Also known as GHSA-5f6v-fgcw-j5px.

Is CVE-2008-3657 in your software?

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

Check your SBOMs for free