{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-27932","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2024-02-28T15:14:14.216Z","datePublished":"2024-03-06T20:45:16.373Z","dateUpdated":"2024-08-05T16:59:34.779Z"},"containers":{"cna":{"title":"Deno's improper suffix match testing for DENO_AUTH_TOKENS","problemTypes":[{"descriptions":[{"cweId":"CWE-20","lang":"en","description":"CWE-20: Improper Input Validation","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.6,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}}],"references":[{"name":"https://github.com/denoland/deno/security/advisories/GHSA-5frw-4rwq-xhcr","tags":["x_refsource_CONFIRM"],"url":"https://github.com/denoland/deno/security/advisories/GHSA-5frw-4rwq-xhcr"},{"name":"https://github.com/denoland/deno/commit/de23e3b60b066481cc390f459497d5bef42a899b","tags":["x_refsource_MISC"],"url":"https://github.com/denoland/deno/commit/de23e3b60b066481cc390f459497d5bef42a899b"},{"name":"https://github.com/denoland/deno/blob/3f4639c330a31741b0efda2f93ebbb833f4f95bc/cli/auth_tokens.rs#L89","tags":["x_refsource_MISC"],"url":"https://github.com/denoland/deno/blob/3f4639c330a31741b0efda2f93ebbb833f4f95bc/cli/auth_tokens.rs#L89"}],"affected":[{"vendor":"denoland","product":"deno","versions":[{"version":">= 1.8.0, < 1.40.4","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2024-03-06T20:45:16.373Z"},"descriptions":[{"lang":"en","value":"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"}],"source":{"advisory":"GHSA-5frw-4rwq-xhcr","discovery":"UNKNOWN"}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T00:41:55.783Z"},"title":"CVE Program Container","references":[{"name":"https://github.com/denoland/deno/security/advisories/GHSA-5frw-4rwq-xhcr","tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/denoland/deno/security/advisories/GHSA-5frw-4rwq-xhcr"},{"name":"https://github.com/denoland/deno/commit/de23e3b60b066481cc390f459497d5bef42a899b","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/denoland/deno/commit/de23e3b60b066481cc390f459497d5bef42a899b"},{"name":"https://github.com/denoland/deno/blob/3f4639c330a31741b0efda2f93ebbb833f4f95bc/cli/auth_tokens.rs#L89","tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/denoland/deno/blob/3f4639c330a31741b0efda2f93ebbb833f4f95bc/cli/auth_tokens.rs#L89"}]},{"affected":[{"vendor":"denoland","product":"deno","cpes":["cpe:2.3:a:denoland:deno:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"1.8.0","status":"affected","lessThan":"1.40.4","versionType":"custom"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-05T16:57:53.068963Z","id":"CVE-2024-27932","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-08-05T16:59:34.779Z"}}]}}