Lucene search

K
amazonAmazonALAS2-2021-1722
HistoryDec 01, 2021 - 7:11 a.m.

Critical: nss, nss-util, nss-softokn, nspr

2021-12-0107:11:00
alas.aws.amazon.com
31
nss
network security services
heap overflow
der-encoded
signatures
update
cve-2021-43527

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

10

Confidence

High

EPSS

0.008

Percentile

81.4%

Issue Overview:

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)

Affected Packages:

nss, nss-util, nss-softokn, nspr

Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.

Issue Correction:
Run yum update nss to update your system.
Run yum update nss-util to update your system.
Run yum update nss-softokn to update your system.
Run yum update nspr to update your system.

New Packages:

aarch64:  
    nspr-4.32.0-1.amzn2.aarch64  
    nspr-devel-4.32.0-1.amzn2.aarch64  
    nspr-debuginfo-4.32.0-1.amzn2.aarch64  
    nss-util-3.67.0-1.amzn2.aarch64  
    nss-util-devel-3.67.0-1.amzn2.aarch64  
    nss-util-debuginfo-3.67.0-1.amzn2.aarch64  
    nss-softokn-3.67.0-3.amzn2.aarch64  
    nss-softokn-freebl-3.67.0-3.amzn2.aarch64  
    nss-softokn-freebl-devel-3.67.0-3.amzn2.aarch64  
    nss-softokn-devel-3.67.0-3.amzn2.aarch64  
    nss-softokn-debuginfo-3.67.0-3.amzn2.aarch64  
    nss-3.67.0-4.amzn2.0.1.aarch64  
    nss-tools-3.67.0-4.amzn2.0.1.aarch64  
    nss-sysinit-3.67.0-4.amzn2.0.1.aarch64  
    nss-devel-3.67.0-4.amzn2.0.1.aarch64  
    nss-pkcs11-devel-3.67.0-4.amzn2.0.1.aarch64  
    nss-debuginfo-3.67.0-4.amzn2.0.1.aarch64  
  
i686:  
    nspr-4.32.0-1.amzn2.i686  
    nspr-devel-4.32.0-1.amzn2.i686  
    nspr-debuginfo-4.32.0-1.amzn2.i686  
    nss-util-3.67.0-1.amzn2.i686  
    nss-util-devel-3.67.0-1.amzn2.i686  
    nss-util-debuginfo-3.67.0-1.amzn2.i686  
    nss-softokn-3.67.0-3.amzn2.i686  
    nss-softokn-freebl-3.67.0-3.amzn2.i686  
    nss-softokn-freebl-devel-3.67.0-3.amzn2.i686  
    nss-softokn-devel-3.67.0-3.amzn2.i686  
    nss-softokn-debuginfo-3.67.0-3.amzn2.i686  
    nss-3.67.0-4.amzn2.0.1.i686  
    nss-tools-3.67.0-4.amzn2.0.1.i686  
    nss-sysinit-3.67.0-4.amzn2.0.1.i686  
    nss-devel-3.67.0-4.amzn2.0.1.i686  
    nss-pkcs11-devel-3.67.0-4.amzn2.0.1.i686  
    nss-debuginfo-3.67.0-4.amzn2.0.1.i686  
  
src:  
    nspr-4.32.0-1.amzn2.src  
    nss-util-3.67.0-1.amzn2.src  
    nss-softokn-3.67.0-3.amzn2.src  
    nss-3.67.0-4.amzn2.0.1.src  
  
x86_64:  
    nspr-4.32.0-1.amzn2.x86_64  
    nspr-devel-4.32.0-1.amzn2.x86_64  
    nspr-debuginfo-4.32.0-1.amzn2.x86_64  
    nss-util-3.67.0-1.amzn2.x86_64  
    nss-util-devel-3.67.0-1.amzn2.x86_64  
    nss-util-debuginfo-3.67.0-1.amzn2.x86_64  
    nss-softokn-3.67.0-3.amzn2.x86_64  
    nss-softokn-freebl-3.67.0-3.amzn2.x86_64  
    nss-softokn-freebl-devel-3.67.0-3.amzn2.x86_64  
    nss-softokn-devel-3.67.0-3.amzn2.x86_64  
    nss-softokn-debuginfo-3.67.0-3.amzn2.x86_64  
    nss-3.67.0-4.amzn2.0.1.x86_64  
    nss-tools-3.67.0-4.amzn2.0.1.x86_64  
    nss-sysinit-3.67.0-4.amzn2.0.1.x86_64  
    nss-devel-3.67.0-4.amzn2.0.1.x86_64  
    nss-pkcs11-devel-3.67.0-4.amzn2.0.1.x86_64  
    nss-debuginfo-3.67.0-4.amzn2.0.1.x86_64  

Additional References

Red Hat: CVE-2021-43527

Mitre: CVE-2021-43527

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

10

Confidence

High

EPSS

0.008

Percentile

81.4%