CVE-2024-1544
Vulnerability Title: Apache Weil Pairing ECDSA Nonce Bias in ECSECP160R1
Description
Generating the ECDSA nonce k samples a random number r and then truncates this randomness with a modular reduction mod n where n is the order of the elliptic curve. Meaning k = r mod n. The division used during the reduction estimates a factor q_e by dividing the upper two digits (a digit having e.g. a size of 8 byte) of r by the upper digit of n and then decrements q_e in a loop until it has the correct size. Observing the number of times q_e is decremented through a control-flow revealing side-channel reveals a bias in the most significant bits of k. Depending on the curve this is either a negligible bias or a significant bias large enough to reconstruct k with lattice reduction methods. For SECP160R1, e.g., we find a bias of 15 bits.
INFO
Published Date :
Aug. 27, 2024, 7:15 p.m.
Last Modified :
Aug. 28, 2024, 12:57 p.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
0.5
Public PoC/Exploit Available at Github
CVE-2024-1544 has a 3 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-1544
.
URL | Resource |
---|---|
https://github.com/wolfSSL/wolfssl/releases/tag/v5.7.2-stable |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
CMake Dockerfile Shell C++ C Makefile Euphoria Batchfile BitBake Perl
This repository is a restructured copy of https://github.com/wolfSSL/wolfssl/ for the Arduino environment. Any Pull Requests for code changes should be opened there.
arduino-library cryptography security ssl tls tls12 tls13
C C++
The wolfSSL library is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3 and DTLS 1.3!
ssl tls cryptography security openssl tls13 dtls https fips cryptography-api embedded-systems encryption iot trusted-execution-environment openssl-alternative c-library wolfssl cipher-suites openssl-api sniffer
C Shell Makefile Tcl Assembly C++ XS Perl C# M4
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-1544
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-1544
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Received by [email protected]
Aug. 27, 2024
Action Type Old Value New Value Added Description Generating the ECDSA nonce k samples a random number r and then truncates this randomness with a modular reduction mod n where n is the order of the elliptic curve. Meaning k = r mod n. The division used during the reduction estimates a factor q_e by dividing the upper two digits (a digit having e.g. a size of 8 byte) of r by the upper digit of n and then decrements q_e in a loop until it has the correct size. Observing the number of times q_e is decremented through a control-flow revealing side-channel reveals a bias in the most significant bits of k. Depending on the curve this is either a negligible bias or a significant bias large enough to reconstruct k with lattice reduction methods. For SECP160R1, e.g., we find a bias of 15 bits. Added Reference wolfSSL Inc. https://github.com/wolfSSL/wolfssl/releases/tag/v5.7.2-stable [No types assigned] Added CWE wolfSSL Inc. CWE-203 Added CVSS V3.1 wolfSSL Inc. AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-1544
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-1544
weaknesses.