{"id":"CVE-2024-37150","summary":"Private npm registry support used scope auth token for downloading tarballs","details":"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.","aliases":["GHSA-rfc6-h225-3vxv"],"modified":"2026-08-12T03:51:11.860383834Z","published":"2024-06-06T15:28:14.216Z","related":["CGA-6vc4-cx8q-h556"],"database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-200"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37150.json"},"references":[{"type":"WEB","url":"https://github.com/npm/cli/wiki/%22No-auth-for-URI,-but-auth-present-for-scoped-registry%22"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/37xxx/CVE-2024-37150.json"},{"type":"ADVISORY","url":"https://github.com/denoland/deno/security/advisories/GHSA-rfc6-h225-3vxv"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37150"},{"type":"FIX","url":"https://github.com/denoland/deno/commit/566adb7c0a0c0845e90a6e867a2c0ef5d2ada575"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/denoland/deno","events":[{"introduced":"f3ffffc682604349b96dbe4ad33daa5dd1a09f63"},{"fixed":"566adb7c0a0c0845e90a6e867a2c0ef5d2ada575"}],"database_specific":{"cpe":"cpe:2.3:a:deno:deno:1.44.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"1.44.0"},{"last_affected":"1.44.0"}],"source":["CPE_STRING","REFERENCES"]}}],"versions":["1.44.0","= 1.44.0","v1.44.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-37150.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L"}]}