Skip to content
OpenAdvisories
High · 7.6 CVE-2024-37150 EUVD-2024-36466

Private npm registry support used scope auth token for downloading tarballs

Published Jun 6, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
denoland deno = 1.44.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling deno 1.44.1-r0 —

References