Amazon Linux 2022 : nss (ALAS2022-2021-002)

critical Nessus Plugin ID 212481

Synopsis

The remote Amazon Linux 2022 host is missing a security update.

Description

The version of nss installed on the remote host is prior to 3.71.0-2. It is, therefore, affected by a vulnerability as referenced in the ALAS2022-2021-002 advisory.

NSS (Network Security Services) up to and including 3.73 is vulnerable to a heap overflow when handling DER-encoded DSA or RSA-PSS signatures. Applications using NSS for handling signatures encoded within CMS, S/MIME, PKCS \#7, or PKCS \#12 are likely to be impacted. Applications using NSS for certificate validation or other TLS, X.509, OCSP or CRL functionality may be impacted, depending on how they configure NSS.

When verifying a DER-encoded signature, NSS decodes the signature into a fixed-size buffer and passes the buffer to the underlying PKCS \#11 module. The length of the signature is not correctly checked when processing DSA and RSA-PSS signatures. DSA and RSA-PSS signatures larger than 16384 bits will overflow the buffer in VFYContextStr. The vulnerable code is located within secvfy.c:vfy_CreateContext.
(CVE-2021-43527)

Tenable has extracted the preceding description block directly from the tested product security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update nss' to update your system.

See Also

https://alas.aws.amazon.com/cve/html/CVE-2021-43527.html

https://alas.aws.amazon.com/AL2022/ALAS-2021-002.html

Plugin Details

Severity: Critical

ID: 212481

File Name: al2022_ALAS2022-2021-002.nasl

Version: 1.2

Type: local

Agent: unix

Published: 12/11/2024

Updated: 12/12/2024

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-43527

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:nss-softokn-freebl-debuginfo, p-cpe:/a:amazon:linux:nss-util-devel, p-cpe:/a:amazon:linux:nss-softokn-freebl, p-cpe:/a:amazon:linux:nss-softokn-freebl-devel, p-cpe:/a:amazon:linux:nss-debugsource, p-cpe:/a:amazon:linux:nss-softokn-debuginfo, p-cpe:/a:amazon:linux:nspr-devel, p-cpe:/a:amazon:linux:nss-softokn-devel, cpe:/o:amazon:linux:2022, p-cpe:/a:amazon:linux:nss, p-cpe:/a:amazon:linux:nspr, p-cpe:/a:amazon:linux:nss-sysinit-debuginfo, p-cpe:/a:amazon:linux:nss-sysinit, p-cpe:/a:amazon:linux:nss-devel, p-cpe:/a:amazon:linux:nss-softokn, p-cpe:/a:amazon:linux:nss-tools-debuginfo, p-cpe:/a:amazon:linux:nss-util, p-cpe:/a:amazon:linux:nss-pkcs11-devel, p-cpe:/a:amazon:linux:nss-tools, p-cpe:/a:amazon:linux:nss-util-debuginfo, p-cpe:/a:amazon:linux:nss-debuginfo, p-cpe:/a:amazon:linux:nspr-debuginfo

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/3/2021

Vulnerability Publication Date: 12/1/2021

Reference Information

CVE: CVE-2021-43527

IAVA: 2024-A-0036