{"id":"UBUNTU-CVE-2021-3580","details":"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.","modified":"2026-04-22T14:50:37.485054Z","published":"2021-06-10T00:00:00Z","related":["USN-4990-1"],"upstream":["CVE-2021-3580"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-3580"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4990-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-3580"}],"affected":[{"package":{"name":"nettle","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/nettle@2.7.1-1ubuntu0.2?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.1-1","2.7.1-1ubuntu0.1","2.7.1-1ubuntu0.2"],"ecosystem_specific":{"binaries":[{"binary_version":"2.7.1-1ubuntu0.2","binary_name":"libhogweed2"},{"binary_version":"2.7.1-1ubuntu0.2","binary_name":"libnettle4"},{"binary_version":"2.7.1-1ubuntu0.2","binary_name":"nettle-bin"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3580.json"}},{"package":{"name":"nettle","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/nettle@3.2-1ubuntu0.16.04.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.1.1-4","3.2-1","3.2-1ubuntu0.16.04.1","3.2-1ubuntu0.16.04.2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.2-1ubuntu0.16.04.2","binary_name":"libhogweed4"},{"binary_version":"3.2-1ubuntu0.16.04.2","binary_name":"libnettle6"},{"binary_version":"3.2-1ubuntu0.16.04.2","binary_name":"nettle-bin"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3580.json"}},{"package":{"name":"nettle","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/nettle@3.4.1-0ubuntu0.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.1-0ubuntu0.18.04.1"}]}],"versions":["3.3-2","3.4-1","3.4-1ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.4.1-0ubuntu0.18.04.1","binary_name":"libhogweed4"},{"binary_version":"3.4.1-0ubuntu0.18.04.1","binary_name":"libnettle6"},{"binary_version":"3.4.1-0ubuntu0.18.04.1","binary_name":"nettle-bin"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3580.json"}},{"package":{"name":"nettle","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/nettle@3.5.1+really3.5.1-2ubuntu0.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.1+really3.5.1-2ubuntu0.2"}]}],"versions":["3.4.1-1","3.5.1+really3.5.1-2","3.5.1+really3.5.1-2ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.5.1+really3.5.1-2ubuntu0.2","binary_name":"libhogweed5"},{"binary_version":"3.5.1+really3.5.1-2ubuntu0.2","binary_name":"libnettle7"},{"binary_version":"3.5.1+really3.5.1-2ubuntu0.2","binary_name":"nettle-bin"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-3580.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}