Vulnerabilities · 2019 · Redhat
CVE-2019-16775
Redhat Enterprise Linux vulnerability
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.
Affected products
Enterprise Linux, Enterprise Linux Eus, Npm, Leap, Graalvm, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Redhat Enterprise Linux runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- lists.opensuse.org/opensuse-security-announce/2020-01/msg00027.html · Third Party Advisory
- access.redhat.com/errata/RHEA-2020:0330 · Third Party Advisory
- access.redhat.com/errata/RHSA-2020:0573 · Third Party Advisory
- access.redhat.com/errata/RHSA-2020:0579 · Third Party Advisory
- access.redhat.com/errata/RHSA-2020:0597 · Third Party Advisory
- access.redhat.com/errata/RHSA-2020:0602 · Third Party Advisory
- blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli · Third Party Advisory
- github.com/npm/cli/security/advisories/GHSA-m6cx-g6qm-p2cx · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2019-16775
- cve.org/CVERecord?id=CVE-2019-16775
More vulnerabilities in Redhat products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.