Multiple vulnerabilities in Bytecode Alliance Wasmtime



| Updated: 2024-01-18
Risk Medium
Patch available YES
Number of vulnerabilities 2
CVE-ID CVE-2023-26489
CVE-2023-27477
CWE-ID CWE-787
CWE-20
Exploitation vector Network
Public exploit Public exploit code for vulnerability #1 is available.
Vulnerable software
Wasmtime
Web applications / Modules and components for CMS

Vendor Bytecode Alliance

Security Bulletin

This security bulletin contains information about 2 vulnerabilities.

1) Out-of-bounds write

EUVDB-ID: #VU73803

Risk: Medium

CVSSv4.0: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P/U:Green]

CVE-ID: CVE-2023-26489

CWE-ID: CWE-787 - Out-of-bounds write

Exploit availability: Yes

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input on x86_64. A remote user can trigger an out-of-bounds write and execute arbitrary code on the target system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Wasmtime: 0.37.0 - 6.0.0

CPE2.3 External links

https://groups.google.com/a/bytecodealliance.org/g/sec-announce/c/Mov-ItrNJsQ
https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.static_memory_guard_size
https://github.com/bytecodealliance/wasmtime/commit/63fb30e4b4415455d47b3da5a19d79c12f4f2d1f
https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.static_memory_maximum_size
https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-ff4p-7xrq-q5r8


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.

2) Input validation error

EUVDB-ID: #VU73808

Risk: Low

CVSSv4.0: 0.6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2023-27477

CWE-ID: CWE-20 - Improper input validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise the target system.

The vulnerability exists due to miscompilation of "i8x16.select" with the same inputs on x86_64. A remote user can cause the WebAssembly instruction to produce incorrect results for the i8x16.select instruction.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Wasmtime: 0.2.0 - 6.0.0

CPE2.3 External links

https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.wasm_simd
https://groups.google.com/a/bytecodealliance.org/g/sec-announce/c/Mov-ItrNJsQ
https://github.com/webassembly/simd
https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-xm67-587q-r2vw
https://github.com/bytecodealliance/wasmtime/commit/5dc2bbccbb363e474d2c9a1b8e38a89a43bbd5d1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###