CVE-2024-37150: Private npm registry support used scope auth token for downloading tarballs

Published Jun 6, 2024
·
Updated

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 Software

1 affected component
deno deno=1.44.0

Event History

Jun 6, 2024
CVE Published
via MITRE·03:28 PM
Data Sourced
via MITRE·03:28 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-37150?

The severity of CVE-2024-37150 is classified as high due to the potential exposure of sensitive credentials.

2

How do I fix CVE-2024-37150?

To fix CVE-2024-37150, upgrade Deno to the latest version beyond 1.44.0 to mitigate the vulnerability.

3

Who is affected by CVE-2024-37150?

All users of Deno version 1.44.0 who rely on the .npmrc configuration are potentially affected by CVE-2024-37150.

4

What are the consequences of CVE-2024-37150?

CVE-2024-37150 can lead to unauthorized access to sensitive credentials if exploited.

5

Is there a workaround for CVE-2024-37150 until a fix is applied?

As a temporary workaround for CVE-2024-37150, consider removing or adjusting the use of .npmrc credentials in your Deno configuration.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203