Vulnerability · Published Dec 12, 2023 · Assigned by mozilla

CVE-2023-4421

Medium 6.5

In plain English

A medium-severity security flaw in NSS from Mozilla. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)0.8%top 44.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

The NSS code used for checking PKCS#1 v1.5 was leaking information useful in mounting Bleichenbacher-like attacks. Both the overall correctness of the padding as well as the length of the encrypted message was leaking through timing side-channel. By sending large number of attacker-selected ciphertexts, the attacker would be able to decrypt a previously intercepted PKCS#1 v1.5 ciphertext (for example, to decrypt a TLS session that used RSA key exchange), or forge a signature using the victim's key. The issue was fixed by implementing the implicit rejection algorithm, in which the NSS returns a deterministic random message in case invalid padding is detected, as proposed in the Marvin Attack paper. This vulnerability affects NSS < 3.61.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12nss2:3.61-1DEBIAN-CVE-2023-4421
Debian:13nss2:3.61-1DEBIAN-CVE-2023-4421
Debian:14nss2:3.61-1DEBIAN-CVE-2023-4421
Ubuntu:22.04:LTSnss2:3.98-0ubuntu0.22.04.1USN-6727-1

Affected products (as reported)

VendorProductVersions
Mozilla NSS unspecified – before 3.61

References