CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2019 · Npmjs

CVE-2019-16777
Npmjs Npm vulnerability

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.

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.