Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency express-fileupload to v1 #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

staging-whitesource-for-github-com[bot]
Copy link

@staging-whitesource-for-github-com staging-whitesource-for-github-com bot commented Jan 16, 2024

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 CVE 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 Jan 16, 2024
@staging-whitesource-for-github-com staging-whitesource-for-github-com bot force-pushed the whitesource-remediate/express-fileupload-1.x branch from 4314cf3 to 4f0278e Compare September 16, 2024 16:03
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