Cloudanix VulnDB

CVE-2016-1938

Medium · 6.5

CVSS

6.5

EPSS

3.2%

Published

Jan 31, 2016

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A math error in security software used by many systems could let remote attackers weaken encryption and access protected information more easily.

Chainable
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Data Exposure
Component
Library
Class
Cryptographic Weakness
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Improper division in s_mp_div within the MPI library leads to incorrect results from mp_div and mp_exptmod, weakening cryptographic operations such as modular arithmetic used in key handling and signature processes.

Why it matters to the business

Attackers may bypass encryption protections in affected systems, increasing risk of data exposure or unauthorized access across widely deployed network security components.

How an attack unfolds

An attacker supplies crafted inputs that invoke the flawed division during cryptographic routines, exploiting incorrect modular results to undermine protection mechanisms without needing authentication.

How to fix it

Upgrade Mozilla NSS to 3.21 or newer and Firefox to 44.0 or newer; rebuild or redeploy any dependent packages to incorporate the corrected MPI implementation.

How to confirm the fix worked

Verify installed NSS and Firefox versions against the fixed releases; perform regression tests on cryptographic functions to confirm correct division behavior.

Typical attack path

  1. Locate services or clients relying on vulnerable NSS versions
  2. Trigger cryptographic operations that call mp_div or mp_exptmod
  3. Leverage erroneous division outcomes to weaken or defeat crypto protections
  4. Proceed with follow-on attacks against now-exposed communications or data

How to detect it

Search application and system logs for cryptographic operation failures or version strings indicating pre-3.21 NSS; inspect process listings and package inventories for vulnerable library instances.

What your security team should do

  • Prioritize patching NSS and Firefox across all environments due to widespread use in cryptographic libraries
  • Audit dependent open-source distributions for bundled vulnerable versions
  • Review cryptographic usage logs for anomalies after patching

The record

The s_mp_div function in lib/freebl/mpi/mpi.c in Mozilla Network Security Services (NSS) before 3.21, as used in Mozilla Firefox before 44.0, improperly divides numbers, which might make it easier for remote attackers to defeat cryptographic protection mechanisms by leveraging use of the (1) mp_div or (2) mp_exptmod function.

Affected packages

