CVEfocus › CVE database › CVE-2021-3580

CVE-2021-3580

EPSS 2.5% (higher than 86% of CVEs)Published 2021-08-05Updated 2026-10-14Assigner: redhat

A flaw was found in the way nettle's RSA decryption functions handled specially crafted ciphertext. An attacker could use this flaw to provide a manipulated ciphertext leading to application crash and denial of service.

CWE-20

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

34Fixed
4Will not fix
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04nettleNot affected
vulnerable_code_not_present
Ubuntu 20.04nettleFixed3.5.1+really3.5.1-2ubuntu0.2UBUNTU-CVE-2021-3580
Ubuntu 18.04nettleFixed3.4.1-0ubuntu0.18.04.1UBUNTU-CVE-2021-3580
Ubuntu 16.04nettleWill not fix
this fix relies on the RSA refactoring that is required to fix CVE-2018-16869, which is too intrusive to backport to older releases
UBUNTU-CVE-2021-3580
Ubuntu 14.04nettleWill not fix
this fix relies on the RSA refactoring that is required to fix CVE-2018-16869, which is too intrusive to backport to older releases
UBUNTU-CVE-2021-3580
Debian 14nettleFixed3.7.3-1DEBIAN-CVE-2021-3580
Debian 13nettleFixed3.7.3-1DEBIAN-CVE-2021-3580
Debian 12nettleFixed3.7.3-1DEBIAN-CVE-2021-3580
Red Hat Enterprise Linux 9nettleNot affected
Red Hat Enterprise Linux 9nettle-develNot affected
Red Hat Enterprise Linux 8gnutlsFixed0:3.6.16-4.el8RHSA-2021:4451
Red Hat Enterprise Linux 8gnutls-c++Fixed0:3.6.16-4.el8RHSA-2021:4451
Red Hat Enterprise Linux 8gnutls-daneFixed0:3.6.16-4.el8RHSA-2021:4451
Red Hat Enterprise Linux 8gnutls-develFixed0:3.6.16-4.el8RHSA-2021:4451
Red Hat Enterprise Linux 8gnutls-utilsFixed0:3.6.16-4.el8RHSA-2021:4451
Red Hat Enterprise Linux 8mingw-nettleNot affected
Red Hat Enterprise Linux 8mingw32-nettleNot affected
Red Hat Enterprise Linux 8mingw64-nettleNot affected
Red Hat Enterprise Linux 8nettleFixed0:3.4.1-7.el8RHSA-2021:4451
Red Hat Enterprise Linux 8nettle-develFixed0:3.4.1-7.el8RHSA-2021:4451
Red Hat Enterprise Linux 7nettleWill not fix
Will not fix
Red Hat Enterprise Linux 7nettle-develWill not fix
Will not fix
AlmaLinux 8gnutlsFixed3.6.16-4.el8ALSA-2021:4451
AlmaLinux 8gnutls-c++Fixed3.6.16-4.el8ALSA-2021:4451
AlmaLinux 8gnutls-daneFixed3.6.16-4.el8ALSA-2021:4451
AlmaLinux 8gnutls-develFixed3.6.16-4.el8ALSA-2021:4451
AlmaLinux 8gnutls-utilsFixed3.6.16-4.el8ALSA-2021:4451
AlmaLinux 8nettleFixed3.4.1-7.el8ALSA-2021:4451
AlmaLinux 8nettle-develFixed3.4.1-7.el8ALSA-2021:4451
Rocky Linux 8gnutlsFixed0:3.6.16-4.el8RLSA-2021:4451
Rocky Linux 8nettleFixed0:3.4.1-7.el8RLSA-2021:4451
Alpine Linux 3.24nettleFixed3.7.3-r0ALPINE-CVE-2021-3580
Alpine Linux 3.23nettleFixed3.7.3-r0ALPINE-CVE-2021-3580
Alpine Linux 3.22nettleFixed3.7.3-r0ALPINE-CVE-2021-3580
Alpine Linux 3.21nettleFixed3.7.3-r0ALPINE-CVE-2021-3580
Alpine Linux 3.20nettleFixed3.7.3-r0ALPINE-CVE-2021-3580
Alpine Linux 3.19nettleFixed3.7.3-r0ALPINE-CVE-2021-3580
Alpine Linux 3.18nettleFixed3.7.3-r0ALPINE-CVE-2021-3580
Alpine Linux 3.17nettleFixed3.7.3-r0ALPINE-CVE-2021-3580
Alpine Linux 3.16nettleFixed3.7.3-r0ALPINE-CVE-2021-3580
Alpine Linux 3.15nettleFixed3.7.3-r0ALPINE-CVE-2021-3580
Alpine Linux 3.14nettleFixed3.7.3-r0ALPINE-CVE-2021-3580
Alpine Linux 3.13nettleFixed3.7.3-r0ALPINE-CVE-2021-3580
Alpine Linux 3.12nettleFixed3.5.1-r2ALPINE-CVE-2021-3580

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.