{"id":"EUVD-2024-0827","revision":null,"records":[{"revision":"34da9cb029274a7cb7892d77efd53b24","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-27932","aliases":[],"title":"Deno's improper suffix match testing for DENO_AUTH_TOKENS","description":"Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 1.8.0 and prior to version 1.40.4, 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`. Anyone who uses DENO_AUTH_TOKENS and imports potentially untrusted code is affected. Version 1.40.0 contains a patch for this issue","state":0,"publishedAt":"2024-03-06T20:45:16.373+00:00","modifiedAt":"2024-08-05T16:59:34.779+00:00","affected":[{"ecosystem":"Vendor product","name":"deno","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"denoland\",\n                    \"product\": \"deno\",\n                    \"versions\": [\n                        {\n                            \"version\": \">= 1.8.0, < 1.40.4\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"severity":"MEDIUM"}],"references":["https://github.com/denoland/deno/security/advisories/GHSA-5frw-4rwq-xhcr","https://github.com/denoland/deno/commit/de23e3b60b066481cc390f459497d5bef42a899b","https://github.com/denoland/deno/blob/3f4639c330a31741b0efda2f93ebbb833f4f95bc/cli/auth_tokens.rs#L89"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-27932","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-27932","identifiers":["CVE-2024-27932"]},"retained":false,"historicalAffected":[]},{"revision":"d620d8a35aae45929080b8dc0a932225","observedAt":"2026-11-17T04:41:35.833+00:00","statement":{"source":"euvd","id":"EUVD-2024-0827","aliases":["CVE-2024-27932","GHSA-5frw-4rwq-xhcr"],"title":"Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 1.8.0 and prior to version 1.40.4, Deno improperly checks that an import specifier's hostname is equal to or a child of a token's hostname, which can cause token…","description":"Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 1.8.0 and prior to version 1.40.4, 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`. Anyone who uses DENO_AUTH_TOKENS and imports potentially untrusted code is affected. Version 1.40.0 contains a patch for this issue","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"severity":null}],"references":["https://github.com/denoland/deno/security/advisories/GHSA-5frw-4rwq-xhcr","https://github.com/denoland/deno/commit/de23e3b60b066481cc390f459497d5bef42a899b","https://github.com/denoland/deno/blob/3f4639c330a31741b0efda2f93ebbb833f4f95bc/cli/auth_tokens.rs#L89"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-0827","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Mar 6, 2024, 8:45:16 PM","dateUpdated":"Aug 5, 2024, 4:59:34 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2024-0827","identifiers":["EUVD-2024-0827","CVE-2024-27932","GHSA-5frw-4rwq-xhcr"]},"retained":false,"historicalAffected":[]},{"revision":"9fb783957696415f813b8202b49f3ad1","observedAt":"2026-10-24T23:17:28.568+00:00","statement":{"source":"nvd","id":"CVE-2024-27932","aliases":[],"title":"Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 1.8.0 and prior to version 1.40.4, Deno improperly checks that an import specifier's hostname is equal to or a child of a token's hostname, which can cause token…","description":"Deno is a JavaScript, TypeScript, and WebAssembly runtime. Starting in version 1.8.0 and prior to version 1.40.4, 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`. Anyone who uses DENO_AUTH_TOKENS and imports potentially untrusted code is affected. Version 1.40.0 contains a patch for this issue","state":0,"publishedAt":"2024-03-21T02:52:21.953+00:00","modifiedAt":"2026-06-17T07:20:37.38+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6,"severity":"MEDIUM"}],"references":["https://github.com/denoland/deno/blob/3f4639c330a31741b0efda2f93ebbb833f4f95bc/cli/auth_tokens.rs#L89","https://github.com/denoland/deno/commit/de23e3b60b066481cc390f459497d5bef42a899b","https://github.com/denoland/deno/security/advisories/GHSA-5frw-4rwq-xhcr"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-27932","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-20","NVD-CWE-noinfo"],"productCriteria":["cpe:2.3:a:deno:deno:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2024-03-21T02:52:21.953","lastModified":"2026-06-17T07:20:37.380"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2024-27932","identifiers":["CVE-2024-27932"]},"retained":false,"historicalAffected":[]},{"revision":"997e2e5a41f04a289b3e3ba832039083","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-5frw-4rwq-xhcr","aliases":["CVE-2024-27932"],"title":"Deno's improper suffix match testing for DENO_AUTH_TOKENS","description":"### Summary\n\nDeno 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`.\n\n### Details\n\n[auth_tokens.rs uses a simple ends_with check](https://github.com/denoland/deno/blob/3f4639c330a31741b0efda2f93ebbb833f4f95bc/cli/auth_tokens.rs#L89), which matches `www.deno.land` to a `deno.land` token as intended, but also matches `im-in-ur-servers-attacking-ur-deno.land` to `deno.land` tokens.\n\n### PoC\n\n- Set up a server that logs requests. RequestBin will do. For example, `denovulnpoc.example.com`.\n- Run `DENO_AUTH_TOKENS=a1b2c3d4e5f6@left-truncated.domain deno run https://not-a-left-truncated.domain`. For example, `DENO_AUTH_TOKENS=a1b2c3d4e5f6@poc.example.com deno run https://denovulnpoc.example.com`\n- Observe that the token intended only for the truncated domain is sent to the full domain\n\n### Impact\n_What kind of vulnerability is it? Who is impacted?_\nAnyone who uses DENO_AUTH_TOKENS and imports potentially untrusted code is affected.","state":0,"publishedAt":"2024-03-06T17:03:36+00:00","modifiedAt":"2026-09-10T03:50:10.1616089+00:00","affected":[{"ecosystem":"crates.io","name":"deno","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.8.0"},{"kind":"fixed","version":"1.40.4"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/denoland/deno/security/advisories/GHSA-5frw-4rwq-xhcr","https://nvd.nist.gov/vuln/detail/CVE-2024-27932","https://github.com/denoland/deno/commit/de23e3b60b066481cc390f459497d5bef42a899b","https://github.com/denoland/deno","https://github.com/denoland/deno/blob/3f4639c330a31741b0efda2f93ebbb833f4f95bc/cli/auth_tokens.rs#L89"],"sourceUrl":"https://github.com/advisories/GHSA-5frw-4rwq-xhcr","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-5frw-4rwq-xhcr","identifiers":["GHSA-5frw-4rwq-xhcr","CVE-2024-27932"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-17T05:29:43.0124777+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-17T05:29:43.0124777+00:00","lastSuccessAt":"2026-11-17T05:29:43.5521323+00:00","error":null,"lastVerifiedAt":"2026-11-17T05:29:43.5521335+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-30c3da459c38698a15d626d89e52e03e55e19fc45dae0e6d8d723cbf35472cf4-9c90debbc1f8950b3c0f1d5a421574a28f1b0b2fa45e289f49fdf2a8e9fb3901","complete":true,"records":426272,"lastAttemptAt":"2026-11-17T05:26:09.4993977+00:00","lastSuccessAt":"2026-11-17T05:26:09.3579252+00:00","error":null,"lastVerifiedAt":"2026-11-17T05:26:09.4993977+00:00","snapshotPublishedAt":"2026-11-17T05:19:51+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-86fdeb8b03f14eafa75c0af5223146b8","complete":false,"records":13836,"lastAttemptAt":"2026-11-17T05:38:12.3318417+00:00","lastSuccessAt":"2026-11-17T05:38:12.325+00:00","error":"71 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-17T05:38:12.325+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13633,"expectedIdentifiers":13890,"failedIdentifiers":71},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-17T05:29:43.0124777+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-17T05:29:43.0124777+00:00","lastSuccessAt":"2026-11-17T05:29:43.5528938+00:00","error":null,"lastVerifiedAt":"2026-11-17T05:29:43.552894+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-8fe42df9ddaa47a5bde948a2904896ae","complete":true,"records":13849,"lastAttemptAt":"2026-11-17T05:29:44.1294724+00:00","lastSuccessAt":"2026-11-17T03:28:01.122+00:00","error":null,"lastVerifiedAt":"2026-11-17T03:28:01.122+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13890,"expectedIdentifiers":13890,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-db3ae05f3e19425298b475ceb81e33f22d67df93dfef77c2b0200c8b05fd85ae","complete":true,"records":9958,"lastAttemptAt":"2026-11-17T05:29:42.9612591+00:00","lastSuccessAt":"2026-11-16T23:31:31.5526753+00:00","error":null,"lastVerifiedAt":"2026-11-17T05:29:42.9612591+00:00","snapshotPublishedAt":"2026-11-16T22:48:36+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-17T05:26:09.8083264+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-17T05:26:09.8083264+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-17T05:29:42.9762315+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-17T05:29:42.9762315+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-4595284f246a19ff96d48d7bf03711d7e7b12108e02f248fcd0079c1c749af1c","complete":true,"records":232578,"lastAttemptAt":"2026-11-17T05:29:42.8364573+00:00","lastSuccessAt":"2026-11-17T05:29:41.6968952+00:00","error":null,"lastVerifiedAt":"2026-11-17T05:29:42.8364573+00:00","snapshotPublishedAt":"2026-11-17T05:18:19+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}