CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2019 · Npmjs

CVE-2019-16776
Npmjs Npm vulnerability

Versions of the npm CLI prior to 6.13.3 are vulnerable to an Arbitrary File Write. It fails to prevent access to folders outside of the intended node_modules folder through the bin field. A properly constructed entry in the package.json bin field would allow a package publisher to modify and/or gain access 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

Npm, Leap, Graalvm, Fedora, Enterprise Linux, Enterprise Linux Eus. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Npmjs Npm 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

More vulnerabilities in Npmjs products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.