Arbitrary Code Injection Affecting expressfs package, versions *


0.0
critical

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-EXPRESSFS-455280
  • published 24 Jul 2019
  • disclosed 10 Jun 2019
  • credit Microsoft Vulnerability Research

Introduced: 10 Jun 2019

CVE NOT AVAILABLE CWE-94 Open this link in a new tab

How to fix?

There is no fixed version for expressfs.

Overview

expressfs is a package that adds fs routes to your express app like writeFile, readFile, et cetera.

Affected versions of this package are vulnerable to Arbitrary Code Injection. The package does not validate user input on several API endpoints, allowing attackers to run arbitrary commands in the system. The affected endpoints are: expressfs.appendFile, expressfs.cp, expressfs.create and expressfs.rmdir.