Multiple vulnerabilities in Bytecode Alliance Wasmtime



Published: 2023-03-20 | 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
Subscribe
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

CVSSv3.1: 8.9 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:P/RL:O/RC:C]

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

External links

http://groups.google.com/a/bytecodealliance.org/g/sec-announce/c/Mov-ItrNJsQ
http://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.static_memory_guard_size
http://github.com/bytecodealliance/wasmtime/commit/63fb30e4b4415455d47b3da5a19d79c12f4f2d1f
http://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.static_memory_maximum_size
http://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

CVSSv3.1: 2.7 [CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]

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

External links

http://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.wasm_simd
http://groups.google.com/a/bytecodealliance.org/g/sec-announce/c/Mov-ItrNJsQ
http://github.com/webassembly/simd
http://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-xm67-587q-r2vw
http://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###