{"answers":{"affected":"It affects 6 products.","exploited":"There is no known exploitation of CVE-2021-20305 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2021-20305 is a high-severity vulnerability in Debian Debian Linux, published on 5 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-20305 and fix it if it is affected.\n\nWhat it is: CVE-2021-20305 is a high-severity vulnerability in Debian Debian Linux, published on 5 Apr 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-20305 in the wild and no public exploit code.\n\nAffected product: Debian Debian Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-20305/ (Markdown: https://insights.sbomify.com/CVE-2021-20305/index.md)","id":"CVE-2021-20305","markdown":"https://insights.sbomify.com/CVE-2021-20305/index.md","name":"CVE-2021-20305","record":{"aliases":["ALPINE-CVE-2021-20305","DEBIAN-CVE-2021-20305","GHSA-6xrq-2ww3-f6h5","JLSEC-2026-575","OESA-2021-1177","RHSA-2021:1145","RHSA-2021:1206","RHSA-2021:1245","RHSA-2021:1246","RHSA-2021:2280","RHSA-2021:2356","RHSA-2021:2758","RHSA-2021:2760","RLSA-2021:1206","SUSE-SU-2021:1399-1","SUSE-SU-2021:1412-1","UBUNTU-CVE-2021-20305","USN-4906-1","openSUSE-SU-2021:0635-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Nettle crypto library","requires_auth":"none","summary":"Attackers can cause denial of service or bypass signature validation in Nettle by exploiting out-of-range scalars in ECC operations.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"active_iq_unified_manager","vendor":"netapp"},{"product":"ontap_select_deploy_administration_utility","vendor":"netapp"},{"product":"nettle","vendor":"nettle_project"},{"product":"enterprise_linux","vendor":"redhat"}],"cvss":{"score":8.1,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-327","name":"Use of a Broken or Risky Cryptographic Algorithm"}],"description":"A flaw was found in Nettle in versions before 3.7.2, where several Nettle signature verification functions (GOST DSA, EDDSA \u0026 ECDSA) result in the Elliptic Curve Cryptography point (ECC) multiply function being called with out-of-range scalers, possibly resulting in incorrect results. This flaw allows an attacker to force an invalid signature, causing an assertion failure or possible validation. The highest threat to this vulnerability is to confidentiality, integrity, as well as system availability.","ecosystems":["Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:rhel_aus:7.3::server","Red Hat:rhel_aus:7.4::server","Red Hat:rhel_aus:7.6::server","Red Hat:rhel_e4s:7.4::server","Red Hat:rhel_e4s:7.6::server","Red Hat:rhel_eus:7.7::computenode","Red Hat:rhel_eus:7.7::server","Red Hat:rhel_eus:8.1::appstream","Red Hat:rhel_eus:8.1::baseos","Red Hat:rhel_eus:8.2::appstream","Red Hat:rhel_eus:8.2::baseos","Red Hat:rhel_tus:7.4::server","Red Hat:rhel_tus:7.6::server","Rocky Linux:8","SUSE:Enterprise Storage 6","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Micro 5.0","SUSE:Linux Enterprise Module for Basesystem 15 SP2","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP3-LTSS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Manager Proxy 4.0","SUSE:Manager Retail Branch Server 4.0","SUSE:Manager Server 4.0","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 8","SUSE:OpenStack Cloud Crowbar 9","openSUSE:Leap 15.2"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Other in nettle","id":"CVE-2021-20305","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"debian:debian_linux","products":["debian:debian_linux","fedoraproject:fedora","netapp:active_iq_unified_manager","netapp:ontap_select_deploy_administration_utility","redhat:enterprise_linux"],"type":"other","year":"2021"},"n_packages":133,"n_references":6,"next":{"headline":"Information disclosure in Business-central","id":"CVE-2021-20306"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.7.1-9.el7_9"],"introduced":["0"],"last_affected":[],"package":"nettle","purl":"pkg:rpm/redhat/nettle","source":"RHSA-2021:1145"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.7.1-9.el7_9"],"introduced":["0"],"last_affected":[],"package":"nettle-debuginfo","purl":"pkg:rpm/redhat/nettle-debuginfo","source":"RHSA-2021:1145"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:2.7.1-9.el7_9"],"introduced":["0"],"last_affected":[],"package":"nettle-devel","purl":"pkg:rpm/redhat/nettle-devel","source":"RHSA-2021:1145"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.7.1-9.el7_9"],"introduced":["0"],"last_affected":[],"package":"nettle-debuginfo","purl":"pkg:rpm/redhat/nettle-debuginfo","source":"RHSA-2021:1145"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:2.7.1-9.el7_9"],"introduced":["0"],"last_affected":[],"package":"nettle-devel","purl":"pkg:rpm/redhat/nettle-devel","source":"RHSA-2021:1145"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.7.1-9.el7_9"],"introduced":["0"],"last_affected":[],"package":"nettle","purl":"pkg:rpm/redhat/nettle","source":"RHSA-2021:1145"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.7.1-9.el7_9"],"introduced":["0"],"last_affected":[],"package":"nettle-debuginfo","purl":"pkg:rpm/redhat/nettle-debuginfo","source":"RHSA-2021:1145"},{"ecosystem":"Red Hat:enterprise_linux:7::server","fixed":["0:2.7.1-9.el7_9"],"introduced":["0"],"last_affected":[],"package":"nettle-devel","purl":"pkg:rpm/redhat/nettle-devel","source":"RHSA-2021:1145"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.7.1-9.el7_9"],"introduced":["0"],"last_affected":[],"package":"nettle","purl":"pkg:rpm/redhat/nettle","source":"RHSA-2021:1145"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.7.1-9.el7_9"],"introduced":["0"],"last_affected":[],"package":"nettle-debuginfo","purl":"pkg:rpm/redhat/nettle-debuginfo","source":"RHSA-2021:1145"},{"ecosystem":"Red Hat:enterprise_linux:7::workstation","fixed":["0:2.7.1-9.el7_9"],"introduced":["0"],"last_affected":[],"package":"nettle-devel","purl":"pkg:rpm/redhat/nettle-devel","source":"RHSA-2021:1145"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.14-8.el8_3"],"introduced":["0"],"last_affected":[],"package":"gnutls-c++","purl":"pkg:rpm/redhat/gnutls-c%2B%2B","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.14-8.el8_3"],"introduced":["0"],"last_affected":[],"package":"gnutls-c++-debuginfo","purl":"pkg:rpm/redhat/gnutls-c%2B%2B-debuginfo","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.14-8.el8_3"],"introduced":["0"],"last_affected":[],"package":"gnutls-dane","purl":"pkg:rpm/redhat/gnutls-dane","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.14-8.el8_3"],"introduced":["0"],"last_affected":[],"package":"gnutls-dane-debuginfo","purl":"pkg:rpm/redhat/gnutls-dane-debuginfo","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.14-8.el8_3"],"introduced":["0"],"last_affected":[],"package":"gnutls-debuginfo","purl":"pkg:rpm/redhat/gnutls-debuginfo","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.14-8.el8_3"],"introduced":["0"],"last_affected":[],"package":"gnutls-debugsource","purl":"pkg:rpm/redhat/gnutls-debugsource","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.14-8.el8_3"],"introduced":["0"],"last_affected":[],"package":"gnutls-devel","purl":"pkg:rpm/redhat/gnutls-devel","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.14-8.el8_3"],"introduced":["0"],"last_affected":[],"package":"gnutls-utils","purl":"pkg:rpm/redhat/gnutls-utils","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.6.14-8.el8_3"],"introduced":["0"],"last_affected":[],"package":"gnutls-utils-debuginfo","purl":"pkg:rpm/redhat/gnutls-utils-debuginfo","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.4.1-4.el8_3"],"introduced":["0"],"last_affected":[],"package":"nettle-debuginfo","purl":"pkg:rpm/redhat/nettle-debuginfo","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.4.1-4.el8_3"],"introduced":["0"],"last_affected":[],"package":"nettle-debugsource","purl":"pkg:rpm/redhat/nettle-debugsource","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:3.4.1-4.el8_3"],"introduced":["0"],"last_affected":[],"package":"nettle-devel","purl":"pkg:rpm/redhat/nettle-devel","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.6.14-8.el8_3"],"introduced":["0"],"last_affected":[],"package":"gnutls","purl":"pkg:rpm/redhat/gnutls","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.6.14-8.el8_3"],"introduced":["0"],"last_affected":[],"package":"gnutls-c++-debuginfo","purl":"pkg:rpm/redhat/gnutls-c%2B%2B-debuginfo","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.6.14-8.el8_3"],"introduced":["0"],"last_affected":[],"package":"gnutls-dane-debuginfo","purl":"pkg:rpm/redhat/gnutls-dane-debuginfo","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.6.14-8.el8_3"],"introduced":["0"],"last_affected":[],"package":"gnutls-debuginfo","purl":"pkg:rpm/redhat/gnutls-debuginfo","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.6.14-8.el8_3"],"introduced":["0"],"last_affected":[],"package":"gnutls-debugsource","purl":"pkg:rpm/redhat/gnutls-debugsource","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.6.14-8.el8_3"],"introduced":["0"],"last_affected":[],"package":"gnutls-utils-debuginfo","purl":"pkg:rpm/redhat/gnutls-utils-debuginfo","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.4.1-4.el8_3"],"introduced":["0"],"last_affected":[],"package":"nettle","purl":"pkg:rpm/redhat/nettle","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.4.1-4.el8_3"],"introduced":["0"],"last_affected":[],"package":"nettle-debuginfo","purl":"pkg:rpm/redhat/nettle-debuginfo","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:enterprise_linux:8::baseos","fixed":["0:3.4.1-4.el8_3"],"introduced":["0"],"last_affected":[],"package":"nettle-debugsource","purl":"pkg:rpm/redhat/nettle-debugsource","source":"RHSA-2021:1206"},{"ecosystem":"Red Hat:rhel_aus:7.3::server","fixed":["0:2.7.1-9.el7_3"],"introduced":["0"],"last_affected":[],"package":"nettle","purl":"pkg:rpm/redhat/nettle","source":"RHSA-2021:2760"},{"ecosystem":"Red Hat:rhel_aus:7.3::server","fixed":["0:2.7.1-9.el7_3"],"introduced":["0"],"last_affected":[],"package":"nettle-debuginfo","purl":"pkg:rpm/redhat/nettle-debuginfo","source":"RHSA-2021:2760"},{"ecosystem":"Red Hat:rhel_aus:7.3::server","fixed":["0:2.7.1-9.el7_3"],"introduced":["0"],"last_affected":[],"package":"nettle-devel","purl":"pkg:rpm/redhat/nettle-devel","source":"RHSA-2021:2760"},{"ecosystem":"Red Hat:rhel_aus:7.4::server","fixed":["0:2.7.1-9.el7_4"],"introduced":["0"],"last_affected":[],"package":"nettle","purl":"pkg:rpm/redhat/nettle","source":"RHSA-2021:2758"},{"ecosystem":"Red Hat:rhel_aus:7.4::server","fixed":["0:2.7.1-9.el7_4"],"introduced":["0"],"last_affected":[],"package":"nettle-debuginfo","purl":"pkg:rpm/redhat/nettle-debuginfo","source":"RHSA-2021:2758"},{"ecosystem":"Red Hat:rhel_aus:7.4::server","fixed":["0:2.7.1-9.el7_4"],"introduced":["0"],"last_affected":[],"package":"nettle-devel","purl":"pkg:rpm/redhat/nettle-devel","source":"RHSA-2021:2758"},{"ecosystem":"Red Hat:rhel_aus:7.6::server","fixed":["0:2.7.1-9.el7_6"],"introduced":["0"],"last_affected":[],"package":"nettle","purl":"pkg:rpm/redhat/nettle","source":"RHSA-2021:2356"},{"ecosystem":"Red Hat:rhel_aus:7.6::server","fixed":["0:2.7.1-9.el7_6"],"introduced":["0"],"last_affected":[],"package":"nettle-debuginfo","purl":"pkg:rpm/redhat/nettle-debuginfo","source":"RHSA-2021:2356"}],"prev":{"headline":"Integer overflow in OpenEXR","id":"CVE-2021-20304"},"products":["nettle"],"published":"2021-04-05","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-10-14","vendors":["n/a"]},"summary":"Attackers can cause denial of service or bypass signature validation in Nettle by exploiting out-of-range scalars in ECC operations.","url":"https://insights.sbomify.com/CVE-2021-20305/"}