CVE-2008-3657: Input Validation

Published Aug 13, 2008
·
Updated

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.

Affected Software

43 affected components
ruby-lang Ruby<=1.8.5
ruby-lang Ruby=1.6.8
ruby-lang Ruby=1.8.0
ruby-lang Ruby=1.8.1
ruby-lang Ruby=1.8.1--9
ruby-lang Ruby=1.8.2
ruby-lang Ruby=1.8.2-preview2
ruby-lang Ruby=1.8.2-preview3
ruby-lang Ruby=1.8.2-preview4
ruby-lang Ruby=1.8.3
ruby-lang Ruby=1.8.3-preview1
ruby-lang Ruby=1.8.3-preview2
ruby-lang Ruby=1.8.3-preview3
ruby-lang Ruby=1.8.4
ruby-lang Ruby=1.8.4-preview1
ruby-lang Ruby=1.8.4-preview2
ruby-lang Ruby=1.8.4-preview3
ruby-lang Ruby=1.8.5-p11
ruby-lang Ruby=1.8.5-p113
ruby-lang Ruby=1.8.5-p115
ruby-lang Ruby=1.8.5-p12
ruby-lang Ruby=1.8.5-p2
ruby-lang Ruby=1.8.5-p35
ruby-lang Ruby=1.8.5-preview1
ruby-lang Ruby=1.8.5-preview2
ruby-lang Ruby=1.8.5-preview3
ruby-lang Ruby=1.8.5-preview4
ruby-lang Ruby=1.8.5-preview5
ruby-lang Ruby=1.8.6
ruby-lang Ruby=1.8.6-p110
ruby-lang Ruby=1.8.6-p114
ruby-lang Ruby=1.8.6-preview1
ruby-lang Ruby=1.8.6-preview2
ruby-lang Ruby=1.8.6-preview3
ruby-lang Ruby=1.8.7
ruby-lang Ruby=1.8.7-p17
ruby-lang Ruby=1.8.7-p22
ruby-lang Ruby=1.8.7-p71
ruby-lang Ruby=1.8.7-preview1
ruby-lang Ruby=1.8.7-preview2
ruby-lang Ruby=1.8.7-preview3
ruby-lang Ruby=1.8.7-preview4
ruby-lang Ruby=1.9.0

Remediation

Event History

Aug 13, 2008
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description

Frequently Asked Questions

1

What is the severity of CVE-2008-3657?

CVE-2008-3657 is considered a moderate severity vulnerability due to its potential to allow attackers to execute arbitrary code.

2

How do I fix CVE-2008-3657?

To fix CVE-2008-3657, update Ruby to a version later than 1.9 or utilize safer coding practices that validate input.

3

What versions of Ruby are affected by CVE-2008-3657?

CVE-2008-3657 affects Ruby versions 1.8.5 and earlier, including specific 1.8.6, 1.8.7, and 1.9 versions.

4

What kind of attacks can be executed using CVE-2008-3657?

Attackers can exploit CVE-2008-3657 to bypass safe levels and execute dangerous functions by manipulating library access.

5

Is CVE-2008-3657 a common vulnerability?

CVE-2008-3657 is known within the Ruby community due to the risk it poses and the age of the affected versions.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203