QID 353044

Date Published: 2021-12-02

QID 353044: Amazon Linux Security Advisory for nss, nss-util, nss-softokn, nspr : ALAS2-2021-1722

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)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Medium - 4.2 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2-2021-1722 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 353044

    Software Advisories
    Advisory ID Software Component Link
    ALAS2-2021-1722 Amazon Linux 2 URL Logo alas.aws.amazon.com/AL2/ALAS-2021-1722.html