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 1238322 - (CVE-2015-3276) CVE-2015-3276 openldap: incorrect multi-keyword mode cipherstring parsing
CVE-2015-3276 openldap: incorrect multi-keyword mode cipherstring parsing
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20150715,repor...
: Reopened, Security
Depends On: 1231522 1243517
Blocks: 1210268 1238327
  Show dependency treegraph
 
Reported: 2015-07-01 11:20 EDT by Vasyl Kaigorodov
Modified: 2016-12-13 13:28 EST (History)
12 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A flaw was found in the way OpenLDAP parsed OpenSSL-style cipher strings. As a result, OpenLDAP could potentially use ciphers that were not intended to be enabled.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-11-20 00:21:31 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)
patch against current upstream to provide correct AND logic for multiple-mask keywords (1.32 KB, text/plain)
2015-07-24 03:33 EDT, Martin Prpič
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2131 normal SHIPPED_LIVE Moderate: openldap security, bug fix, and enhancement update 2015-11-19 04:10:21 EST

  None (edit)
Description Vasyl Kaigorodov 2015-07-01 11:20:52 EDT
The openldap (for NSS) emulation of the openssl cipherstring parsing code
incorrectly implements the multi-keyword mode.
As a consequence anyone using a combination like:

  ECDH+SHA

will not get the expected set of ciphers

  ECDH-RSA-RC4-SHA
  ECDH-RSA-DES-CBC3-SHA
  ECDH-RSA-AES128-SHA
  ECDH-RSA-AES256-SHA
  ECDH-ECDSA-RC4-SHA
  ECDH-ECDSA-DES-CBC3-SHA
  ECDH-ECDSA-AES128-SHA
  ECDH-ECDSA-AES256-SHA
  ECDHE-RSA-RC4-SHA
  ECDHE-RSA-DES-CBC3-SHA
  ECDHE-RSA-AES128-SHA
  ECDHE-RSA-AES256-SHA
  ECDHE-ECDSA-RC4-SHA
  ECDHE-ECDSA-DES-CBC3-SHA
  ECDHE-ECDSA-AES128-SHA
  ECDHE-ECDSA-AES256-SHA

but instead will match

  DES-CBC-SHA
  DES-CBC3-SHA
  RC4-SHA
  EDH-RSA-DES-CBC-SHA
  EDH-RSA-DES-CBC3-SHA
  EDH-DSS-DES-CBC-SHA
  EDH-DSS-DES-CBC3-SHA
  EXP1024-DES-CBC-SHA
  EXP1024-RC4-SHA
  SEED-SHA
  AES128-SHA
  AES256-SHA
  CAMELLIA256-SHA
  CAMELLIA128-SHA
  DHE-RSA-AES128-SHA
  DHE-RSA-AES256-SHA
  DHE-RSA-CAMELLIA128-SHA
  DHE-RSA-CAMELLIA256-SHA
  DHE-DSS-RC4-SHA
  DHE-DSS-AES128-SHA
  DHE-DSS-AES256-SHA
  DHE-DSS-CAMELLIA128-SHA
  DHE-DSS-CAMELLIA256-SHA
  ECDH-RSA-RC4-SHA
  ECDH-RSA-DES-CBC3-SHA
  ECDH-RSA-AES128-SHA
  ECDH-RSA-AES256-SHA
  ECDH-ECDSA-RC4-SHA
  ECDH-ECDSA-DES-CBC3-SHA
  ECDH-ECDSA-AES128-SHA
  ECDH-ECDSA-AES256-SHA
  ECDHE-RSA-RC4-SHA
  ECDHE-RSA-DES-CBC3-SHA
  ECDHE-RSA-AES128-SHA
  ECDHE-RSA-AES256-SHA
  ECDHE-ECDSA-RC4-SHA
  ECDHE-ECDSA-DES-CBC3-SHA
  ECDHE-ECDSA-AES128-SHA
  ECDHE-ECDSA-AES256-SHA

Acknowledgements:

This issue was discovered by Martin Poole of the Red Hat Software Maintenance Engineering group.
Comment 1 Vasyl Kaigorodov 2015-07-01 11:33:00 EDT
A suggested patch is attached in comment 4.
Comment 2 Kurt Seifried 2015-07-15 12:30:03 EDT
Created openldap tracking bugs for this issue:

Affects: fedora-all [bug 1243517]
Comment 4 Martin Prpič 2015-07-24 03:33:11 EDT
Created attachment 1055640 [details]
patch against current upstream to provide correct AND logic for multiple-mask keywords
Comment 6 Huzaifa S. Sidhpurwala 2015-08-14 04:55:51 EDT
Statement:

This issue does not affect the version of openldap package as shipped with Red Hat Enterprise Linux 5.
Comment 8 errata-xmlrpc 2015-11-19 03:53:39 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2015:2131 https://rhn.redhat.com/errata/RHSA-2015-2131.html
Comment 9 Ankur Sao 2016-03-03 02:28:50 EST
Which version of openLdap is affected by this vulnerability and in which version it is fixed ?
Comment 10 Havard Eidnes 2016-12-13 13:28:12 EST
(In reply to Ankur Sao from comment #9)
> Which version of openLdap is affected by this vulnerability and in which
> version it is fixed ?

By the looks of it, all versions of openLdap are affected; I know the
latest at 2.4.44 is.

I tried submitting this bug upstream, but got turned away because of
IPR concerns over the rights to the fix, ref.

  http://www.openldap.org/its/index.cgi?findid=8543

Can someone from RedHat please submit this bugfix to LDAP, because
that doesn't appear to have happened...

Best regards,

- Håvard

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