Deno Permission Bypass via Unicode Normalization Mismatch on macOS (APFS)
denoland deno
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| deno crates.io |
|
|
Original description
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.
From the CVE record · GitHub_M