CVE-2021-3580 Denial of service in nettle

High 7.5 Published Updated

An attacker can cause a denial of service by providing specially crafted ciphertext to Nettle's RSA decryption functions, leading to application crashes.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-3580?

CVE-2021-3580 is a high-severity denial of service vulnerability in Debian Debian Linux, published on 5 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-20

Which versions are affected by CVE-2021-3580?

It affects 4 products.

Linux distribution packages (32)
libnettle SUSE:Enterprise Storage 6All versions3.4.1-4.18.1
libnettle SUSE:HPE Helion OpenStack 8All versions2.7.1-13.6.1
libnettle SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOSAll versions3.4.1-4.18.1
libnettle SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSSAll versions3.4.1-4.18.1
libnettle SUSE:Linux Enterprise High Performance Computing 15-ESPOSAll versions3.4.1-4.18.1
libnettle SUSE:Linux Enterprise High Performance Computing 15-LTSSAll versions3.4.1-4.18.1
libnettle SUSE:Linux Enterprise Micro 5.0All versions3.4.1-4.18.1
libnettle SUSE:Linux Enterprise Module for Basesystem 15 SP2All versions3.4.1-4.18.1
libnettle SUSE:Linux Enterprise Module for Basesystem 15 SP3All versions3.4.1-4.18.1
libnettle SUSE:Linux Enterprise Server 12 SP2-BCLAll versions2.7.1-13.6.1
libnettle SUSE:Linux Enterprise Server 12 SP3-BCLAll versions2.7.1-13.6.1
libnettle SUSE:Linux Enterprise Server 12 SP3-LTSSAll versions2.7.1-13.6.1
libnettle SUSE:Linux Enterprise Server 12 SP4-LTSSAll versions2.7.1-13.6.1
libnettle SUSE:Linux Enterprise Server 12 SP5All versions2.7.1-13.6.1
libnettle SUSE:Linux Enterprise Server 15 SP1-BCLAll versions3.4.1-4.18.1
libnettle SUSE:Linux Enterprise Server 15 SP1-LTSSAll versions3.4.1-4.18.1
libnettle SUSE:Linux Enterprise Server 15-LTSSAll versions3.4.1-4.18.1
libnettle SUSE:Linux Enterprise Server for SAP Applications 12 SP3All versions2.7.1-13.6.1
libnettle SUSE:Linux Enterprise Server for SAP Applications 12 SP4All versions2.7.1-13.6.1
libnettle SUSE:Linux Enterprise Server for SAP Applications 12 SP5All versions2.7.1-13.6.1
libnettle SUSE:Linux Enterprise Server for SAP Applications 15All versions3.4.1-4.18.1
libnettle SUSE:Linux Enterprise Server for SAP Applications 15 SP1All versions3.4.1-4.18.1
libnettle SUSE:Linux Enterprise Software Development Kit 12 SP5All versions2.7.1-13.6.1
libnettle SUSE:Manager Proxy 4.0All versions3.4.1-4.18.1
libnettle SUSE:Manager Retail Branch Server 4.0All versions3.4.1-4.18.1
libnettle SUSE:Manager Server 4.0All versions3.4.1-4.18.1
libnettle SUSE:OpenStack Cloud 8All versions2.7.1-13.6.1
libnettle SUSE:OpenStack Cloud 9All versions2.7.1-13.6.1
libnettle SUSE:OpenStack Cloud Crowbar 8All versions2.7.1-13.6.1
libnettle SUSE:OpenStack Cloud Crowbar 9All versions2.7.1-13.6.1
libnettle openSUSE:Leap 15.2All versions3.4.1-lp152.4.6.1
libnettle openSUSE:Leap 15.3All versions3.4.1-4.18.1

Products include Debian Debian Linux, Netapp Ontap Select Deploy Administration Utility, Nettle Project Nettle, Redhat Enterprise Linux.

How do I fix CVE-2021-3580?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-3580 being exploited?

There is no known exploitation of CVE-2021-3580 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2021-3580, AZL-6741, CLSA-2026-1777451834, CLSA-2026-1777452099, CLSA-2026-1790604865, DEBIAN-CVE-2021-3580 and 8 more.

Is CVE-2021-3580 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free