deno
Affected
- introduced
1.41.3, fixed2.1.13(semver)
Fixed versions
2.1.13
Fix
- Fixed version
2.1.13cargo update -p deno --precise 2.1.13
Advisory
Also known as: CVE-2025-48888
Deno run with --allow-read and --deny-read flags results in allowed
Summary
deno run --allow-read --deny-read main.ts results in allowed, even though 'deny' should be stronger. Same with all global unary permissions given as --allow-* --deny-*.
Details
Caused by the fast exit logic in #22894.
PoC
Run the above command expecting no permissions to be passed.
Impact
This only affects a nonsensical combination of flags, so there shouldn't be a real impact on the userbase.
Medium Basis: The source's own band: MODERATE
1.41.3, fixed 2.1.13 (semver)2.1.13
2.1.13cargo update -p deno --precise 2.1.132.2.0, fixed 2.2.13 (semver)2.2.13
2.2.13cargo update -p deno --precise 2.2.132.3.0, fixed 2.3.2 (semver)2.3.2
2.3.2cargo update -p deno --precise 2.3.20.150.0, fixed 0.212.0 (semver)0.212.0
0.212.0cargo update -p deno_runtime --precise 0.212.0Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0