Timing-based Side Channel Attack in nss

nss Updated 02 Oct 2025

Summary

08/10/2020
N/A
Yes i
Medium
4.7

CVE-2020-12400: When converting coordinates from projective to affine, the modular inversion was not performed in constant time, resulting in a possible timing-based side channel attack. Affects nss versions < 3.55-r0. Fixed in 3.55-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The nss package is a cryptographic library used by various applications to provide secure communication over the internet. It includes functions for encryption, decryption, digital signatures, and certificate management. The package is widely used in web browsers, email clients, and other networked applications. However, a vulnerability has been discovered in nss that could potentially allow an attacker to perform a timing-based side channel attack.

Vulnerability Detail

The vulnerability, identified as CVE-2020-12400, arises when converting coordinates from projective to affine in nss. The modular inversion process during this conversion is not performed in constant time, which opens up the possibility of a timing-based side channel attack. An attacker could exploit this vulnerability to gain sensitive information by measuring the time it takes for the conversion process to complete. This vulnerability affects Firefox versions prior to 80 and Firefox for Android versions prior to 80.

How To Fix

Minimum fixed version

3.55-r0

This is the first release that contains the fix.

sudo apk add --upgrade nss

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to update the nss package to the fixed version to mitigate the risk of a timing-based side channel attack.

Conclusion

The timing-based side channel attack vulnerability in nss can be mitigated by updating the package to version 3.55-r0 or later. It is crucial for users to apply the necessary patches to protect their systems from potential attacks. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for nss →

Share this vulnerability

FAQ

nss is a cryptographic library used for secure communication in various applications.

A timing-based side channel attack is a type of attack that exploits variations in the time taken by a system to perform certain operations, revealing sensitive information.

Firefox versions prior to 80 and Firefox for Android versions prior to 80 are affected.

Users should check for updates from their distribution or package manager and apply the necessary patches.

There is no known workaround for this vulnerability. Updating the nss package is the recommended solution.

Related vulnerabilities

Recent vulnerabilities recorded for nss.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

3.55-r0

This is the first release that contains the fix.

sudo apk add --upgrade nss

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback