Skip to content
OpenAdvisories
Unscored CVE-2023-4421 EUVD-2023-54284GHSA-3hpv-hgvq-792m

The NSS code used for checking PKCS#1 v1.5 was leaking information useful in mounting Bleichenbacher-like attacks. Both the overall correct…

Published Dec 12, 2023 · Updated Nov 4, 2025 · Assigned by mozilla

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 products

VendorProductAffectedFixed
Mozilla NSS unspecified – < 3.61 3.61

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 nss 2:3.61-1 —
Debian 13 nss 2:3.61-1 —
Debian 12 nss 2:3.61-1 —
Debian 10 nss 2:3.42.1-1+deb10u7 DLA-3634-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS nss 2:3.98-0ubuntu0.22.04.1 USN-6727-1
Ubuntu 20.04 LTS nss 2:3.98-0ubuntu0.20.04.1 USN-6727-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS nss No fix yet —
Ubuntu Pro 16.04 LTS nss No fix yet —
Ubuntu Pro 14.04 LTS nss No fix yet —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 nss-softokn +3 3.67.0-3.amzn2.0.1 ALAS2-2025-2835

Advisories 5

References