Bug 834062 - (CVE-2011-5095) CVE-2011-5095 openssl: weak public value accepted during Diffie Hellman key exchange
CVE-2011-5095 openssl: weak public value accepted during Diffie Hellman key e...
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On:
Blocks: 834066
  Show dependency treegraph
Reported: 2012-06-20 14:12 EDT by Vincent Danen
Modified: 2013-01-03 11:34 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-06-22 11:13:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Vincent Danen 2012-06-20 14:12:16 EDT
Common Vulnerabilities and Exposures assigned an identifier CVE-2011-5095 to
the following vulnerability:

Name: CVE-2011-5095
URL: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-5095
Assigned: 20120620
Reference: http://www.cl.cam.ac.uk/~rja14/Papers/psandqs.pdf
Reference: http://www.nessus.org/plugins/index.php?view=single&id=53360
Reference: https://discussions.nessus.org/thread/3381

The Diffie-Hellman key-exchange implementation in OpenSSL 0.9.8, when
FIPS mode is enabled, does not properly validate a public parameter,
which makes it easier for man-in-the-middle attackers to obtain the
shared secret key by modifying network traffic, a related issue to
Comment 1 Tomas Mraz 2012-06-20 14:38:18 EDT
Note that this bug is fixed in the openssl package since 0.9.8e-20.el5 version.
It is not fixed in the compat openssl098e package in RHEL-6 as it was not a serious problem.
Comment 2 Tomas Mraz 2012-06-20 14:39:25 EDT
See bug 698175.
Comment 3 Vincent Danen 2012-06-20 17:38:57 EDT
Tomas, thanks for that.  That means for RHEL5 this was addressed via http://rhn.redhat.com/errata/RHBA-2011-1010.html.

We'll defer this for RHEL6's openssl098e package.  Does this also mean that openssl097a is not affected?
Comment 4 Tomas Mraz 2012-06-21 04:31:39 EDT
Actually openssl097a is affected - the dh key check is not there at all.
Comment 5 Tomas Hoger 2012-06-22 11:13:17 EDT
(In reply to comment #4)
> Actually openssl097a is affected - the dh key check is not there at all.

It seems DH_check_pub_key was introduced in 0.9.8a:

As noted above, this is fixed in current Red Hat Enterprise Linux 5 and 6 openssl packages.  There is no plan to add the fix to older Red Hat Enterprise Linux versions already in the Extended Life Phase, or in the compat packages.

This is not handled as a security flaw, as as indicated in the above comments and in bug 698175, this may cause SSL/TLS client or server to accept weak DH public value during the DH key exchange, but it's not sufficient by itself to conduct MITM attack.


This issue was addressed in Red Hat Enterprise Linux 5 openssl packages via RHBA-2011:1010, bug 698175. It did not affect openssl packages shipped with Red Hat Enterprise Linux 6.

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