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.test.osv.dev/v1/vulns/UBUNTU-CVE-2024-1544
Upstream
Published
2024-08-27T19:15:00Z
Modified
2026-01-20T18:12:14.212242Z
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
  • 4.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • Ubuntu - 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:16.04:LTS
wolfssl

Package

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

Affected ranges

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

Affected versions

3.*
3.4.8+dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.4.8+dfsg-1",
            "binary_name": "libcyassl5"
        },
        {
            "binary_version": "3.4.8+dfsg-1",
            "binary_name": "libwolfssl-dev"
        },
        {
            "binary_version": "3.4.8+dfsg-1",
            "binary_name": "libwolfssl0"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1544.json"
Ubuntu:18.04:LTS
wolfssl

Package

Name
wolfssl
Purl
pkg:deb/ubuntu/wolfssl@3.13.0+dfsg-1?arch=source&distro=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

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.13.0+dfsg-1",
            "binary_name": "libwolfssl-dev"
        },
        {
            "binary_version": "3.13.0+dfsg-1",
            "binary_name": "libwolfssl15"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1544.json"
Ubuntu:20.04:LTS
wolfssl

Package

Name
wolfssl
Purl
pkg:deb/ubuntu/wolfssl@4.3.0+dfsg-2?arch=source&distro=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

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "4.3.0+dfsg-2",
            "binary_name": "libwolfssl-dev"
        },
        {
            "binary_version": "4.3.0+dfsg-2",
            "binary_name": "libwolfssl24"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1544.json"
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

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "5.2.0-2",
            "binary_name": "libwolfssl-dev"
        },
        {
            "binary_version": "5.2.0-2",
            "binary_name": "libwolfssl32"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1544.json"
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

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "5.6.6-1.3build1",
            "binary_name": "libwolfssl-dev"
        },
        {
            "binary_version": "5.6.6-1.3build1",
            "binary_name": "libwolfssl42t64"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1544.json"
Ubuntu:25.10
wolfssl

Package

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

Affected ranges

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

Affected versions

5.*
5.7.2-0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "5.7.2-0.1",
            "binary_name": "libwolfssl-dev"
        },
        {
            "binary_version": "5.7.2-0.1",
            "binary_name": "libwolfssl42t64"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-1544.json"