USN-4785-1: npm vulnerability

Publication date

15 March 2021

Overview

npm could be made to expose sensitive information.


Packages

  • npm - package manager for Node.js

Details

It was discovered that the npm command-line interface mishandled certain
sensitive information. An attacker could use this vulnerability to collect
authentication information that could be used to impersonate other users.

It was discovered that the npm command-line interface mishandled certain
sensitive information. An attacker could use this vulnerability to collect
authentication information that could be used to impersonate other users.

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
18.04 bionic npm –  3.5.2-0ubuntu4.1.18.04.1~esm1  
16.04 xenial npm –  3.5.2-0ubuntu4.1.16.04.1~esm1  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›