p PatchFirst

CVE-2022-39394

CVE-2022-39394 · wasmtime_trap_code C API function has out of bounds write vulnerability

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

Wasmtime is a standalone runtime for WebAssembly. Prior to version 2.0.2, there is a bug in Wasmtime's C API implementation where the definition of the `wasmtime_trap_code` does not match its declared signature in the `wasmtime/trap.h` header file. This discrepancy causes the function implementation to perform a 4-byte write into a 1-byte buffer provided by the caller. This can lead to three zero bytes being written beyond the 1-byte location provided by the caller. This bug has been patched and users should upgrade to Wasmtime 2.0.2. This bug can be worked around by providing a 4-byte buffer casted to a 1-byte buffer when calling `wasmtime_trap_code`. Users of the `wasmtime` crate are not affected by this issue, only users of the C API function `wasmtime_trap_code` are affected.

CVSS 3.8 · Baja · EPSS 0,4%

Publicación
Actualización

Pila tecnológica: system

Productos y versiones afectados

  • wasmtime

    Versiones
    • < 2.0.2: Afectada

    Sin corrección publicada

  • mozjs52 Ubuntu:18.04:LTS

    Versiones
    • 52.3.1-0ubuntu3
    • 52.3.1-7fakesync1
    • 52.8.1-0ubuntu0.18.04.1
    • 52.9.1-0ubuntu0.18.04.1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • mozjs38 Ubuntu:18.04:LTS

    Versiones
    • 38.8.0~repack1-0ubuntu1
    • 38.8.0~repack1-0ubuntu3
    • 38.8.0~repack1-0ubuntu4
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • mozjs68 Ubuntu:20.04:LTS

    Versiones
    • 68.5.0-1~fakesync
    • 68.5.0-2~fakesync
    • 68.6.0-1
    • 68.6.0-1ubuntu1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • mozjs52 Ubuntu:20.04:LTS

    Versiones
    • 52.9.1-1build1
    • 52.9.1-1ubuntu3
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • mozjs78 Ubuntu:22.04:LTS

    Versiones
    • 78.13.0-1
    • 78.15.0-2
    • 78.15.0-4ubuntu1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • mozjs91 Ubuntu:22.04:LTS

    Versiones
    • 91.5.1-0ubuntu1
    • 91.6.0-1
    • 91.6.0-2
    • 91.7.0-2
    • 91.10.0-0ubuntu1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • thunderbird Ubuntu:22.04:LTS

    Versiones
    • 1:91.1.2+build1-0ubuntu1
    • 1:91.3.0+build2-0ubuntu1
    • 1:91.3.1+build1-0ubuntu1
    • 1:91.3.2+build1-0ubuntu1
    • 1:91.4.0+build1.1-0ubuntu1
    • 1:91.4.0+build2-0ubuntu1
    • 1:91.5.0+build1-0ubuntu1
    • 1:91.5.1+build1-0ubuntu1
    • 1:91.6.1+build1-0ubuntu1
    • 1:91.7.0+build1-0ubuntu1
    • 1:91.7.0+build2-0ubuntu1
    • 1:91.8.0+build2-0ubuntu1
    • 1:91.9.1+build1-0ubuntu0.22.04.1
    • 1:91.11.0+build2-0ubuntu0.22.04.1
    • 1:102.2.2+build1-0ubuntu0.22.04.1
    • 1:102.4.2+build2-0ubuntu0.22.04.1
    • 1:102.7.1+build2-0ubuntu0.22.04.1
    • 1:102.8.0+build2-0ubuntu0.22.04.1
    • 1:102.9.0+build1-0ubuntu0.22.04.1
    • 1:102.10.0+build2-0ubuntu0.22.04.1
    • 1:102.11.0+build1-0ubuntu0.22.04.1
    • 1:102.13.0+build1-0ubuntu0.22.04.1
    • 1:102.15.0+build1-0ubuntu0.22.04.1
    • 1:102.15.1+build1-0ubuntu0.22.04.1
    • 1:115.3.1+build1-0ubuntu0.22.04.2
    • 1:115.4.1+build1-0ubuntu0.22.04.1
    • 1:115.5.0+build1-0ubuntu0.22.04.1
    • 1:115.6.0+build2-0ubuntu0.22.04.1
    • 1:115.8.1+build1-0ubuntu0.22.04.1
    • 1:115.9.0+build1-0ubuntu0.22.04.1
    • 1:115.10.1+build1-0ubuntu0.22.04.1
    • 1:115.11.0+build2-0ubuntu0.22.04.1
    • 1:115.12.0+build3-0ubuntu0.22.04.1
    • 1:115.13.0+build5-0ubuntu0.22.04.1
    • 1:115.15.0+build1-0ubuntu0.22.04.1
    • 1:115.16.0+build2-0ubuntu0.22.04.1
    • 1:115.18.0+build1-0ubuntu0.22.04.1
    • 1:128.12.0+build1-0ubuntu0.22.04.1
    • 1:140.7.1+build1-0ubuntu0.22.04.1
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • thunderbird Ubuntu:24.04:LTS

    Versiones
    • 1:115.3.1+build1-0ubuntu1
    • 1:115.4.1+build1-0ubuntu1
    • 1:115.4.3+build1-0ubuntu1
    • 1:115.5.0+build1-0ubuntu1
    • 1:115.5.1+build1-0ubuntu1
    • 1:115.5.2+build2-0ubuntu1
    • 1:115.6.0+build1-0ubuntu1
    • 1:115.6.0+build2-0ubuntu1
    • 1:115.6.1+build1-0ubuntu1
    • 1:115.8.0+build1-0ubuntu1
    • 1:115.8.1+build1+snap2
    • 1:115.8.1+build1+snap3
    • 2:1snap1-0ubuntu1
    • 2:1snap1-0ubuntu3
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

Fuentes originales

Comprueba tu servidor →