Cloudanix VulnDB

CVE-2016-1950

High · 8.8

CVSS

8.8

EPSS

4.2%

Published

Mar 13, 2016

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A problem in the software that handles security certificates can let attackers take control of a computer when a user visits a malicious website or opens a bad certificate.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Remote Code Execution
Component
Library
Class
Memory Corruption
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Heap-based buffer overflow in NSS during ASN.1 parsing of X.509 certificates allows remote attackers to execute arbitrary code.

Why it matters to the business

Remote compromise of systems processing untrusted certificates can lead to full system takeover, data theft, or deployment of persistent malware across affected browsers and servers.

How an attack unfolds

An attacker crafts a malicious X.509 certificate containing malformed ASN.1 data, then delivers it to a victim through a web page, email attachment, or TLS handshake; when the vulnerable NSS library parses the certificate, the overflow occurs and attacker-controlled code executes.

How to fix it

Upgrade Mozilla NSS to 3.19.2.3 or 3.21.1 (or later) and Firefox to 45.0 or ESR 38.7 (or later); apply equivalent patches to downstream products such as Oracle Linux, Apple platforms, and OpenSUSE.

How to confirm the fix worked

Verify installed NSS and Firefox versions against the fixed releases; use package managers or vulnerability scanners to confirm absence of vulnerable NSS libraries.

Typical attack path

  1. Craft X.509 certificate with oversized or malformed ASN.1 structures
  2. Host the certificate on a malicious web server or embed in a TLS handshake
  3. Trick victim into visiting the site or initiating a connection that triggers certificate validation
  4. Trigger heap overflow during NSS parsing to gain code execution
  5. Install payload or pivot within the compromised process

How to detect it

Review application and system logs for NSS crashes or segmentation faults during certificate validation; correlate with web proxy or browser history showing visits to suspicious domains around the time of anomalous process behavior.

What your security team should do

  • Immediately update all instances of NSS and Firefox to the patched releases
  • Block untrusted certificate sources and enforce certificate pinning where feasible
  • Scan enterprise endpoints for vulnerable NSS versions and prioritize high-exposure systems
  • Monitor for any delayed exploitation given the age of the vulnerability

The record

