6.5 MEDIUM
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Scope (S): Changed (C)
- Confidentiality (C): None (N)
- Integrity (I): High (H)
- Availability (A): None (N)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Changed (C)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): None (N)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
2 packages
- python313Packages.wasmtime
- python314Packages.wasmtime
- @LeSuisse accepted
- @LeSuisse published on GitHub
Wasmtime: WASI hard links bypass wasmtime-wasi's FilePerms for destination
Wasmtime is a runtime for WebAssembly. Prior to 24.0.11, 36.0.12, 45.0.3, and 46.0.1, wasmtime-wasi hard-link creation and renaming check directory permissions but not matching FilePerms on source and destination preopens, allowing a WASI guest with a read-only source file capability to overwrite host files exposed as FilePerms::READ through wasip1, wasip2, or wasip3 filesystem interfaces. This issue is fixed in versions 24.0.11, 36.0.12, 45.0.3, and 46.0.1.
References
-
https://github.com/bytecodealliance/wasmtime/releases/tag/v24.0.11 x_refsource_MISC
-
https://github.com/bytecodealliance/wasmtime/releases/tag/v36.0.12 x_refsource_MISC
-
https://github.com/bytecodealliance/wasmtime/releases/tag/v45.0.3 x_refsource_MISC
-
https://github.com/bytecodealliance/wasmtime/releases/tag/v46.0.1 x_refsource_MISC
Affected products
- ==>= 25.0.0, < 36.0.12
- ==>= 46.0.0, < 46.0.1
- ==>= 37.0.0, < 45.0.3
- ==< 24.0.11
Matching in nixpkgs
Ignored packages (2)
pkgs.python313Packages.wasmtime
Python WebAssembly runtime powered by Wasmtime
Package maintainers
-
@nekowinston winston <hey@winston.sh>
-
@ereslibre Rafael Fernández López <ereslibre@ereslibre.es>