GitHub Advisory Database
GHSA-w4m6-x6c2-j5c9
Express-FileUpload Arbitrary File Overwrite
Details
An arbitrary file write vulnerability in Express-FileUpload v1.3.1 allows attackers to upload multiple files with the same name, causing an overwrite of files in the web application server. This vulnerability is debated by the package author.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | express-fileupload | All versions up to and including 1.3.1 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-27261
- https://github.com/richardgirges/express-fileupload/issues/312
- https://github.com/richardgirges/express-fileupload/issues/316
- https://github.com/richardgirges/express-fileupload
- https://www.npmjs.com/package/express-fileupload
- https://www.youtube.com/watch?v=3ROHB3ck4tA