Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. npm
  4. ›
  5. CVE-2013-4116

CVE-2013-4116: Predictable temp filenames allow overwrite of arbitrary files

April 22, 2014 (updated August 28, 2017)

npm allows local users to overwrite arbitrary files via a symlink attack on temporary files with predictable names that are created when unpacking archives.

References

  • www.openwall.com/lists/oss-security/2013/07/10/17
  • github.com/npm/npm/issues/3635

Code Behaviors & Features

Detect and mitigate CVE-2013-4116 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.2.8000

Fixed versions

  • 1.2.8000

Solution

Upgrade to version 1.2.8000 or above.

Impact 3.3 LOW

AV:L/AC:M/Au:N/C:N/I:P/A:P

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

npm/npm/CVE-2013-4116.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:03 +0000.