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:
nspr
Issue Correction:
Run yum update nspr to update your system.
New Packages:
aarch64:
nspr-4.32.0-1.amzn2.0.1.aarch64
nspr-devel-4.32.0-1.amzn2.0.1.aarch64
nspr-debuginfo-4.32.0-1.amzn2.0.1.aarch64
i686:
nspr-4.32.0-1.amzn2.0.1.i686
nspr-devel-4.32.0-1.amzn2.0.1.i686
nspr-debuginfo-4.32.0-1.amzn2.0.1.i686
src:
nspr-4.32.0-1.amzn2.0.1.src
x86_64:
nspr-4.32.0-1.amzn2.0.1.x86_64
nspr-devel-4.32.0-1.amzn2.0.1.x86_64
nspr-debuginfo-4.32.0-1.amzn2.0.1.x86_64
Red Hat: CVE-2021-43527
Mitre: CVE-2021-43527
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Amazon Linux | 2 | aarch64 | nspr | < 4.32.0-1.amzn2.0.1 | nspr-4.32.0-1.amzn2.0.1.aarch64.rpm |
Amazon Linux | 2 | aarch64 | nspr-devel | < 4.32.0-1.amzn2.0.1 | nspr-devel-4.32.0-1.amzn2.0.1.aarch64.rpm |
Amazon Linux | 2 | aarch64 | nspr-debuginfo | < 4.32.0-1.amzn2.0.1 | nspr-debuginfo-4.32.0-1.amzn2.0.1.aarch64.rpm |
Amazon Linux | 2 | i686 | nspr | < 4.32.0-1.amzn2.0.1 | nspr-4.32.0-1.amzn2.0.1.i686.rpm |
Amazon Linux | 2 | i686 | nspr-devel | < 4.32.0-1.amzn2.0.1 | nspr-devel-4.32.0-1.amzn2.0.1.i686.rpm |
Amazon Linux | 2 | i686 | nspr-debuginfo | < 4.32.0-1.amzn2.0.1 | nspr-debuginfo-4.32.0-1.amzn2.0.1.i686.rpm |
Amazon Linux | 2 | src | nspr | < 4.32.0-1.amzn2.0.1 | nspr-4.32.0-1.amzn2.0.1.src.rpm |
Amazon Linux | 2 | x86_64 | nspr | < 4.32.0-1.amzn2.0.1 | nspr-4.32.0-1.amzn2.0.1.x86_64.rpm |
Amazon Linux | 2 | x86_64 | nspr-devel | < 4.32.0-1.amzn2.0.1 | nspr-devel-4.32.0-1.amzn2.0.1.x86_64.rpm |
Amazon Linux | 2 | x86_64 | nspr-debuginfo | < 4.32.0-1.amzn2.0.1 | nspr-debuginfo-4.32.0-1.amzn2.0.1.x86_64.rpm |