p PatchFirst

CVE-2024-1544

CVE-2024-1544 · ECDSA nonce bias caused by truncation

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

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.

CVSS 4.1 · Media · EPSS 0,3% · Corrección disponible

Publicación
Actualización

Pila tecnológica: system

Productos y versiones afectados

  • wolfssl

    Versiones
    • ≥ 0, ≤ 5.6.4: Afectada (Release)

    Sin corrección publicada

  • wolfssl Debian:12

    Versiones
    • 5.5.4-2
    • 5.5.4-2+deb12u1
    • 5.5.4-2+deb12u2
    • 5.5.4-2+deb12u3
    • 5.5.4-2.1
    • 5.6.4-1
    • 5.6.4-2
    • 5.6.6-1
    • 5.6.6-1.1
    • 5.6.6-1.2
    • 5.6.6-1.3
    • 5.6.6-1.3~exp1
    • 5.7.0-0.1
    • 5.7.0-0.2
    • 5.7.0-0.3
    • 5.7.2-0.1
    • 5.7.2-0.2
    • 5.7.2-0.3
    • 5.7.2-0.4
    • 5.8.2-1
    • 5.8.2-1.1
    • 5.8.2-1.2
    • 5.8.4-1
    • 5.9.0-0.1
    • 5.9.0-0.2
    • 5.9.1-0.1
    • 5.9.2-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • wolfssl Debian:13

    Intervalos de versiones afectados
    • ECOSYSTEM: < 5.7.2-0.1

    Actualiza a 5.7.2-0.1

  • wolfssl Ubuntu:16.04:LTS

    Versiones
    • 3.4.8+dfsg-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • wolfssl Ubuntu:18.04:LTS

    Versiones
    • 3.10.2+dfsg-2
    • 3.12.0+dfsg-1
    • 3.12.2+dfsg-1
    • 3.13.0+dfsg-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • wolfssl Ubuntu:20.04:LTS

    Versiones
    • 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
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • wolfssl Ubuntu:22.04:LTS

    Versiones
    • 4.6.0-3
    • 5.0.0-1
    • 5.1.1-1
    • 5.2.0-1
    • 5.2.0-2
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • wolfssl Ubuntu:24.04:LTS

    Versiones
    • 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
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • wolfssl Ubuntu:25.10

    Versiones
    • 5.7.2-0.1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • wolfssl Ubuntu:26.10

    Versiones
    • 5.9.1-0.1
    • 5.9.2-1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • wolfssl Ubuntu:26.04:LTS

    Versiones
    • 5.7.2-0.1
    • 5.8.2-1.2
    • 5.8.4-1
    • 5.9.1-0.1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

Fuentes originales

Comprueba tu servidor →