CVE-2024-37150

Private npm registry support used scope auth token for downloading tarballs

Published Jun 6, 2024 CVSS 3.1 · 7.6 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-36466 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.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00172}

epss

{'score': 0.00219}

Type Values Removed Values Added
First Time appeared Deno
Deno deno
Weaknesses CWE-706
CPEs cpe:2.3:a:deno:deno:1.44.0:*:*:*:*:*:*:*
Vendors & Products Deno
Deno deno
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 2, 2024, 3:50 AM
Reserved
Jun 3, 2024, 5:29 PM
Status
Modified
Published
Jun 6, 2024, 4:15 PM
Modified
Jun 17, 2026, 7:37 AM