Bug 1102323 - (CVE-2014-3468) CVE-2014-3468 libtasn1: asn1_get_bit_der() can return negative bit length
CVE-2014-3468 libtasn1: asn1_get_bit_der() can return negative bit length
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=20140525,repor...
: Security
Depends On: 1102336 1102337 1102338 1102339 1102355 1102356 1103087 1103088 1103089
Blocks: 1101736
  Show dependency treegraph
 
Reported: 2014-05-28 14:31 EDT by Tomas Hoger
Modified: 2015-11-25 05:06 EST (History)
6 users (show)

See Also:
Fixed In Version: libtasn1 3.6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-06-10 08:45:19 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Tomas Hoger 2014-05-28 14:31:12 EDT
It was discovered that libtasn1 library function asn1_get_bit_der() could incorrectly report negative bit length of the value read from ASN.1 input.  This could possibly lead to an out of bounds access in an application using libtasn1, for example in case if application tried to terminate read value with NUL byte.

The following upstream commit corrects the issue and causes the function to report error rather than return negative length value:
http://git.savannah.gnu.org/cgit/libtasn1.git/commit/?id=1c3ccb3e040bf13e342ee60bc23b21b97b11923f
Comment 3 Tomas Hoger 2014-05-29 07:41:39 EDT
Acknowledgment:

Red Hat would like to thank GnuTLS upstream for reporting this issue.
Comment 4 Tomas Hoger 2014-05-30 04:18:04 EDT
Fixed upstream in libtasn1 3.6:
http://lists.gnu.org/archive/html/help-libtasn1/2014-05/msg00006.html
Comment 5 Tomas Hoger 2014-05-30 04:26:28 EDT
Created libtasn1 tracking bugs for this issue:

Affects: fedora-all [bug 1103087]
Comment 6 Tomas Hoger 2014-05-30 04:26:31 EDT
Created mingw-libtasn1 tracking bugs for this issue:

Affects: fedora-all [bug 1103088]
Comment 7 Tomas Hoger 2014-05-30 04:26:34 EDT
Created mingw32-gnutls tracking bugs for this issue:

Affects: epel-5 [bug 1103089]
Comment 8 errata-xmlrpc 2014-06-03 12:09:41 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

Via RHSA-2014:0596 https://rhn.redhat.com/errata/RHSA-2014-0596.html
Comment 9 errata-xmlrpc 2014-06-03 12:10:41 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5

Via RHSA-2014:0594 https://rhn.redhat.com/errata/RHSA-2014-0594.html
Comment 10 Fedora Update System 2014-06-04 03:52:08 EDT
libtasn1-3.6-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 11 Fedora Update System 2014-06-09 23:06:14 EDT
libtasn1-3.6-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 12 errata-xmlrpc 2014-06-10 08:35:40 EDT
This issue has been addressed in following products:

  Red Hat Enterprise Linux 7

Via RHSA-2014:0687 https://rhn.redhat.com/errata/RHSA-2014-0687.html
Comment 13 errata-xmlrpc 2014-06-30 13:28:55 EDT
This issue has been addressed in following products:

  RHEV-H and Agents for RHEL-6

Via RHSA-2014:0815 https://rhn.redhat.com/errata/RHSA-2014-0815.html

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