CVE-2024-37150 Private npm registry support used scope auth token for downloading tarballs
Deno leaks private npm registry credentials to third-party domains when downloading tarballs, exposing sensitive authentication tokens to attackers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-37150?
CVE-2024-37150 is a high-severity vulnerability in denoland deno, published on 6 Jun 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by CVE-2024-37150?
It affects 1 product.
Products include Deno Deno.
How do I fix CVE-2024-37150?
No fix has been published for CVE-2024-37150 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-37150 being exploited?
There is no known exploitation of CVE-2024-37150 in the wild and no public exploit code.
Other vulnerabilities in denoland deno
- CVE-2023-28445 Deno improperly handles resizable ArrayBuffer
- CVE-2022-24783 Sandbox bypass leading to arbitrary code execution in Deno
- CVE-2021-32619 Static imports inside dynamically imported modules do not adhere to permission checks
- CVE-2026-22863 Deno node:crypto doesn't finalize cipher
- CVE-2024-27936 Deno interactive permission prompt spoofing via improper ANSI stripping
Sources
Also known as GHSA-rfc6-h225-3vxv.