VDB
Sign up
MEDIUM4.4

GHSA-93f3-23rq-pjfp

npm CLI exposing sensitive information through logs

Quick fix

GHSA-93f3-23rq-pjfp — npm: upgrade to the fixed version with the command below.

npm install npm@6.14.6

Details

Versions of the npm CLI prior to 6.14.6 are vulnerable to an information exposure vulnerability through log files. The CLI supports URLs like `<protocol>://[<user>[:<password>]@]<hostname>[:<port>][:][/]<path>`. The password value is not redacted and is printed to stdout and also to any generated log files.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/npm
Introduced in: 0Fixed in: 6.14.6
Fixnpm install npm@6.14.6

References