CVE-2021-3345

_gcry_md_block_write in cipher/hash-common.c in Libgcrypt version 1.9.0 has a heap-based buffer overflow when the digest final function sets a large count value. It is recommended to upgrade to 1.9.1 or later.

Summary:

_gcry_md_block_write in cipher/hash-common.c in Libgcrypt version 1.9.0 has a heap-based buffer overflow when the digest final function sets a large count value. It is recommended to upgrade to 1.9.1 or later.

Reference Links(if available):

  • https://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgcrypt.git;a=commit;h=512c0c75276949f13b6373b5c04f7065af750b08
  • https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000456.html
  • https://gnupg.org
  • https://lists.gnupg.org/pipermail/gnupg-announce/2021q1/000455.html
  • https://bugs.gentoo.org/show_bug.cgi?id=767814
  • CVSS Score (if available)

    v2: / HIGH

    v3: /

    Links to Exploits(if available)