Bug 598738 (CVE-2010-0742) - CVE-2010-0742 openssl: invalid ASN1 module definition for CMS
Summary: CVE-2010-0742 openssl: invalid ASN1 module definition for CMS
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2010-0742
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: public=20100601,reported=20100601,sou...
Depends On: 598739 598740 1127896
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-01 23:05 UTC by Vincent Danen
Modified: 2019-06-08 13:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-25 09:50:48 UTC


Attachments (Terms of Use)

Description Vincent Danen 2010-06-01 23:05:39 UTC
From the upstream advisory [1]:

nvalid ASN1 module definition for CMS.
=======================================

CMS structures containing OriginatorInfo are mishandled this can write to
invalid memory addresses or free up memory twice
(CVE-2010-0742).

This bug is only present in the CMS code: the older PKCS#7 code is not affected.

CMS is only present in OpenSSL 0.9.8h and later where it is disabled by
default and 1.0.0 where it is enabled by default.

Users of OpenSSL CMS code should update to 0.9.8o or 1.0.0a which contains a
patch to correct this issue.

Thanks to Ronald Moesbergen for reporting this issue.


This has been corrected upstream via:

http://cvs.openssl.org/chngview?cn=19693

[1] http://www.openssl.org/news/secadv_20100601.txt

Comment 1 Vincent Danen 2010-06-01 23:07:48 UTC
Statement:

Not vulnerable. These issues did not affect the versions of OpenSSL as shipped with Red Hat Enterprise Linux 3, 4, or 5.

Comment 3 Vincent Danen 2010-06-01 23:08:20 UTC
Created openssl tracking bugs for this issue

Affects: fedora-all [bug 598740]

Comment 4 Tomas Hoger 2010-06-02 08:29:50 UTC
(In reply to comment #0)
> This has been corrected upstream via:
> http://cvs.openssl.org/chngview?cn=19693

Relevant part is crypto/cms/cms_asn1.c change:
http://cvs.openssl.org/filediff?f=openssl/crypto/cms/cms_asn1.c&v1=1.8&v2=1.8.6.1

Upstream bug report:
http://rt.openssl.org/Ticket/Display.html?id=2211&user=guest&pass=guest

Comment 5 Fedora Update System 2010-06-02 10:15:13 UTC
openssl-0.9.8n-2.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/openssl-0.9.8n-2.fc11

Comment 6 Fedora Update System 2010-06-07 07:52:52 UTC
openssl-1.0.0a-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/openssl-1.0.0a-1.fc13

Comment 7 Fedora Update System 2010-06-07 07:53:24 UTC
openssl-1.0.0a-1.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/openssl-1.0.0a-1.fc12

Comment 8 Fedora Update System 2010-06-15 15:58:36 UTC
openssl-1.0.0a-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2010-06-16 17:43:43 UTC
openssl-1.0.0a-1.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2010-06-21 21:43:18 UTC
openssl-0.9.8n-2.fc11 has been pushed to the Fedora 11 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.