CVE-2020-12403

9.1 CRITICAL

📋 TL;DR

This vulnerability in NSS (Network Security Services) allows out-of-bounds reads when using multi-part ChaCha20-POLY1305 encryption, potentially exposing sensitive data or causing crashes. It affects systems using NSS versions before 3.55 for cryptographic operations. The primary risks are to confidentiality and system availability.

💻 Affected Systems

Products:
  • Mozilla NSS (Network Security Services)
  • Firefox
  • Thunderbird
  • Red Hat Enterprise Linux
  • CentOS
  • Debian
  • NetApp products using NSS
Versions: NSS versions before 3.55
Operating Systems: Linux distributions using affected NSS versions, Any OS running vulnerable applications
Default Config Vulnerable: ⚠️ Yes
Notes: Vulnerability exists when using multi-part ChaCha20-POLY1305, which was not functioning correctly but could still be invoked.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Memory disclosure leading to exposure of encryption keys or sensitive data, potentially enabling further attacks or causing denial of service through application crashes.

🟠

Likely Case

Application instability or crashes when processing specific cryptographic operations, with potential for limited information disclosure.

🟢

If Mitigated

Minimal impact if systems are patched or don't use the vulnerable multi-part ChaCha20 functionality.

🌐 Internet-Facing: MEDIUM - Affects cryptographic libraries used in web servers and services, but exploitation requires specific conditions and targeting.
🏢 Internal Only: LOW - Primarily affects systems performing specific cryptographic operations; internal systems less likely to be targeted.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires triggering the vulnerable multi-part ChaCha20 functionality, which may not be commonly used.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: NSS 3.55 or later

Vendor Advisory: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.55_release_notes

Restart Required: Yes

Instructions:

1. Update NSS to version 3.55 or later using your system's package manager. 2. For applications like Firefox/Thunderbird, update to versions using NSS 3.55+. 3. Restart affected services and applications.

🔧 Temporary Workarounds

Disable multi-part ChaCha20

all

Configure applications to avoid using multi-part ChaCha20-POLY1305 encryption mode

Application-specific configuration required; consult documentation

🧯 If You Can't Patch

  • Isolate affected systems from untrusted networks
  • Monitor for abnormal application crashes or memory access patterns

🔍 How to Verify

Check if Vulnerable:

Check NSS version: 'strings /usr/lib64/libnss3.so | grep Version' or similar for your distribution

Check Version:

rpm -q nss (RHEL/CentOS) or dpkg -l libnss3 (Debian/Ubuntu) or check application about pages

Verify Fix Applied:

Verify NSS version is 3.55 or higher using version check command

📡 Detection & Monitoring

Log Indicators:

  • Application crashes related to cryptographic operations
  • Memory access violation errors in system logs

Network Indicators:

  • Unusual patterns in encrypted traffic, though difficult to detect

SIEM Query:

Application logs containing 'segmentation fault', 'access violation', or cryptographic library errors

🔗 References

📤 Share & Export