CVE-2024-27932: Deno's improper suffix match testing for DENO_AUTH_TOKENS
(updated )
Deno improperly checks that an import specifier’s hostname is equal to or a child of a token’s hostname, which can cause tokens to be sent to servers they shouldn’t be sent to. An auth token intended for example.com may be sent to notexample.com.
References
- github.com/advisories/GHSA-5frw-4rwq-xhcr
- github.com/denoland/deno
- github.com/denoland/deno/blob/3f4639c330a31741b0efda2f93ebbb833f4f95bc/cli/auth_tokens.rs
- github.com/denoland/deno/commit/de23e3b60b066481cc390f459497d5bef42a899b
- github.com/denoland/deno/security/advisories/GHSA-5frw-4rwq-xhcr
- nvd.nist.gov/vuln/detail/CVE-2024-27932
Code Behaviors & Features
Detect and mitigate CVE-2024-27932 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →