Deno is a JavaScript, TypeScript, and WebAssembly runtime. Prior to 2.7.14, Deno's permission system enforces filesystem and execution restrictions by comparing the requested path against the path supplied to --deny-read, --deny-write, --deny-run, or --deny-ffi. On macOS, that comparison was done at the raw-byte level while the APFS filesystem treats different Unicode spellings of the same name as the same file.
That means a program could reach a denied path by spelling it differently than the deny rule. This vulnerability is fixed in 2.7.14.
Attack Parameters
Impact Assessment
CVSS Vector v3.1
Vulnerable Products 2
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Deno Deno
cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*
|
— |
2.7.14
|
|
Apple Macos
cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:*
|
— | — |