Bug 1228607 (CVE-2015-1792) - CVE-2015-1792 OpenSSL: CMS verify infinite loop with unknown hash function
Summary: CVE-2015-1792 OpenSSL: CMS verify infinite loop with unknown hash function
Alias: CVE-2015-1792
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1228618 1228619 1228620 1228621 1231051
Blocks: 1227577
TreeView+ depends on / blocked
Reported: 2015-06-05 10:18 UTC by Huzaifa S. Sidhpurwala
Modified: 2023-05-12 09:33 UTC (History)
17 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
A denial of service flaw was found in the way OpenSSL verified certain signed messages using CMS (Cryptographic Message Syntax). A remote attacker could cause an application using OpenSSL to use excessive amounts of memory by sending a specially crafted message for verification.
Clone Of:
Last Closed: 2019-06-08 02:41:46 UTC

Attachments (Terms of Use)
Proposed patch for CVE-2015-1792 (489 bytes, patch)
2015-06-05 10:32 UTC, Huzaifa S. Sidhpurwala
no flags Details | Diff

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1115 0 normal SHIPPED_LIVE Moderate: openssl security update 2015-06-16 00:48:46 UTC

Description Huzaifa S. Sidhpurwala 2015-06-05 10:18:21 UTC
The following was reported by OpenSSL upstream:

When verifying a signedData message the CMS code can enter an infinite loop if presented with an unknown hash function OID.

This can be used to perform denial of service against any system which verifies signedData messages using the CMS code.

This issue affects all current OpenSSL versions: 1.0.2, 1.0.1, 1.0.0 and 0.9.8.

OpenSSL 1.0.2 users should upgrade to 1.0.2b
OpenSSL 1.0.1 users should upgrade to 1.0.1n
OpenSSL 1.0.0 users should upgrade to 1.0.0s
OpenSSL 0.9.8 users should upgrade to 0.9.8zg

This issue was reported to OpenSSL on 31st March 2015 by Johannes Bauer. The fix was developed by Dr. Stephen Henson of the OpenSSL development team.


Red Hat would like to thank the OpenSSL project for reporting this issue.

Comment 1 Huzaifa S. Sidhpurwala 2015-06-05 10:32:09 UTC
Created attachment 1035154 [details]
Proposed patch for CVE-2015-1792

Comment 5 Huzaifa S. Sidhpurwala 2015-06-12 05:56:06 UTC
Created openssl tracking bugs for this issue:

Affects: fedora-all [bug 1231051]

Comment 6 errata-xmlrpc 2015-06-15 20:49:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7
  Red Hat Enterprise Linux 6

Via RHSA-2015:1115 https://rhn.redhat.com/errata/RHSA-2015-1115.html

Comment 7 Huzaifa S. Sidhpurwala 2015-06-16 01:35:58 UTC

This issue does NOT affect the version of OpenSSL package as shipped with Red Hat Enterprise Linux 5.

Comment 8 Fedora Update System 2015-06-21 00:19:12 UTC
openssl-1.0.1k-10.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2015-06-24 15:57:39 UTC
openssl-1.0.1k-10.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

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