UBUNTU-CVE-2019-16775

Source
https://ubuntu.com/security/CVE-2019-16775
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-16775.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2019-16775
Related
Published
2019-12-13T01:15:00Z
Modified
2024-10-15T14:07:01Z
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.3 are vulnerable to an Arbitrary File Write. It is possible for packages to create symlinks to files outside of thenode_modules folder through the bin field upon installation. A properly constructed entry in the package.json bin field would allow a package publisher to create a symlink pointing to arbitrary files on a user's system when the package is installed. This behavior is still possible 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
Purl
pkg:deb/ubuntu/npm?arch=src?distro=trusty/esm

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
Purl
pkg:deb/ubuntu/npm?arch=src?distro=esm-apps/xenial

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
Purl
pkg:deb/ubuntu/npm?arch=src?distro=esm-apps/bionic

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
Purl
pkg:deb/ubuntu/npm?arch=src?distro=focal

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
Purl
pkg:deb/ubuntu/npm?arch=src?distro=jammy

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.10 / npm

Package

Name
npm
Purl
pkg:deb/ubuntu/npm?arch=src?distro=oracular

Affected ranges

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

Affected versions

9.*

9.2.0~ds1-2
9.2.0~ds1-3

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / npm

Package

Name
npm
Purl
pkg:deb/ubuntu/npm?arch=src?distro=noble

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"
}