Live threats

All CVEs / Ruby-lang

CVE-2011-4121Ruby-lang Ruby

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.5%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Nov 26, 2019
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-326
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ruby-langruby≥ 1.8.7.334 < 1.9.3

Official sources

References

Links published by the sources. Open them with care.