Lucene search

K
amazonAmazonALAS2-2023-1952
HistoryFeb 17, 2023 - 12:11 a.m.

Critical: nss

2023-02-1700:11:00
alas.aws.amazon.com
20
network security services
heap overflow
der-encoded
dsa
rsa-pss
cms
s/mime
pkcs #7
pkcs #12
certificate validation
tls
x.509
ocsp
crl
cve-2021-43527

0.005 Low

EPSS

Percentile

77.1%

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) (CVE-2021-43527)

Affected Packages:

nss

Issue Correction:
Run yum update nss to update your system.

New Packages:

aarch64:  
    nss-3.67.0-4.amzn2.0.2.aarch64  
    nss-tools-3.67.0-4.amzn2.0.2.aarch64  
    nss-sysinit-3.67.0-4.amzn2.0.2.aarch64  
    nss-devel-3.67.0-4.amzn2.0.2.aarch64  
    nss-pkcs11-devel-3.67.0-4.amzn2.0.2.aarch64  
    nss-debuginfo-3.67.0-4.amzn2.0.2.aarch64  
  
i686:  
    nss-3.67.0-4.amzn2.0.2.i686  
    nss-tools-3.67.0-4.amzn2.0.2.i686  
    nss-sysinit-3.67.0-4.amzn2.0.2.i686  
    nss-devel-3.67.0-4.amzn2.0.2.i686  
    nss-pkcs11-devel-3.67.0-4.amzn2.0.2.i686  
    nss-debuginfo-3.67.0-4.amzn2.0.2.i686  
  
src:  
    nss-3.67.0-4.amzn2.0.2.src  
  
x86_64:  
    nss-3.67.0-4.amzn2.0.2.x86_64  
    nss-tools-3.67.0-4.amzn2.0.2.x86_64  
    nss-sysinit-3.67.0-4.amzn2.0.2.x86_64  
    nss-devel-3.67.0-4.amzn2.0.2.x86_64  
    nss-pkcs11-devel-3.67.0-4.amzn2.0.2.x86_64  
    nss-debuginfo-3.67.0-4.amzn2.0.2.x86_64  

Additional References

Red Hat: CVE-2021-43527

Mitre: CVE-2021-43527