CVE-2023-6135
Medium · 4.3CVSS
4.3
EPSS
0.7%
Published
Dec 19, 2023
CISA due date
—
Cloudanix analysis
A weakness in certain encryption tools could let a skilled attacker watch computer operations and figure out secret keys used to protect private information.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Data Exposure
- Component
- Library
- Class
- Cryptographic Weakness
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Side-channel attack (Minerva) on multiple NSS NIST elliptic curves enables recovery of the private key through observable timing or cache behavior during cryptographic operations.
Why it matters to the business
Potential compromise of private keys could expose encrypted communications or enable impersonation on systems using vulnerable NSS packages, though low exploit likelihood and absence from known campaigns limit immediate operational disruption; update Debian 11 systems promptly to avoid exposure in widely deployed environments.
How an attack unfolds
An attacker with network or local access observes side-channel leakage during repeated NIST curve operations in NSS, applies the Minerva technique to statistically recover the private key, then uses the extracted key to decrypt traffic or forge signatures.
How to fix it
Upgrade NSS packages on Debian 11 to version 5.10.205-1 or later; for Firefox users ensure version 121 or newer is deployed; apply vendor patches across all affected linux distributions immediately.
How to confirm the fix worked
Verify installed NSS or Firefox package versions match or exceed the fixed releases; re-run cryptographic operations and confirm absence of the previously exploitable curve implementations.
Typical attack path
- Identify targets running vulnerable NSS versions in Firefox or dependent applications
- Trigger or observe multiple elliptic-curve cryptographic operations
- Collect timing, cache, or power side-channel measurements
- Process measurements offline with Minerva analysis to extract the private key
- Decrypt protected data or impersonate the key owner
How to detect it
Examine system and application logs for repeated cryptographic calls involving NSS NIST curves; look for unusual process behavior around libnss or Firefox binaries that might indicate side-channel data collection attempts.
What your security team should do
- Apply the Debian 5.10.205-1 NSS update to all linux systems within the next maintenance window
- Audit applications that depend on NSS for NIST curve usage and prioritize upgrades
- Monitor vendor advisories for any additional affected products and schedule phased rollouts
The record
Multiple NSS NIST curves were susceptible to a side-channel attack known as "Minerva". This attack could potentially allow an attacker to recover the private key. This vulnerability affects Firefox < 121.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| AlmaLinux:8 | nss | 0 | 3.90.0-6.el8_9 |
| AlmaLinux:8 | nss-devel | 0 | 3.90.0-6.el8_9 |
| AlmaLinux:8 | nss-softokn | 0 | 3.90.0-6.el8_9 |
| AlmaLinux:8 | nss-softokn-devel | 0 | 3.90.0-6.el8_9 |
| AlmaLinux:8 | nss-softokn-freebl | 0 | 3.90.0-6.el8_9 |
| AlmaLinux:8 | nss-softokn-freebl-devel | 0 | 3.90.0-6.el8_9 |
| AlmaLinux:8 | nss-sysinit | 0 | 3.90.0-6.el8_9 |
| AlmaLinux:8 | nss-tools | 0 | 3.90.0-6.el8_9 |
| AlmaLinux:8 | nss-util | 0 | 3.90.0-6.el8_9 |
| AlmaLinux:8 | nss-util-devel | 0 | 3.90.0-6.el8_9 |
| AlmaLinux:9 | nspr | 0 | 4.35.0-6.el9_3 |
| AlmaLinux:9 | nspr-devel | 0 | 4.35.0-6.el9_3 |
| AlmaLinux:9 | nss | 0 | 3.90.0-6.el9_3 |
| AlmaLinux:9 | nss-devel | 0 | 3.90.0-6.el9_3 |
| AlmaLinux:9 | nss-softokn | 0 | 3.90.0-6.el9_3 |
| AlmaLinux:9 | nss-softokn-devel | 0 | 3.90.0-6.el9_3 |
| AlmaLinux:9 | nss-softokn-freebl | 0 | 3.90.0-6.el9_3 |
| AlmaLinux:9 | nss-softokn-freebl-devel | 0 | 3.90.0-6.el9_3 |
| AlmaLinux:9 | nss-sysinit | 0 | 3.90.0-6.el9_3 |
| AlmaLinux:9 | nss-tools | 0 | 3.90.0-6.el9_3 |
| AlmaLinux:9 | nss-util | 0 | 3.90.0-6.el9_3 |
| AlmaLinux:9 | nss-util-devel | 0 | 3.90.0-6.el9_3 |
| Debian:11 | nss | 0 | No fix |
| Debian:12 | nss | 0 | No fix |
| Debian:13 | nss | 0 | 2:3.95-1 |
| Red Hat:enterprise_linux:8::appstream | nss | 0 | 0:3.90.0-6.el8_9 |
| Red Hat:enterprise_linux:8::appstream | nss-debuginfo | 0 | 0:3.90.0-6.el8_9 |
| Red Hat:enterprise_linux:8::appstream | nss-debugsource | 0 | 0:3.90.0-6.el8_9 |
| Red Hat:enterprise_linux:8::appstream | nss-devel | 0 | 0:3.90.0-6.el8_9 |
| Red Hat:enterprise_linux:8::appstream | nss-softokn | 0 | 0:3.90.0-6.el8_9 |
| Red Hat:enterprise_linux:8::appstream | nss-softokn-debuginfo | 0 | 0:3.90.0-6.el8_9 |
| Red Hat:enterprise_linux:8::appstream | nss-softokn-devel | 0 | 0:3.90.0-6.el8_9 |
| Red Hat:enterprise_linux:8::appstream | nss-softokn-freebl | 0 | 0:3.90.0-6.el8_9 |
| Red Hat:enterprise_linux:8::appstream | nss-softokn-freebl-debuginfo | 0 | 0:3.90.0-6.el8_9 |
| Red Hat:enterprise_linux:8::appstream | nss-softokn-freebl-devel | 0 | 0:3.90.0-6.el8_9 |
| Red Hat:enterprise_linux:8::appstream | nss-sysinit | 0 | 0:3.90.0-6.el8_9 |
| Red Hat:enterprise_linux:8::appstream | nss-sysinit-debuginfo | 0 | 0:3.90.0-6.el8_9 |
| Red Hat:enterprise_linux:8::appstream | nss-tools | 0 | 0:3.90.0-6.el8_9 |
| Red Hat:enterprise_linux:8::appstream | nss-tools-debuginfo | 0 | 0:3.90.0-6.el8_9 |
| Red Hat:enterprise_linux:8::appstream | nss-util | 0 | 0:3.90.0-6.el8_9 |
| Red Hat:enterprise_linux:8::appstream | nss-util-debuginfo | 0 | 0:3.90.0-6.el8_9 |
| Red Hat:enterprise_linux:8::appstream | nss-util-devel | 0 | 0:3.90.0-6.el8_9 |
| Red Hat:enterprise_linux:9::appstream | nspr | 0 | 0:4.35.0-6.el9_3 |
| Red Hat:enterprise_linux:9::appstream | nspr-debuginfo | 0 | 0:4.35.0-6.el9_3 |
| Red Hat:enterprise_linux:9::appstream | nspr-devel | 0 | 0:4.35.0-6.el9_3 |
| Red Hat:enterprise_linux:9::appstream | nss | 0 | 0:3.90.0-6.el9_3 |
| Red Hat:enterprise_linux:9::appstream | nss-debuginfo | 0 | 0:3.90.0-6.el9_3 |
| Red Hat:enterprise_linux:9::appstream | nss-debugsource | 0 | 0:3.90.0-6.el9_3 |
| Red Hat:enterprise_linux:9::appstream | nss-devel | 0 | 0:3.90.0-6.el9_3 |
| Red Hat:enterprise_linux:9::appstream | nss-softokn | 0 | 0:3.90.0-6.el9_3 |
| Red Hat:enterprise_linux:9::appstream | nss-softokn-debuginfo | 0 | 0:3.90.0-6.el9_3 |
| Red Hat:enterprise_linux:9::appstream | nss-softokn-devel | 0 | 0:3.90.0-6.el9_3 |
| Red Hat:enterprise_linux:9::appstream | nss-softokn-freebl | 0 | 0:3.90.0-6.el9_3 |
| Red Hat:enterprise_linux:9::appstream | nss-softokn-freebl-debuginfo | 0 | 0:3.90.0-6.el9_3 |
| Red Hat:enterprise_linux:9::appstream | nss-softokn-freebl-devel | 0 | 0:3.90.0-6.el9_3 |
| Red Hat:enterprise_linux:9::appstream | nss-sysinit | 0 | 0:3.90.0-6.el9_3 |
| Red Hat:enterprise_linux:9::appstream | nss-sysinit-debuginfo | 0 | 0:3.90.0-6.el9_3 |
| Red Hat:enterprise_linux:9::appstream | nss-tools | 0 | 0:3.90.0-6.el9_3 |
| Red Hat:enterprise_linux:9::appstream | nss-tools-debuginfo | 0 | 0:3.90.0-6.el9_3 |
| Red Hat:enterprise_linux:9::appstream | nss-util | 0 | 0:3.90.0-6.el9_3 |
| Red Hat:enterprise_linux:9::appstream | nss-util-debuginfo | 0 | 0:3.90.0-6.el9_3 |
| Red Hat:enterprise_linux:9::appstream | nss-util-devel | 0 | 0:3.90.0-6.el9_3 |
| Red Hat:rhel_eus:8.8::appstream | nss | 0 | 0:3.90.0-6.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | nss-debuginfo | 0 | 0:3.90.0-6.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | nss-debugsource | 0 | 0:3.90.0-6.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | nss-devel | 0 | 0:3.90.0-6.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | nss-softokn | 0 | 0:3.90.0-6.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | nss-softokn-debuginfo | 0 | 0:3.90.0-6.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | nss-softokn-devel | 0 | 0:3.90.0-6.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | nss-softokn-freebl | 0 | 0:3.90.0-6.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | nss-softokn-freebl-debuginfo | 0 | 0:3.90.0-6.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | nss-softokn-freebl-devel | 0 | 0:3.90.0-6.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | nss-sysinit | 0 | 0:3.90.0-6.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | nss-sysinit-debuginfo | 0 | 0:3.90.0-6.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | nss-tools | 0 | 0:3.90.0-6.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | nss-tools-debuginfo | 0 | 0:3.90.0-6.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | nss-util | 0 | 0:3.90.0-6.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | nss-util-debuginfo | 0 | 0:3.90.0-6.el8_8 |
| Red Hat:rhel_eus:8.8::appstream | nss-util-devel | 0 | 0:3.90.0-6.el8_8 |
| Red Hat:rhel_eus:9.2::appstream | nspr | 0 | 0:4.35.0-6.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | nspr-debuginfo | 0 | 0:4.35.0-6.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | nspr-devel | 0 | 0:4.35.0-6.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | nss | 0 | 0:3.90.0-6.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | nss-debuginfo | 0 | 0:3.90.0-6.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | nss-debugsource | 0 | 0:3.90.0-6.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | nss-devel | 0 | 0:3.90.0-6.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | nss-softokn | 0 | 0:3.90.0-6.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | nss-softokn-debuginfo | 0 | 0:3.90.0-6.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | nss-softokn-devel | 0 | 0:3.90.0-6.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | nss-softokn-freebl | 0 | 0:3.90.0-6.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | nss-softokn-freebl-debuginfo | 0 | 0:3.90.0-6.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | nss-softokn-freebl-devel | 0 | 0:3.90.0-6.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | nss-sysinit | 0 | 0:3.90.0-6.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | nss-sysinit-debuginfo | 0 | 0:3.90.0-6.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | nss-tools | 0 | 0:3.90.0-6.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | nss-tools-debuginfo | 0 | 0:3.90.0-6.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | nss-util | 0 | 0:3.90.0-6.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | nss-util-debuginfo | 0 | 0:3.90.0-6.el9_2 |
| Red Hat:rhel_eus:9.2::appstream | nss-util-devel | 0 | 0:3.90.0-6.el9_2 |
| Rocky Linux:8 | nss | 0 | 0:3.90.0-6.el8_9 |
| Ubuntu:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:18.04:LTS | nss | 0 | No fix |
| Ubuntu:20.04:LTS | firefox | 0 | 121.0+build1-0ubuntu0.20.04.1 |
| Ubuntu:20.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | mozjs68 | 0 | No fix |
| Ubuntu:20.04:LTS | nss | 0 | 2:3.98-0ubuntu0.20.04.1 |
| Ubuntu:22.04:LTS | mozjs102 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs78 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs91 | 0 | No fix |
| Ubuntu:22.04:LTS | nss | 0 | 2:3.98-0ubuntu0.22.04.1 |
| Ubuntu:23.10 | nss | 0 | 2:3.98-0ubuntu0.23.10.1 |
| Ubuntu:24.04:LTS | mozjs102 | 0 | No fix |
| Ubuntu:24.04:LTS | nss | 0 | 2:3.96.1-1 |
| Ubuntu:Pro:14.04:LTS | nss | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | nss | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | nss | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | mozjs68 | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | mozjs78 | 0 | No fix |
| Ubuntu:Pro:24.04:LTS | mozjs102 | 0 | No fix |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 121.0-1.1 |
| openSUSE:Tumbleweed | firefox-esr | 0 | 128.5.1-1.1 |
Related vulnerabilities
- CVE-2023-0767 An attacker could construct a PKCS 12 cert bundle in such a way that could allow for… Also affects nss
- CVE-2024-7531 Calling `PK11_Encrypt()` in NSS using CKM_CHACHA20 and the same buffer for input and… Also affects nss
- CVE-2024-6609 When almost out-of-memory an elliptic curve key which was never allocated could have been… Also affects nss
- CVE-2024-6602 A mismatch between allocator and deallocator could have lead to memory corruption. Also affects nss
- CVE-2024-0743 An unchecked return value in TLS handshake code could have caused a potentially… Also affects nss
- CVE-2023-4421 The NSS code used for checking PKCS#1 v1.5 was leaking information useful in mounting… Also affects nss
- CVE-2022-22747 After accepting an untrusted certificate, handling an empty pkcs7 sequence as part of the… Also affects nss
- CVE-2018-18508 In Network Security Services (NSS) before 3.36.7 and before 3.41.1, a malformed signature… Also affects nss