Bug 501572 - (CVE-2009-1379) CVE-2009-1379 OpenSSL: DTLS pointer use-after-free flaw (DoS)
CVE-2009-1379 OpenSSL: DTLS pointer use-after-free flaw (DoS)
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
http://marc.info/?l=openssl-dev&m=124...
public=20090511,reported=20090518,sou...
: Security
Depends On: 501667 1127896
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-19 15:26 EDT by Jan Lieskovsky
Modified: 2016-03-04 06:06 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-12-22 10:26:46 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)
Sample X509v3 certificate used by the s_server proving presence of the flaw (3.65 KB, text/plain)
2009-05-19 15:31 EDT, Jan Lieskovsky
no flags Details
Patch proposed by the reporter (468 bytes, patch)
2009-05-19 15:32 EDT, Jan Lieskovsky
no flags Details | Diff

  None (edit)
Description Jan Lieskovsky 2009-05-19 15:26:11 EDT
A pointer use-after-free flaw was found in the OpenSSL's Datagram TLS (DTLS)
implementation. An attacker could use this flaw to cause a denial of
service (s_client crash) by establishing a fake OpenSSL's s_server with
a specially-crafted X509.v3 certificate file.

Credit: Daniel Mentz

References:
http://marc.info/?l=openssl-dev&m=124202891602690&w=2
http://xorl.wordpress.com/2009/05/18/cve-2009-1379-dtls-fragment-read-after-free/
Comment 1 Jan Lieskovsky 2009-05-19 15:31:53 EDT
Created attachment 344670 [details]
Sample X509v3 certificate used by the s_server proving presence of the flaw
Comment 2 Jan Lieskovsky 2009-05-19 15:32:46 EDT
Created attachment 344671 [details]
Patch proposed by the reporter
Comment 3 Jan Lieskovsky 2009-05-19 15:33:58 EDT
Scenario (from the openssl-devel report):

When I run

./openssl s_server -dtls1 -no_ecdhe -timeout -cert large.pem

against

./openssl s_client -dtls1

I'll get a Segmentation fault on the client side.
Comment 4 Jan Lieskovsky 2009-05-19 15:40:34 EDT
CVE-2009-1379:

Use-after-free vulnerability in the dtls1_retrieve_buffered_fragment
function in ssl/d1_both.c in OpenSSL 1.0.0 Beta 2 allows remote
attackers to cause a denial of service (openssl s_client crash) and
possibly have unspecified other impact via a DTLS packet, as
demonstrated by a packet from a server that uses a crafted server
certificate.

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1379
http://www.openwall.com/lists/oss-security/2009/05/18/4
https://launchpad.net/bugs/cve/2009-1379
http://rt.openssl.org/Ticket/Display.html?id=1923&user=guest&pass=guest
Comment 6 Fedora Update System 2009-05-21 15:53:58 EDT
openssl-0.9.8g-14.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/openssl-0.9.8g-14.fc10
Comment 7 Fedora Update System 2009-05-21 15:54:20 EDT
openssl-0.9.8g-9.14.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/openssl-0.9.8g-9.14.fc9
Comment 8 Fedora Update System 2009-05-21 15:54:35 EDT
openssl-0.9.8k-5.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/openssl-0.9.8k-5.fc11
Comment 9 Tomas Hoger 2009-06-02 05:25:20 EDT
This issue did not affect versions of openssl as shipped in Red Hat Enterprise Linux 3 and 4.

This issue affects openssl version as shipped in Red Hat Enterprise Linux 5 and it will be addressed in the openssl packages update in Red Hat Enterprise Linux 5.4.  There is no update planned before than, as both DTLS specification and OpenSSL's implementation is still in development and unlikely to be used in production environments.  There is no component shipped in Red Hat Enterprise Linux 5 using OpenSSL's DTLS implementation, except for OpenSSL's testing command line client - openssl.
Comment 10 Fedora Update System 2009-06-19 09:35:23 EDT
openssl-0.9.8g-14.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 11 Fedora Update System 2009-06-19 09:40:53 EDT
openssl-0.9.8g-9.14.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 12 Fedora Update System 2009-06-19 09:42:44 EDT
openssl-0.9.8k-5.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 13 errata-xmlrpc 2009-09-02 07:00:19 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2009:1335 https://rhn.redhat.com/errata/RHSA-2009-1335.html

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