UBUNTU-CVE-2024-1544

Source
https://ubuntu.com/security/CVE-2024-1544
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1544.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-1544
Upstream
Published
2024-08-27T19:15:00Z
Modified
2025-07-14T06:46:34.971058Z
Severity
  • 4.1 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • - medium
Summary
[none]
Details

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 qe 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 qe 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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / wolfssl

Package

Name
wolfssl
Purl
pkg:deb/ubuntu/wolfssl@3.4.8+dfsg-1?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.4.8+dfsg-1

Ubuntu:Pro:18.04:LTS / wolfssl

Package

Name
wolfssl
Purl
pkg:deb/ubuntu/wolfssl@3.13.0+dfsg-1?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.10.2+dfsg-2
3.12.0+dfsg-1
3.12.2+dfsg-1
3.13.0+dfsg-1

Ubuntu:Pro:20.04:LTS / wolfssl

Package

Name
wolfssl
Purl
pkg:deb/ubuntu/wolfssl@4.3.0+dfsg-2?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.1.0+dfsg-2
4.2.0+dfsg-1
4.2.0+dfsg-2
4.2.0+dfsg-3
4.3.0+dfsg-2

Ubuntu:22.04:LTS / wolfssl

Package

Name
wolfssl
Purl
pkg:deb/ubuntu/wolfssl@5.2.0-2?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.6.0-3

5.*

5.0.0-1
5.1.1-1
5.2.0-1
5.2.0-2

Ubuntu:24.04:LTS / wolfssl

Package

Name
wolfssl
Purl
pkg:deb/ubuntu/wolfssl@5.6.6-1.3build1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*

5.5.4-2
5.5.4-2.1
5.6.4-2
5.6.6-1.2
5.6.6-1.3
5.6.6-1.3build1

Ubuntu:25.04 / wolfssl

Package

Name
wolfssl
Purl
pkg:deb/ubuntu/wolfssl@5.7.2-0.1?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*

5.7.2-0.1