GHSA-xqxc-x6p3-w683

Suggest an improvement
Source
https://github.com/advisories/GHSA-xqxc-x6p3-w683
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-xqxc-x6p3-w683/GHSA-xqxc-x6p3-w683.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xqxc-x6p3-w683
Aliases
Downstream
Published
2025-06-04T21:13:44Z
Modified
2026-09-10T03:50:25Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
  • 5.5 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
Deno run with --allow-read and --deny-read flags results in allowed
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-863"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-06-04T21:13:44Z",
    "nvd_published_at":  "2025-06-04T20:15:23Z",
    "severity":  "MODERATE"
}
References

Affected packages

crates.io / deno

Package

Affected ranges

Type
SEMVER
Events
Introduced
1.41.3
Fixed
2.1.13

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-xqxc-x6p3-w683/GHSA-xqxc-x6p3-w683.json"

crates.io / deno

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.2.0
Fixed
2.2.13

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-xqxc-x6p3-w683/GHSA-xqxc-x6p3-w683.json"

crates.io / deno

Package

Affected ranges

Type
SEMVER
Events
Introduced
2.3.0
Fixed
2.3.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-xqxc-x6p3-w683/GHSA-xqxc-x6p3-w683.json"

crates.io / deno_runtime

Package

Name
deno_runtime
View open source insights on deps.dev
Purl
pkg:cargo/deno_runtime

Affected ranges

Type
SEMVER
Events
Introduced
0.150.0
Fixed
0.212.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-xqxc-x6p3-w683/GHSA-xqxc-x6p3-w683.json"