Bug 1269351 (CVE-2015-7182)

Summary: CVE-2015-7182 nss: ASN.1 decoder heap overflow when decoding constructed OCTET STRING that mixes indefinite and definite length encodings (MFSA 2015-133)
Product: [Other] Security Response Reporter: Huzaifa S. Sidhpurwala <huzaifas>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: unspecifiedCC: carnil, cyril.cordouibarzi, emaldona, jrusnack, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nss 3.19.2.1, nss 3.19.4, nss 3.20.1 Doc Type: Bug Fix
Doc Text:
A heap-based buffer overflow flaw was found in the way NSS parsed certain ASN.1 structures. An attacker could use this flaw to cause NSS to crash or execute arbitrary code with the permissions of the user running an application compiled against the NSS library.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-18 06:56:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1269354, 1269355, 1269356, 1269357, 1269358, 1269382, 1269383, 1269384, 1269385    
Bug Blocks: 1269376    

Description Huzaifa S. Sidhpurwala 2015-10-07 05:59:14 UTC
Mozilla engineers David Keeler reported a buffer overflow in the ASN.1 decoder in Network Security Services (NSS). These issues were in octet string parsing and were found through fuzzing and code inspection. If these issues were exploited, they would lead to a potentially exploitable crash.

These issues were fixed in NSS version 3.19.2.1 and 3.19.4, shipped in Firefox and Firefox ESR, respectively, as well as NSS 3.20.1.

Upstream bug:

https://bugzilla.mozilla.org/show_bug.cgi?id=1202868

External Reference:

https://www.mozilla.org/security/announce/2015/mfsa2015-133.html
https://access.redhat.com/articles/2043623

Acknowledgements:

Red Hat would like to thank the Mozilla project for reporting this issue. Upstream acknowledges David Keeler as the original reporter.

Comment 5 errata-xmlrpc 2015-11-04 07:12:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 5

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

Comment 6 errata-xmlrpc 2015-11-04 12:49:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7
  Red Hat Enterprise Linux 6

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

Comment 7 errata-xmlrpc 2015-11-18 06:28:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6.5 EUS - Server and Compute Node Only
  Red Hat Enterprise Linux 6.6 EUS - Server and Compute Node Only
  Red Hat Enterprise Linux 6.2 AUS
  Red Hat Enterprise Linux 6.4 AUS - Server Only

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