BreachSpiderVerified, not vibes

CVE-2008-3655 in Ruby-Lang Ruby

High 7.5 Public exploit reported

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 2.07.5
EPSS14.1%
EPSS percentile97th
FixUnknown

Remotely exploitable over the network, low complexity.

Affected products and versions

VendorProductAffected versions
Ruby-Lang Ruby 1.8.6 1.8.7 1.9.0 ≤ 1.8.5

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2008-3655
BreachSpider IDBS-2008-GLOBAL-160511-H
CVSS vectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Published2008-08-13
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-264: Permissions, Privileges, and Access Controls

Broad class covering failures in permission enforcement. Deprecated in favor of CWE-284, CWE-862, CWE-863.

Analysis AI-written, not human-reviewed

Ruby versions 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 have a vulnerability that allows attackers to bypass intended access restrictions at various safe levels.

Attackers can exploit this vulnerability by using methods such as untrace_var, accessing $PROGRAM_NAME, using syslog at safe level 4, and utilizing insecure methods at safe levels 1 through 3. This can lead to unauthorized access to critical variables and methods.

Questions

What is CVE-2008-3655?

Ruby versions 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 have a vulnerability that allows attackers to bypass intended access restrictions at various safe levels.

What is the CVSS score for CVE-2008-3655?

CVE-2008-3655 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 14.1%.

Is CVE-2008-3655 actively exploited?

Public exploit available for CVE-2008-3655. Exploitation risk elevated.

How do I remediate CVE-2008-3655?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2008-3655?

CVE-2008-3655 affects Ruby-Lang Ruby.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Ruby-Lang","product":"Ruby","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.