richardgirges/express-fileupload · Security
Express-FileUpload Arbitrary File Overwrite
- GHSA ID
- GHSA-w4m6-x6c2-j5c9
- CVE ID
- CVE-2022-27261
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Description
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.
CWEs
- CWE-434 · Unrestricted Upload of File with Dangerous Type
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-27261 ↗
- https://www.npmjs.com/package/express-fileupload ↗
- https://www.youtube.com/watch?v=3ROHB3ck4tA ↗
- https://github.com/richardgirges/express-fileupload/issues/312 ↗
- https://github.com/richardgirges/express-fileupload/issues/316 ↗
- https://github.com/advisories/GHSA-w4m6-x6c2-j5c9 ↗