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 1218141 - (CVE-2015-3622) CVE-2015-3622 libtasn1: heap overflow flaw in _asn1_extract_der_octet()
CVE-2015-3622 libtasn1: heap overflow flaw in _asn1_extract_der_octet()
Status: NEW
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=20150430,repor...
: Security
Depends On: 1218142 1218143 1218144 1421361
Blocks: 1218146
  Show dependency treegraph
 
Reported: 2015-05-04 05:32 EDT by Martin Prpič
Modified: 2018-07-18 10:39 EDT (History)
19 users (show)

See Also:
Fixed In Version: libtasn1 4.5
Doc Type: Bug Fix
Doc Text:
A heap-based buffer overflow flaw was found in the way the libtasn1 library decoded certain DER-encoded inputs. A specially crafted DER-encoded input could cause an application using libtasn1 to perform an invalid read, causing the application to crash.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1860 normal SHIPPED_LIVE Moderate: libtasn1 security, bug fix, and enhancement update 2017-08-01 13:50:00 EDT

  None (edit)
Description Martin Prpič 2015-05-04 05:32:28 EDT
A heap-based buffer overflow flaw was found in the way the libtasn1 library decoded certain DER-encoded input. A specially crafted, DER-encoded input could cause an application using libtasn1 to perform an invalid read, causing the application to crash.

Upstream patch:

http://git.savannah.gnu.org/gitweb/?p=libtasn1.git;a=commitdiff;h=f979435823a02f842c41d49cd41cc81f25b5d677
Comment 1 Martin Prpič 2015-05-04 05:33:58 EDT
Reproducer:

https://crashes.fuzzing-project.org/TFPA-2015-005-libtasn1-4.4-heap-overflow.crt

Sample malformed certificate exposing heap overflow (test with certtool -i --inder --infile=[sample] and address sanitizer or valgrind)
Comment 2 Martin Prpič 2015-05-04 05:34:45 EDT
Created libtasn1 tracking bugs for this issue:

Affects: fedora-all [bug 1218142]
Comment 3 Martin Prpič 2015-05-04 05:34:49 EDT
Created mingw-libtasn1 tracking bugs for this issue:

Affects: fedora-all [bug 1218143]
Affects: epel-7 [bug 1218144]
Comment 5 Fedora Update System 2015-05-19 12:20:45 EDT
libtasn1-4.5-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 9 Huzaifa S. Sidhpurwala 2015-06-02 00:58:43 EDT
Statement:

Red Hat Product Security has rated this issue as having moderate security impact, a future update may address this flaw in the libtasn1 packages.
Comment 12 errata-xmlrpc 2017-08-01 11:09:53 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2017:1860 https://access.redhat.com/errata/RHSA-2017:1860

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