Bug 1942533 (CVE-2021-20305)
Summary: | CVE-2021-20305 nettle: Out of bounds memory access in signature verification | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Cedric Buissart <cbuissar> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | CC: | ALEXANDER.HOPPE, ansasaki, asosedki, chorn, chousekn, cmoore, crypto-team, daviddavis, dbecker, dueno, dwmw2, faguiard, jjoyce, jschluet, kaycoth, lhh, lpeer, lphiri, mburns, mike, nicampbe, n.mavrogiannopoulos, osapryki, pemensik, pwouters, rh-spice-bugs, sadams, sclewis, slinaber, szidek, tm, vmugicag |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | nettle 3.7.2 | Doc Type: | If docs needed, set a value |
Doc Text: |
A flaw was found in Nettle, where several Nettle signature verification functions (GOST DSA, EDDSA & 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.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-04-08 23:35:19 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1942535, 1942918, 1942919, 1942921, 1942922, 1942923, 1942924, 1942925, 1942926, 1942927, 1942928, 1942929, 1942930, 1942931, 1943156, 1946910, 1946960, 1948707, 1950937, 1950938, 1950939, 1950940, 1950942, 1950943, 1950944, 1950945, 1962738, 1962739, 1966261, 1976077 | ||
Bug Blocks: | 1939224, 1945330 |
Description
Cedric Buissart
2021-03-24 14:12:36 UTC
Created gnutls tracking bugs for this issue: Affects: fedora-all [bug 1942535] List of upstream fixes: - New functions ecc_mod_mul_canonical and ecc_mod_sqr_canonical. https://git.lysator.liu.se/nettle/nettle/-/commit/a63893791280d441c713293491da97c79c0950fe - Use ecc_mod_mul_canonical for point comparison. https://git.lysator.liu.se/nettle/nettle/-/commit/971bed6ab4b27014eb23085e8176917e1a096fd5 - Fix bug in ecc_ecdsa_verify. https://git.lysator.liu.se/nettle/nettle/-/commit/74ee0e82b6891e090f20723750faeb19064e31b2 - Ensure ecdsa_sign output is canonically reduced. https://git.lysator.liu.se/nettle/nettle/-/commit/51f643eee00e2caa65c8a2f5857f49acdf3ef1ce - Analogous fix to ecc_gostdsa_verify. https://git.lysator.liu.se/nettle/nettle/-/commit/401c8d53d8a8cf1e79980e62bda3f946f8e07c14 - Similar fix for eddsa. https://git.lysator.liu.se/nettle/nettle/-/commit/ae3801a0e5cce276c270973214385c86048d5f7b - Fix canonical reduction in gostdsa_vko. https://git.lysator.liu.se/nettle/nettle/-/commit/63f222c60b03470c0005aa9bc4296fbf585f68b9 Created nettle tracking bugs for this issue: Affects: fedora-all [bug 1942921] This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2021:1145 https://access.redhat.com/errata/RHSA-2021:1145 This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2021-20305 Created mingw-nettle tracking bugs for this issue: Affects: fedora-all [bug 1948707] This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2021:1206 https://access.redhat.com/errata/RHSA-2021:1206 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.1 Extended Update Support Via RHSA-2021:1245 https://access.redhat.com/errata/RHSA-2021:1245 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.2 Extended Update Support Via RHSA-2021:1246 https://access.redhat.com/errata/RHSA-2021:1246 Acknowledgments: Name: Niels Möller External References: https://lists.lysator.liu.se/pipermail/nettle-bugs/2021/009457.html Statement: * Although Red Hat OpenStack's dibbler package bundles nettle, it does not include the flawed functionality and is therefore unaffected. This issue has been addressed in the following products: Red Hat Enterprise Linux 7.7 Extended Update Support Via RHSA-2021:2280 https://access.redhat.com/errata/RHSA-2021:2280 This issue has been addressed in the following products: Red Hat Enterprise Linux 7.6 Advanced Update Support Red Hat Enterprise Linux 7.6 Telco Extended Update Support Red Hat Enterprise Linux 7.6 Update Services for SAP Solutions Via RHSA-2021:2356 https://access.redhat.com/errata/RHSA-2021:2356 This issue has been addressed in the following products: Red Hat Enterprise Linux 7.4 Advanced Update Support Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions Red Hat Enterprise Linux 7.4 Telco Extended Update Support Via RHSA-2021:2758 https://access.redhat.com/errata/RHSA-2021:2758 This issue has been addressed in the following products: Red Hat Enterprise Linux 7.3 Advanced Update Support Via RHSA-2021:2760 https://access.redhat.com/errata/RHSA-2021:2760 |