Ecosystem Package Introduced Fixed
Debian:11 nss 0 2:3.21-1
Debian:12 nss 0 2:3.21-1
Debian:13 nss 0 2:3.21-1
Debian:6.0 nss 0 3.12.8-1+squeeze14
Debian:7 nss 0 2:3.14.5-1+deb7u6
Debian:8 nss 0 2:3.26-1+debu8u1
SUSE:Linux Enterprise Desktop 11 SP3 MozillaFirefox 0 38.6.0esr-31.3
SUSE:Linux Enterprise Desktop 11 SP3 MozillaFirefox-branding-SLED 0 38-18.24
SUSE:Linux Enterprise Desktop 11 SP3 mozilla-nss 0 3.20.2-25.2
SUSE:Linux Enterprise Desktop 11 SP4 MozillaFirefox 0 38.6.0esr-31.3
SUSE:Linux Enterprise Desktop 11 SP4 MozillaFirefox-branding-SLED 0 38-18.24
SUSE:Linux Enterprise Desktop 11 SP4 mozilla-nss 0 3.20.2-25.2
SUSE:Linux Enterprise Desktop 12 MozillaFirefox 0 38.6.0esr-57.3
SUSE:Linux Enterprise Desktop 12 MozillaFirefox-branding-SLE 0 31.0-20.1
SUSE:Linux Enterprise Desktop 12 mozilla-nss 0 3.20.2-37.1
SUSE:Linux Enterprise Desktop 12 SP1 MozillaFirefox 0 38.6.0esr-57.3
SUSE:Linux Enterprise Desktop 12 SP1 MozillaFirefox-branding-SLE 0 31.0-20.1
SUSE:Linux Enterprise Desktop 12 SP1 mozilla-nss 0 3.20.2-37.1
SUSE:Linux Enterprise Server 11 SP2-LTSS MozillaFirefox 0 38.6.1esr-33.1
SUSE:Linux Enterprise Server 11 SP2-LTSS MozillaFirefox-branding-SLED 0 38-15.58
SUSE:Linux Enterprise Server 11 SP2-LTSS mozilla-nss 0 3.20.2-17.5
SUSE:Linux Enterprise Server 11 SP3 MozillaFirefox 0 38.6.0esr-31.3
SUSE:Linux Enterprise Server 11 SP3 MozillaFirefox-branding-SLED 0 38-18.24
SUSE:Linux Enterprise Server 11 SP3 mozilla-nss 0 3.20.2-25.2
SUSE:Linux Enterprise Server 11 SP3-TERADATA MozillaFirefox 0 38.6.0esr-31.3
SUSE:Linux Enterprise Server 11 SP3-TERADATA MozillaFirefox-branding-SLED 0 38-18.24
SUSE:Linux Enterprise Server 11 SP3-TERADATA mozilla-nss 0 3.20.2-25.2
SUSE:Linux Enterprise Server 11 SP4 MozillaFirefox 0 38.6.0esr-31.3
SUSE:Linux Enterprise Server 11 SP4 MozillaFirefox-branding-SLED 0 38-18.24
SUSE:Linux Enterprise Server 11 SP4 mozilla-nss 0 3.20.2-25.2
SUSE:Linux Enterprise Server 12 MozillaFirefox 0 38.6.0esr-57.3
SUSE:Linux Enterprise Server 12 MozillaFirefox-branding-SLE 0 31.0-20.1
SUSE:Linux Enterprise Server 12 mozilla-nss 0 3.20.2-37.1
SUSE:Linux Enterprise Server 12 SP1 MozillaFirefox 0 38.6.0esr-57.3
SUSE:Linux Enterprise Server 12 SP1 MozillaFirefox-branding-SLE 0 31.0-20.1
SUSE:Linux Enterprise Server 12 SP1 mozilla-nss 0 3.20.2-37.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP3 MozillaFirefox 0 38.6.0esr-31.3
SUSE:Linux Enterprise Server for SAP Applications 11 SP3 MozillaFirefox-branding-SLED 0 38-18.24
SUSE:Linux Enterprise Server for SAP Applications 11 SP3 mozilla-nss 0 3.20.2-25.2
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 MozillaFirefox 0 38.6.0esr-31.3
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 MozillaFirefox-branding-SLED 0 38-18.24
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 mozilla-nss 0 3.20.2-25.2
SUSE:Linux Enterprise Server for SAP Applications 12 MozillaFirefox 0 38.6.0esr-57.3
SUSE:Linux Enterprise Server for SAP Applications 12 MozillaFirefox-branding-SLE 0 31.0-20.1
SUSE:Linux Enterprise Server for SAP Applications 12 mozilla-nss 0 3.20.2-37.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 MozillaFirefox 0 38.6.0esr-57.3
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 MozillaFirefox-branding-SLE 0 31.0-20.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 mozilla-nss 0 3.20.2-37.1
SUSE:Linux Enterprise Software Development Kit 11 SP3 MozillaFirefox 0 38.6.0esr-31.3
SUSE:Linux Enterprise Software Development Kit 11 SP3 mozilla-nss 0 3.20.2-25.2
SUSE:Linux Enterprise Software Development Kit 11 SP4 MozillaFirefox 0 38.6.0esr-31.3
SUSE:Linux Enterprise Software Development Kit 11 SP4 mozilla-nss 0 3.20.2-25.2
SUSE:Linux Enterprise Software Development Kit 12 MozillaFirefox 0 38.6.0esr-57.3
SUSE:Linux Enterprise Software Development Kit 12 mozilla-nss 0 3.20.2-37.1
SUSE:Linux Enterprise Software Development Kit 12 SP1 MozillaFirefox 0 38.6.0esr-57.3
SUSE:Linux Enterprise Software Development Kit 12 SP1 mozilla-nss 0 3.20.2-37.1
Ubuntu:14.04:LTS firefox 0 44.0+build3-0ubuntu0.14.04.1
Ubuntu:14.04:LTS nss 0 2:3.21-0ubuntu0.14.04.1
Ubuntu:14.04:LTS thunderbird 0 1:38.8.0+build1-0ubuntu0.14.04.1
Ubuntu:16.04:LTS nss 0 2:3.21-1ubuntu2
Ubuntu:16.04:LTS thunderbird 0 1:38.8.0+build1-0ubuntu0.16.04.1
openSUSE:Tumbleweed MozillaFirefox 0 50.1.0-1.1
openSUSE:Tumbleweed firefox-esr 0 128.5.1-1.1

Related vulnerabilities