Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 751800 - (CVE-2011-4121) CVE-2011-4121 ruby (openssl extension): Insecure way of creation exponent value by private RSA key generation
CVE-2011-4121 ruby (openssl extension): Insecure way of creation exponent val...
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
impact=important,public=20111103,repo...
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-07 10:52 EST by Jan Lieskovsky
Modified: 2012-05-23 13:58 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-11-07 11:03:45 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan Lieskovsky 2011-11-07 10:52:26 EST
A security flaw was found in the way the OpenSSL extension of the Ruby programming language (of version from the Git trunk repository after 2011-09-01 up to 2011-11-03) generated exponent value to be used for private RSA key generation (the bug caused the exponent for the generated key to be always '1'). A remote attacker could use this flaw to bypass / corrupt integrity of services, depending on strong private RSA keys generation mechanism.

Relevant upstream patch:
[1] http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=33633
Comment 1 Jan Lieskovsky 2011-11-07 10:58:55 EST
CVE Request:
[2] http://www.openwall.com/lists/oss-security/2011/11/07/7
Comment 2 Jan Lieskovsky 2011-11-07 11:03:45 EST
This issue did NOT affect the versions of the ruby package, as shipped with
Red Hat Enterprise Linux 4, 5, and 6, since those versions directly call RSA_generate_key(3) OpenSSL library routine for RSA key generation:
[3] http://www.openssl.org/docs/crypto/RSA_generate_key.html

rather than to use own, Ruby language / module based, method.

--

This issue did NOT affect the versions of the ruby package, as shipped with Fedora release of 14 and 15, since those versions directly call RSA_generate_key(3) OpenSSL library routine for RSA key generation:
[4] http://www.openssl.org/docs/crypto/RSA_generate_key.html

rather than to use own, Ruby language / module based, method.
Comment 3 Vincent Danen 2011-11-07 12:30:56 EST
This was assigned the name CVE-2011-4121:

http://www.openwall.com/lists/oss-security/2011/11/07/8

Note You need to log in before you can comment on or make changes to this bug.