UBUNTU-CVE-2019-16777

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2019-16777
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16777.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2019-16777
Related
Published
2019-12-13T01:15:00Z
Modified
2019-12-13T01:15:00Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

Versions of the npm CLI prior to 6.13.4 are vulnerable to an Arbitrary File Overwrite. It fails to prevent existing globally-installed binaries to be overwritten by other package installations. For example, if a package was installed globally and created a serve binary, any subsequent installs of packages that also create a serve binary would overwrite the previous serve binary. This behavior is still allowed in local installations and also through install scripts. This vulnerability bypasses a user using the --ignore-scripts install option.

References

Affected packages

Ubuntu:Pro:14.04:LTS / npm

Package

Name
npm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.2.18~dfsg-3
1.3.10~dfsg-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:16.04:LTS / npm

Package

Name
npm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.4.21+ds-2

3.*

3.5.2-0ubuntu4
3.5.2-0ubuntu4.1.16.04.1~esm1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / npm

Package

Name
npm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

3.*

3.5.2-0ubuntu4
3.5.2-0ubuntu4.1.18.04.1~esm1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / npm

Package

Name
npm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

5.*

5.8.0+ds6-4

6.*

6.14.4+ds-1ubuntu2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / npm

Package

Name
npm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

7.*

7.5.2+ds-2
7.24.2+ds-1
7.24.2+ds-2

8.*

8.3.0~ds-1
8.3.0~ds-2
8.3.2~ds-1
8.5.0~ds-1
8.5.1~ds-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / npm

Package

Name
npm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

9.*

9.2.0~ds1-1
9.2.0~ds1-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}