CVE-2017-5461
nss: Write beyond bounds caused by bugs in Base64 de/encoding in nssb64d.c and nssb64e.c (MFSA 2017-10)
Severity
CriticalRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · April 19, 2017
Updated · May 13, 2026
Description
An out-of-bounds write flaw was found in the way NSS performed certain Base64-decoding operations. An attacker could use this flaw to create a specially crafted certificate which, when parsed by NSS, could cause it to crash or execute arbitrary code, using the permissions of the user running an application compiled against the NSS library.
Statement
The security flaw exists in NSS library Base64 encoder/decoder code. Any application which uses NSS library to parse base64 encoded data could possibly be affected by the flaw. For example:
-
Servers compiled against NSS which parse untrusted certificates or any other base64 encoded data from its users.
-
Utilities like curl etc which use NSS to parse user provided base64 encoded certificates.
-
Applications like Firefox which use NSS to parse client-certificates before passing them to the web server.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.0 · 9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE not specified