BreachSpiderVerified, not vibes

CVE-2011-4121 in Ruby-Lang Ruby

Critical 9.8

The OpenSSL extension of Ruby (Git trunk) versions after 2011-09-01 up to 2011-11-03 always generated an exponent value of '1' to be used for private RSA key generation. A remote attacker could use this flaw to bypass or corrupt integrity of services, depending on strong private RSA keys generation mechanism.

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

CVSS 3.19.8
EPSS2.5%
EPSS percentile86th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Ruby-Lang Ruby ≥ 1.8.7.334, < 1.9.3

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.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

The OpenSSL extension of Ruby (Git trunk) versions after 2011-09-01 up to 2011-11-03 always generated an exponent value of '1' to be used for private RSA key generation. A remote attacker could use this flaw to bypass or corrupt integrity of services, depending on strong private RSA keys generation mechanism.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2011-4121
BreachSpider IDBS-2019-GLOBAL-089331-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2019-11-26
Last modified2026-06-16
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-326: CWE-326

Related attack patterns (CAPEC)

CAPEC-20 Encryption Brute Forcing via CWE-326

CAPEC-112 Brute Force via CWE-326

CAPEC-192 Protocol Analysis via CWE-326

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2019. A critical vulnerability affects Ruby-Lang systems (CVE-2011-4121). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: The OpenSSL extension of Ruby (Git trunk) versions after 2011-09-01 up to 2011-11-03 always generated an exponent value of '1' to be used for private RSA key generation. A remote attacker could use this flaw to bypass or corrupt integrity of services, depending on strong private RSA keys generation mechanism. CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Questions

What is CVE-2011-4121?

This vulnerability was disclosed in 2019. A critical vulnerability affects Ruby-Lang systems (CVE-2011-4121). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2011-4121?

CVE-2011-4121 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 2.5%.

Is CVE-2011-4121 actively exploited?

No confirmed active exploitation of CVE-2011-4121 as of 2026-09-25.

How do I remediate CVE-2011-4121?

Priority: MEDIUM.

What systems are affected by CVE-2011-4121?

CVE-2011-4121 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.