Bug 1116198 (CVE-2014-1544) - CVE-2014-1544 nss: Race-condition in certificate verification can lead to Remote code execution (MFSA 2014-63)
Summary: CVE-2014-1544 nss: Race-condition in certificate verification can lead to Rem...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2014-1544
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1032472 1113849 1116199 1116200 1116201 1116202 1117716 1117717 1117718 1117731 1136716
Blocks: 1116215
TreeView+ depends on / blocked
 
Reported: 2014-07-04 02:53 UTC by Huzaifa S. Sidhpurwala
Modified: 2023-05-12 04:07 UTC (History)
5 users (show)

Fixed In Version: nss 3.16.2
Doc Type: Bug Fix
Doc Text:
A race condition was found in the way NSS verified certain certificates. A remote attacker could use this flaw to crash an application using NSS or, possibly, execute arbitrary code with the privileges of the user running that application.
Clone Of:
Environment:
Last Closed: 2014-07-23 05:21:18 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2014:0915 0 normal SHIPPED_LIVE Critical: nss security update 2014-07-22 21:49:13 UTC
Red Hat Product Errata RHSA-2014:0916 0 normal SHIPPED_LIVE Critical: nss and nspr security update 2014-07-22 23:21:28 UTC
Red Hat Product Errata RHSA-2014:0917 0 normal SHIPPED_LIVE Critical: nss and nspr security, bug fix, and enhancement update 2014-07-22 21:59:48 UTC
Red Hat Product Errata RHSA-2014:1165 0 normal SHIPPED_LIVE Critical: nss security update 2014-09-08 18:15:31 UTC

Description Huzaifa S. Sidhpurwala 2014-07-04 02:53:21 UTC
A race-condition during certication verification could lead to remote code execution.

Mozilla describes this flaw as:

Security researchers Tyson Smith and Jesse Schwartzentruber used the Address Sanitizer tool while fuzzing to discover a use-after-free error resulting in a crash. This is a result of a pair of NSSCertificate structures being added to a trust domain and then one of them is removed while they are still in use by the trusted cache. This crash is potentially exploitable.

In general this flaw cannot be exploited through email in the Thunderbird product because scripting is disabled, but is potentially a risk in browser or browser-like contexts.

https://bugzilla.mozilla.org/show_bug.cgi?id=963150 (private)
Patch: https://hg.mozilla.org/projects/nss/rev/204f22c527f8

External Reference:

http://www.mozilla.org/security/announce/2014/mfsa2014-63.html

Acknowledgements:

Red Hat would like to thank the Mozilla project for reporting this issue. Upstream acknowledges Tyson Smith and Jesse Schwartzentruber as the original reporters.

Comment 3 errata-xmlrpc 2014-07-22 17:49:40 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 5.6 Long Life
  Red Hat Enterprise Linux 5.9 EUS - Server Only
  Red Hat Enterprise Linux 6.2 AUS
  Red Hat Enterprise Linux 6.4 EUS - Server and Compute Node Only

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

Comment 4 errata-xmlrpc 2014-07-22 18:00:49 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 6

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

Comment 5 errata-xmlrpc 2014-07-22 19:21:51 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 7
  Red Hat Enterprise Linux 5

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

Comment 6 Huzaifa S. Sidhpurwala 2014-07-23 05:35:12 UTC
This issue has been addressed upstream in nss 3.16.2. 

Fedora 19 and Fedora 20 already ships nss-3.16.2 via the following advisories:

https://admin.fedoraproject.org/updates/FEDORA-2014-8047/nss-3.16.2-1.fc19,nss-softokn-3.16.2-1.fc19,nss-util-3.16.2-1.fc19
https://admin.fedoraproject.org/updates/FEDORA-2014-7941/nss-util-3.16.2-1.fc20,nss-softokn-3.16.2-1.fc20,nss-3.16.2-1.fc20

Comment 9 Martin Prpič 2014-07-28 11:37:22 UTC
IssueDescription:

A race condition was found in the way NSS verified certain certificates. A remote attacker could use this flaw to crash an application using NSS or, possibly, execute arbitrary code with the privileges of the user running that application.

Comment 12 errata-xmlrpc 2014-09-08 14:15:40 UTC
This issue has been addressed in following products:

  Red Hat Enterprise Linux 4 Extended Lifecycle Support

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


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