Arbitrary File Upload Affecting express-fileupload package, versions *


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.89% (83rd percentile)

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 Learn

Learn about Arbitrary File Upload vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-EXPRESSFILEUPLOAD-2635697
  • published1 Aug 2022
  • disclosed13 Apr 2022
  • creditHarun Öz

Introduced: 13 Apr 2022

CVE-2022-27140  (opens in a new tab)
CWE-434  (opens in a new tab)

How to fix?

There is no fixed version for express-fileupload.

Overview

express-fileupload is a file upload middleware for express that wraps around busboy.

Affected versions of this package are vulnerable to Arbitrary File Upload that allows attackers to execute arbitrary code when uploading a crafted PHP file.

NOTE: The maintainers of this package dispute its validity on the grounds that the attack vector described is the normal usage of the package.

CVSS Scores

version 3.1