Bug 1226058 (CVE-2024-37150) - VUL-0: CVE-2024-37150: deno: private npm registry support used scope auth token for downloading tarballs
Summary: VUL-0: CVE-2024-37150: deno: private npm registry support used scope auth tok...
Status: RESOLVED INVALID
Alias: CVE-2024-37150
Product: openSUSE Distribution
Classification: openSUSE
Component: Security (show other bugs)
Version: Leap 15.6
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Avindra Goolcharan
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/408913/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-37150:6.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-06 18:24 UTC by SMASH SMASH
Modified: 2024-06-06 18:30 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-06-06 18:24:38 UTC
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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-37150
https://www.cve.org/CVERecord?id=CVE-2024-37150
https://github.com/denoland/deno/commit/566adb7c0a0c0845e90a6e867a2c0ef5d2ada575
https://github.com/denoland/deno/security/advisories/GHSA-rfc6-h225-3vxv
https://github.com/npm/cli/wiki/%22No-auth-for-URI,-but-auth-present-for-scoped-registry%22
Comment 1 Camila Camargo de Matos 2024-06-06 18:26:14 UTC
As per the GitHub advisory [0], it seems like only deno 1.44.0 is affected by this issue. openSUSE:Factory is currently at version 1.41.2, meaning it is not affected.

[0] https://github.com/denoland/deno/security/advisories/GHSA-rfc6-h225-3vxv
Comment 2 Camila Camargo de Matos 2024-06-06 18:26:53 UTC
(In reply to Camila Camargo de Matos from comment #1)
> As per the GitHub advisory [0], it seems like only deno 1.44.0 is affected
> by this issue. openSUSE:Factory is currently at version 1.41.2, meaning it
> is not affected.
> 
> [0] https://github.com/denoland/deno/security/advisories/GHSA-rfc6-h225-3vxv

* Package deno in openSUSE:Factory is currently [...]