Heap-based buffer overflow in Mozilla Network Security Services (NSS) before 3.19.2.3 and 3.20.x and 3.21.x before 3.21.1, as used in Mozilla Firefox before 45.0 and Firefox ESR 38.x before 38.7, allows remote attackers to execute arbitrary code via crafted ASN.1 data in an X.509 certificate.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 firefox-esr 0 45.0esr-1
Debian:11 nss 0 2:3.23-1
Debian:12 firefox-esr 0 45.0esr-1
Debian:12 nss 0 2:3.23-1
Debian:13 firefox-esr 0 45.0esr-1
Debian:13 nss 0 2:3.23-1
Debian:14 firefox-esr 0 45.0esr-1
Debian:14 nss 0 2:3.23-1
Debian:7 icedove 0 38.7.0-1~deb7u1
Debian:7 iceweasel 0 38.7.0esr-1~deb7u1
Debian:7 nss 0 2:3.14.5-1+deb7u6
Debian:8 icedove 0 38.7.0-1~deb8u1
Debian:8 iceweasel 0 38.7.0esr-1~deb8u1
Debian:8 nss 0 2:3.26-1+debu8u1
Mageia:5 firefox 0 38.7.0-1.mga5
Mageia:5 firefox-l10n 0 38.7.0-1.mga5
Mageia:5 nspr 0 4.12-1.mga5
Mageia:5 nss 0 3.21.1-1.mga5
Mageia:5 nss 0 3.23.0-1.mga5
Mageia:5 rootcerts 0 20160225.00-1.mga5
Red Hat:enterprise_linux:5::client nss 0 0:3.19.1-4.el5_11
Red Hat:enterprise_linux:5::client nss-debuginfo 0 0:3.19.1-4.el5_11
Red Hat:enterprise_linux:5::client nss-devel 0 0:3.19.1-4.el5_11
Red Hat:enterprise_linux:5::client nss-pkcs11-devel 0 0:3.19.1-4.el5_11
Red Hat:enterprise_linux:5::client nss-tools 0 0:3.19.1-4.el5_11
Red Hat:enterprise_linux:5::client_workstation nss 0 0:3.19.1-4.el5_11
Red Hat:enterprise_linux:5::client_workstation nss-debuginfo 0 0:3.19.1-4.el5_11
Red Hat:enterprise_linux:5::client_workstation nss-devel 0 0:3.19.1-4.el5_11
Red Hat:enterprise_linux:5::client_workstation nss-pkcs11-devel 0 0:3.19.1-4.el5_11
Red Hat:enterprise_linux:5::client_workstation nss-tools 0 0:3.19.1-4.el5_11
Red Hat:enterprise_linux:5::server nss 0 0:3.19.1-4.el5_11
Red Hat:enterprise_linux:5::server nss-debuginfo 0 0:3.19.1-4.el5_11
Red Hat:enterprise_linux:5::server nss-devel 0 0:3.19.1-4.el5_11
Red Hat:enterprise_linux:5::server nss-pkcs11-devel 0 0:3.19.1-4.el5_11
Red Hat:enterprise_linux:5::server nss-tools 0 0:3.19.1-4.el5_11
Red Hat:enterprise_linux:6::client nss-util 0 0:3.19.1-5.el6_7
Red Hat:enterprise_linux:6::client nss-util-debuginfo 0 0:3.19.1-5.el6_7
Red Hat:enterprise_linux:6::client nss-util-devel 0 0:3.19.1-5.el6_7
Red Hat:enterprise_linux:6::computenode nss-util 0 0:3.19.1-5.el6_7
Red Hat:enterprise_linux:6::computenode nss-util-debuginfo 0 0:3.19.1-5.el6_7
Red Hat:enterprise_linux:6::computenode nss-util-devel 0 0:3.19.1-5.el6_7
Red Hat:enterprise_linux:6::server nss-util 0 0:3.19.1-5.el6_7
Red Hat:enterprise_linux:6::server nss-util-debuginfo 0 0:3.19.1-5.el6_7
Red Hat:enterprise_linux:6::server nss-util-devel 0 0:3.19.1-5.el6_7
Red Hat:enterprise_linux:6::workstation nss-util 0 0:3.19.1-5.el6_7
Red Hat:enterprise_linux:6::workstation nss-util-debuginfo 0 0:3.19.1-5.el6_7
Red Hat:enterprise_linux:6::workstation nss-util-devel 0 0:3.19.1-5.el6_7
Red Hat:enterprise_linux:7::client nss-util 0 0:3.19.1-9.el7_2
Red Hat:enterprise_linux:7::client nss-util-debuginfo 0 0:3.19.1-9.el7_2
Red Hat:enterprise_linux:7::client nss-util-devel 0 0:3.19.1-9.el7_2
Red Hat:enterprise_linux:7::computenode nss-util 0 0:3.19.1-9.el7_2
Red Hat:enterprise_linux:7::computenode nss-util-debuginfo 0 0:3.19.1-9.el7_2
Red Hat:enterprise_linux:7::computenode nss-util-devel 0 0:3.19.1-9.el7_2
Red Hat:enterprise_linux:7::server nss-util 0 0:3.19.1-9.el7_2
Red Hat:enterprise_linux:7::server nss-util-debuginfo 0 0:3.19.1-9.el7_2
Red Hat:enterprise_linux:7::server nss-util-devel 0 0:3.19.1-9.el7_2
Red Hat:enterprise_linux:7::workstation nss-util 0 0:3.19.1-9.el7_2
Red Hat:enterprise_linux:7::workstation nss-util-debuginfo 0 0:3.19.1-9.el7_2
Red Hat:enterprise_linux:7::workstation nss-util-devel 0 0:3.19.1-9.el7_2
Red Hat:rhel_aus:6.4::server nss-util 0 0:3.14.3-8.el6_4
Red Hat:rhel_aus:6.4::server nss-util-debuginfo 0 0:3.14.3-8.el6_4
Red Hat:rhel_aus:6.4::server nss-util-devel 0 0:3.14.3-8.el6_4
Red Hat:rhel_aus:6.5::server nss-util 0 0:3.16.1-4.el6_5
Red Hat:rhel_aus:6.5::server nss-util-debuginfo 0 0:3.16.1-4.el6_5
Red Hat:rhel_aus:6.5::server nss-util-devel 0 0:3.16.1-4.el6_5
Red Hat:rhel_eus:6.6::computenode nss-util 0 0:3.19.1-3.el6_6
Red Hat:rhel_eus:6.6::computenode nss-util-debuginfo 0 0:3.19.1-3.el6_6
Red Hat:rhel_eus:6.6::computenode nss-util-devel 0 0:3.19.1-3.el6_6
Red Hat:rhel_eus:6.6::server nss-util 0 0:3.19.1-3.el6_6
Red Hat:rhel_eus:6.6::server nss-util-debuginfo 0 0:3.19.1-3.el6_6
Red Hat:rhel_eus:6.6::server nss-util-devel 0 0:3.19.1-3.el6_6
Red Hat:rhel_eus:7.1::computenode nss-util 0 0:3.19.1-5.el7_1
Red Hat:rhel_eus:7.1::computenode nss-util-debuginfo 0 0:3.19.1-5.el7_1
Red Hat:rhel_eus:7.1::computenode nss-util-devel 0 0:3.19.1-5.el7_1
Red Hat:rhel_eus:7.1::server nss-util 0 0:3.19.1-5.ael7b_1
Red Hat:rhel_eus:7.1::server nss-util-debuginfo 0 0:3.19.1-5.ael7b_1
Red Hat:rhel_eus:7.1::server nss-util-devel 0 0:3.19.1-5.ael7b_1
Red Hat:rhel_mission_critical:6.2::server nss-util 0 0:3.13.1-10.el6_2
Red Hat:rhel_mission_critical:6.2::server nss-util-debuginfo 0 0:3.13.1-10.el6_2
Red Hat:rhel_mission_critical:6.2::server nss-util-devel 0 0:3.13.1-10.el6_2
SUSE:Linux Enterprise Desktop 11 SP4 MozillaFirefox 0 38.7.0esr-37.3
SUSE:Linux Enterprise Desktop 11 SP4 mozilla-nspr 0 4.12-24.1
SUSE:Linux Enterprise Desktop 11 SP4 mozilla-nss 0 3.20.2-28.1
SUSE:Linux Enterprise Desktop 12 MozillaFirefox 0 38.7.0esr-63.3
SUSE:Linux Enterprise Desktop 12 mozilla-nspr 0 4.12-12.1
SUSE:Linux Enterprise Desktop 12 mozilla-nss 0 3.20.2-40.1
SUSE:Linux Enterprise Desktop 12 SP1 MozillaFirefox 0 38.7.0esr-63.3
SUSE:Linux Enterprise Desktop 12 SP1 MozillaFirefox 0 45.9.0esr-105.1
SUSE:Linux Enterprise Desktop 12 SP1 java-1_8_0-openjdk 0 1.8.0.121-23.4
SUSE:Linux Enterprise Desktop 12 SP1 mozilla-nspr 0 4.12-12.1
SUSE:Linux Enterprise Desktop 12 SP1 mozilla-nspr 0 4.13.1-18.1
SUSE:Linux Enterprise Desktop 12 SP1 mozilla-nss 0 3.20.2-40.1
SUSE:Linux Enterprise Desktop 12 SP1 mozilla-nss 0 3.29.5-57.1
SUSE:Linux Enterprise Desktop 12 SP2 MozillaFirefox 0 45.9.0esr-105.1
SUSE:Linux Enterprise Desktop 12 SP2 java-1_8_0-openjdk 0 1.8.0.121-23.4
SUSE:Linux Enterprise Desktop 12 SP2 mozilla-nspr 0 4.13.1-18.1
SUSE:Linux Enterprise Desktop 12 SP2 mozilla-nss 0 3.29.5-57.1
SUSE:Linux Enterprise Point of Sale 11 SP3 MozillaFirefox 0 45.9.0esr-71.2
SUSE:Linux Enterprise Point of Sale 11 SP3 mozilla-nspr 0 4.13.1-32.1
SUSE:Linux Enterprise Point of Sale 11 SP3 mozilla-nss 0 3.29.5-46.1
SUSE:Linux Enterprise Server 11 SP2-LTSS MozillaFirefox 0 38.7.0esr-36.3
SUSE:Linux Enterprise Server 11 SP2-LTSS mozilla-nspr 0 4.12-19.1
SUSE:Linux Enterprise Server 11 SP2-LTSS mozilla-nss 0 3.20.2-20.1
SUSE:Linux Enterprise Server 11 SP3-LTSS MozillaFirefox 0 38.7.0esr-37.3
SUSE:Linux Enterprise Server 11 SP3-LTSS MozillaFirefox 0 45.9.0esr-71.2
SUSE:Linux Enterprise Server 11 SP3-LTSS mozilla-nspr 0 4.12-24.1
SUSE:Linux Enterprise Server 11 SP3-LTSS mozilla-nspr 0 4.13.1-32.1
SUSE:Linux Enterprise Server 11 SP3-LTSS mozilla-nss 0 3.20.2-28.1
SUSE:Linux Enterprise Server 11 SP3-LTSS mozilla-nss 0 3.29.5-46.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA MozillaFirefox 0 38.7.0esr-37.3
SUSE:Linux Enterprise Server 11 SP3-TERADATA MozillaFirefox 0 45.9.0esr-71.2
SUSE:Linux Enterprise Server 11 SP3-TERADATA mozilla-nspr 0 4.12-24.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA mozilla-nspr 0 4.13.1-32.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA mozilla-nss 0 3.20.2-28.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA mozilla-nss 0 3.29.5-46.1
SUSE:Linux Enterprise Server 11 SP4 MozillaFirefox 0 38.7.0esr-37.3
SUSE:Linux Enterprise Server 11 SP4 MozillaFirefox 0 45.9.0esr-71.2
SUSE:Linux Enterprise Server 11 SP4 mozilla-nspr 0 4.12-24.1
SUSE:Linux Enterprise Server 11 SP4 mozilla-nspr 0 4.13.1-32.1
SUSE:Linux Enterprise Server 11 SP4 mozilla-nss 0 3.20.2-28.1
SUSE:Linux Enterprise Server 11 SP4 mozilla-nss 0 3.29.5-46.1
SUSE:Linux Enterprise Server 12 MozillaFirefox 0 38.7.0esr-63.3
SUSE:Linux Enterprise Server 12 mozilla-nspr 0 4.12-12.1
SUSE:Linux Enterprise Server 12 mozilla-nss 0 3.20.2-40.1
SUSE:Linux Enterprise Server 12 SP1 MozillaFirefox 0 38.7.0esr-63.3
SUSE:Linux Enterprise Server 12 SP1 MozillaFirefox 0 45.9.0esr-105.1
SUSE:Linux Enterprise Server 12 SP1 java-1_8_0-openjdk 0 1.8.0.121-23.4
SUSE:Linux Enterprise Server 12 SP1 mozilla-nspr 0 4.12-12.1
SUSE:Linux Enterprise Server 12 SP1 mozilla-nspr 0 4.13.1-18.1
SUSE:Linux Enterprise Server 12 SP1 mozilla-nss 0 3.20.2-40.1
SUSE:Linux Enterprise Server 12 SP1 mozilla-nss 0 3.29.5-57.1
SUSE:Linux Enterprise Server 12 SP2 MozillaFirefox 0 45.9.0esr-105.1
SUSE:Linux Enterprise Server 12 SP2 java-1_8_0-openjdk 0 1.8.0.121-23.4
SUSE:Linux Enterprise Server 12 SP2 mozilla-nspr 0 4.13.1-18.1
SUSE:Linux Enterprise Server 12 SP2 mozilla-nss 0 3.29.5-57.1
SUSE:Linux Enterprise Server 12-LTSS MozillaFirefox 0 45.9.0esr-105.1
SUSE:Linux Enterprise Server 12-LTSS mozilla-nspr 0 4.13.1-18.1
SUSE:Linux Enterprise Server 12-LTSS mozilla-nss 0 3.29.5-57.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 MozillaFirefox 0 45.9.0esr-105.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 java-1_8_0-openjdk 0 1.8.0.121-23.4
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 mozilla-nspr 0 4.13.1-18.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 mozilla-nss 0 3.29.5-57.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 MozillaFirefox 0 38.7.0esr-37.3
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 MozillaFirefox 0 45.9.0esr-71.2
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 mozilla-nspr 0 4.12-24.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 mozilla-nspr 0 4.13.1-32.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 mozilla-nss 0 3.20.2-28.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 mozilla-nss 0 3.29.5-46.1
SUSE:Linux Enterprise Server for SAP Applications 12 MozillaFirefox 0 38.7.0esr-63.3
SUSE:Linux Enterprise Server for SAP Applications 12 MozillaFirefox 0 45.9.0esr-105.1
SUSE:Linux Enterprise Server for SAP Applications 12 mozilla-nspr 0 4.12-12.1
SUSE:Linux Enterprise Server for SAP Applications 12 mozilla-nspr 0 4.13.1-18.1
SUSE:Linux Enterprise Server for SAP Applications 12 mozilla-nss 0 3.20.2-40.1
SUSE:Linux Enterprise Server for SAP Applications 12 mozilla-nss 0 3.29.5-57.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 MozillaFirefox 0 38.7.0esr-63.3
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 MozillaFirefox 0 45.9.0esr-105.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 java-1_8_0-openjdk 0 1.8.0.121-23.4
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 mozilla-nspr 0 4.12-12.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 mozilla-nspr 0 4.13.1-18.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 mozilla-nss 0 3.20.2-40.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 mozilla-nss 0 3.29.5-57.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 MozillaFirefox 0 45.9.0esr-105.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 java-1_8_0-openjdk 0 1.8.0.121-23.4
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 mozilla-nspr 0 4.13.1-18.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 mozilla-nss 0 3.29.5-57.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 MozillaFirefox 0 38.7.0esr-37.3
SUSE:Linux Enterprise Software Development Kit 11 SP4 MozillaFirefox 0 45.9.0esr-71.2
SUSE:Linux Enterprise Software Development Kit 11 SP4 mozilla-nspr 0 4.12-24.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 mozilla-nspr 0 4.13.1-32.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 mozilla-nss 0 3.20.2-28.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 mozilla-nss 0 3.29.5-46.1
SUSE:Linux Enterprise Software Development Kit 12 MozillaFirefox 0 38.7.0esr-63.3
SUSE:Linux Enterprise Software Development Kit 12 mozilla-nspr 0 4.12-12.1
SUSE:Linux Enterprise Software Development Kit 12 mozilla-nss 0 3.20.2-40.1
SUSE:Linux Enterprise Software Development Kit 12 SP1 MozillaFirefox 0 38.7.0esr-63.3
SUSE:Linux Enterprise Software Development Kit 12 SP1 MozillaFirefox 0 45.9.0esr-105.1
SUSE:Linux Enterprise Software Development Kit 12 SP1 mozilla-nspr 0 4.12-12.1
SUSE:Linux Enterprise Software Development Kit 12 SP1 mozilla-nspr 0 4.13.1-18.1
SUSE:Linux Enterprise Software Development Kit 12 SP1 mozilla-nss 0 3.20.2-40.1
SUSE:Linux Enterprise Software Development Kit 12 SP1 mozilla-nss 0 3.29.5-57.1
SUSE:Linux Enterprise Software Development Kit 12 SP2 MozillaFirefox 0 45.9.0esr-105.1
SUSE:Linux Enterprise Software Development Kit 12 SP2 mozilla-nspr 0 4.13.1-18.1
SUSE:Linux Enterprise Software Development Kit 12 SP2 mozilla-nss 0 3.29.5-57.1
SUSE:Manager 2.1 MozillaFirefox 0 45.9.0esr-71.2
SUSE:Manager 2.1 mozilla-nspr 0 4.13.1-32.1
SUSE:Manager 2.1 mozilla-nss 0 3.29.5-46.1
SUSE:Manager Proxy 2.1 MozillaFirefox 0 45.9.0esr-71.2
SUSE:Manager Proxy 2.1 mozilla-nspr 0 4.13.1-32.1
SUSE:Manager Proxy 2.1 mozilla-nss 0 3.29.5-46.1
SUSE:OpenStack Cloud 5 MozillaFirefox 0 45.9.0esr-71.2
SUSE:OpenStack Cloud 5 mozilla-nspr 0 4.13.1-32.1
SUSE:OpenStack Cloud 5 mozilla-nss 0 3.29.5-46.1
Ubuntu:14.04:LTS firefox 0 45.0+build2-0ubuntu0.14.04.1
Ubuntu:14.04:LTS nss 0 2:3.21-0ubuntu0.14.04.2
Ubuntu:14.04:LTS thunderbird 0 1:38.7.2+build1-0ubuntu0.14.04.1
Ubuntu:16.04:LTS firefox 0 45.0+build2-0ubuntu1
Ubuntu:16.04:LTS nss 0 2:3.21-1ubuntu4
Ubuntu:16.04:LTS thunderbird 0 1:38.7.2+build1-0ubuntu0.16.04.1
openSUSE:Tumbleweed MozillaFirefox 0 50.1.0-1.1
openSUSE:Tumbleweed MozillaThunderbird 0 45.5.1-1.1

Related vulnerabilities