CVE-2023-51661 json
Filesystem sandbox not enforced in wasmer-cli
published 2y ago modified 2mo ago also GHSA-4mq4-7rw3-vm5j , EUVD-2023-3103
- cvss
- 8.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
Summary
Wasmer is a WebAssembly runtime that enables containers to run anywhere: from Desktop to the Cloud, Edge and even the browser. Wasm programs can access the filesystem outside of the sandbox. Service providers running untrusted Wasm code on Wasmer can unexpectedly expose the host filesystem. This vulnerability has been patched in version 4.2.4.
Patch / fix
- crates.io wasmer-cli 4.2.4
- wasmer wasmer 4.2.4
Is CVE-2023-51661 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2y ago
Exploit prediction
0.60% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-14).
Exploits and checks
- github.com https://github.com/wasmerio/wasmer/security/advisories/GHSA-4mq4-7rw3-vm5j referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| GitHub | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | wasmer-cli | >=3.0.0, <4.2.4 |
4.2.4 |
Affected products
- wasmerio wasmer
Classification
- Weakness
-
- CWE-284 Improper Access Control
References
-
github.com
/wasmerio/wasmer/commit/4d63febf9d8b257b0531963b85df48d45d0dbf3c
web, patch
-
github.com
/wasmerio/wasmer/commit/e3923612c23123025c26f982d390e34df7df030f
web
-
github.com
/wasmerio/wasmer/security/advisories/GHSA-4mq4-7rw3-vm5j
web, exploit, vendor-advisory
-
github.com
/wasmerio/wasmer/issues/4267
web, issue-tracking
-
nvd.nist.gov
/vuln/detail/CVE-2023-51661
advisory
-
github.com
/wasmerio/wasmer
package
Sources
- CVE List CVE-2023-51661
- GitHub Advisory GHSA-4mq4-7rw3-vm5j
- NVD CVE-2023-51661
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.