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.1% (43rd 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-2635946
  • published1 Aug 2022
  • disclosed13 Apr 2022
  • creditHarun Öz

Introduced: 13 Apr 2022

CVE-2022-27261  (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 when it is possible for attackers to upload multiple files with the same name, causing an overwrite of files in the web application server.

CVSS Scores

version 3.1