Skip to content

Update dependency express-fileupload to v1#18

Open
staging-whitesource-for-github-com[bot] wants to merge 1 commit intomasterfrom
whitesource-remediate/express-fileupload-1.x
Open

Update dependency express-fileupload to v1#18
staging-whitesource-for-github-com[bot] wants to merge 1 commit intomasterfrom
whitesource-remediate/express-fileupload-1.x

Conversation

@staging-whitesource-for-github-com
Copy link
Copy Markdown

@staging-whitesource-for-github-com staging-whitesource-for-github-com bot commented Mar 29, 2025

This PR contains the following updates:

Package Type Update Change
express-fileupload dependencies major ^0.4.0^1.1.8

By merging this PR, the issue #4 will be automatically resolved and closed:

Severity CVSS Score Vulnerability Reachability
High High 7.5 CVE-2020-7699
Medium Medium 5.3 WS-2019-0314

Release Notes

richardgirges/express-fileupload (express-fileupload)

v1.1.8

Compare Source

Updates:

Fixed prototype pollution security vulnerability when using processNested (#​236)

v1.1.6

Compare Source

Updates

  • Add debug option and debug logging output for upload process.
  • Invoke cleanup in case of abortOnLimit=true to delete temporary file when limit reached(#​155 ).
  • if possible, module uses fs.rename instead of copying + deleting to move uploaded files(#​158).
  • Add busboy unpipe when closing connection. Thanks to @​shel.
  • uploadTimeout(default is 60000 msec) option.
  • Add timeout check for data handler, which triggers cleanup of the temp files in case of no data come during time configured in option uploadTimeout.
  • Fixing vulnerability: middleware checks filename and cut off it if length more then 255 characters.

v1.1.5

Compare Source

Updates

  • Add uri decoding for file names see uriDecodeFileNames option in docs.
  • createParentPath now creates folder recursevly, thanks to @​closingin
  • Add fileSize to Buffer.concat that should increase performance for in memory uploads.

v1.1.4

Compare Source

Updates

  • Custom limit handler function. See limitHandler option in docs.
  • Add description about empty file data when option useTempFiles used.

v1.0.0

Compare Source

Updates

  • Update docs to check for empty object #​100

Bug Fixes

  • Pass Options to File Factory #​98

  • If you want to rebase/retry this PR, check this box

@staging-whitesource-for-github-com staging-whitesource-for-github-com bot added the security fix Security fix generated by Mend label Mar 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

security fix Security fix generated by Mend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants