CVE-2017-5461

critical
Published 2017-05-11 Β· Modified 2026-05-13
CVSS v3
9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4 NEW
β€”
not yet in upstream
VIR risk
9.8

Description

Mozilla Network Security Services (NSS) before 3.21.4, 3.22.x through 3.28.x before 3.28.4, 3.29.x before 3.29.5, and 3.30.x before 3.30.1 allows remote attackers to cause a denial of service (out-of-bounds write) or possibly have unspecified other impact by leveraging incorrect base64 operations.

Predictions

Exploit likelihood
97%
Patch ETA
β€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Red Hat Errata β€” Red Hat Inc. Β· View original β†— Β· Open-Errata-API

Description nss: Write beyond bounds caused by bugs in Base64 de/encoding in nssb64d.c and nssb64e.c (MFSA 2017-10) Red Hat 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: 1. Servers compiled against NSS which parse untrusted certificates or any…

Description

nss: Write beyond bounds caused by bugs in Base64 de/encoding in nssb64d.c and nssb64e.c (MFSA 2017-10)

Red Hat 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: 1. Servers compiled against NSS which parse untrusted certificates or any other base64 encoded data from its users. 2. Utilities like curl etc which use NSS to parse user provided base64 encoded certificates. 3. Applications like Firefox which use NSS to parse client-certificates before passing them to the web server.

CVSS v3: 9.8 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)

Errata / fixed releases

ProductPackageAdvisoryReleased
Red Hat Enterprise Linux 5.9 Long Lifenss-0:3.14.3-11.el5_9RHSA-2017:11032017-04-20T00:00:00Z
Red Hat Enterprise Linux 5 Extended Lifecycle Supportnss-0:3.21.4-1.el5_11RHSA-2017:11012017-04-20T00:00:00Z
Red Hat Enterprise Linux 6nss-0:3.28.4-1.el6_9RHSA-2017:11002017-04-20T00:00:00Z
Red Hat Enterprise Linux 6nss-util-0:3.28.4-1.el6_9RHSA-2017:11002017-04-20T00:00:00Z
Red Hat Enterprise Linux 6.2 Advanced Update Supportnss-util-0:3.13.1-11.el6_2RHSA-2017:11022017-04-20T00:00:00Z
Red Hat Enterprise Linux 6.4 Advanced Update Supportnss-util-0:3.14.3-9.el6_4RHSA-2017:11022017-04-20T00:00:00Z
Red Hat Enterprise Linux 6.5 Advanced Update Supportnss-util-0:3.16.1-5.el6_5RHSA-2017:11022017-04-20T00:00:00Z
Red Hat Enterprise Linux 6.5 Telco Extended Update Supportnss-util-0:3.16.1-5.el6_5RHSA-2017:11022017-04-20T00:00:00Z
Red Hat Enterprise Linux 6.6 Advanced Update Supportnss-util-0:3.19.1-4.el6_6RHSA-2017:11022017-04-20T00:00:00Z
Red Hat Enterprise Linux 6.6 Telco Extended Update Supportnss-util-0:3.19.1-4.el6_6RHSA-2017:11022017-04-20T00:00:00Z
Red Hat Enterprise Linux 6.7 Extended Update Supportnss-util-0:3.21.4-1.el6_7RHSA-2017:11022017-04-20T00:00:00Z
Red Hat Enterprise Linux 7nss-0:3.28.4-1.0.el7_3RHSA-2017:11002017-04-20T00:00:00Z
Red Hat Enterprise Linux 7nss-util-0:3.28.4-1.0.el7_3RHSA-2017:11002017-04-20T00:00:00Z
Red Hat Enterprise Linux 7.2 Extended Update Supportnss-util-0:3.21.4-1.el7_2RHSA-2017:11022017-04-20T00:00:00Z

Package state

ProductPackageState
Red Hat Enterprise Linux 4nssAffected

Apply commands

bash fix
Apply RHSA-2017:1103 for Red Hat Enterprise Linux 5.9 Long Life
yum update -y nss
# or:
dnf upgrade -y nss

Affected

VendorProductVersion
redhatRed Hat Enterprise Linux 4Affected

OS impact

OSVersionStatusFixed in
arch archfixed53.0-1
suse slesaffected
debian debiansidfixed52.0.1-1
debian debianbookwormfixed45.9.0esr-1
debian debianbullseyefixed45.9.0esr-1
debian debianforkyfixed45.9.0esr-1
debian debiantrixiefixed45.9.0esr-1

Application impact

VendorProductVersionsFixed
mozilla mozillanetwork_security_services{"endExcluding":"3.21.4"}3.21.4

References

CWEs

CWE-787

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.