{"id":"CVE-2024-37150","published":"2024-06-06T15:28:14Z","modified":"2024-08-02T03:50:54Z","title":"Private npm registry support used scope auth token for downloading tarballs","vendor":"denoland","product":"deno","tier":"tail","description":{"text":"An issue in `.npmrc` support in Deno 1.44.0 was discovered where Deno would send `.npmrc` credentials for the scope to the tarball URL when the registry provided URLs for a tarball on a different domain. All users relying on .npmrc are potentially affected by this vulnerability if their private registry references tarball URLs at a different domain. This includes usage of deno install subcommand, auto-install for npm: specifiers and LSP usage. It is recommended to upgrade to Deno 1.44.1 and if your private registry ever serves tarballs at a different domain to rotate your registry credentials.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0042,"percentile":0.37191,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://github.com/denoland/deno/security/advisories/GHSA-rfc6-h225-3vxv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/denoland/deno/commit/566adb7c0a0c0845e90a6e867a2c0ef5d2ada575","tags":["x_refsource_MISC"]},{"url":"https://github.com/npm/cli/wiki/%22No-auth-for-URI,-but-auth-present-for-scoped-registry%22","tags":["x_refsource_MISC"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":7.44},{"name":"CVSS severity","points":5.32}]},"vendorSlug":"denoland","affectedVersions":[{"vendor":"denoland","product":"deno","versions":["= 1.44.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-06T17:33:25.620412Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-36466","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-denoland-deno-cve-2024-27933","parents":[{"from":"CVE-2024-27933","to":"CVE-2024-37150","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["cli/args/mod.rs"],"commits":["https://github.com/denoland/deno/commit/55fac9f5ead6d30996400e8597c969b675c5a22b","https://github.com/denoland/deno/commit/5a91a065b882215dde209baf626247e54c21a392","https://github.com/denoland/deno/commit/566adb7c0a0c0845e90a6e867a2c0ef5d2ada575"],"basis":"rarely changed file"}]}]}}