Skip to content

[Snyk] Security upgrade multer from 1.4.4 to 2.0.0#166

Merged
palashmon merged 1 commit intomasterfrom
snyk-fix-e46824cdf5aec6cc1eb6f089d727fad3
May 29, 2025
Merged

[Snyk] Security upgrade multer from 1.4.4 to 2.0.0#166
palashmon merged 1 commit intomasterfrom
snyk-fix-e46824cdf5aec6cc1eb6f089d727fad3

Conversation

@palashmon
Copy link
Copy Markdown
Owner

snyk-top-banner

Snyk has created this PR to fix 3 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Uncaught Exception
SNYK-JS-MULTER-10185673
  828  
high severity Denial of Service (DoS)
SNYK-JS-DICER-2311764
  761  
high severity Missing Release of Memory after Effective Lifetime
SNYK-JS-MULTER-10185675
  721  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Denial of Service (DoS)
🦉 Uncaught Exception
🦉 Missing Release of Memory after Effective Lifetime

@palashmon palashmon requested a review from Copilot May 29, 2025 05:37
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR upgrades the multer dependency from 1.x to 2.0.0 to address multiple high-severity vulnerabilities.

  • Bumps "multer" in package.json from ^1.3.0 to ^2.0.0.
Comments suppressed due to low confidence (2)

package.json:45

  • Add or update integration tests for any file-upload endpoints to validate that the new multer API behaves as expected and to catch any regressions early.
"multer": "^2.0.0",

package.json:45

  • Upgrading multer from 1.x to 2.x is a breaking change; ensure all import and initialization code is updated per the v2 migration guide (e.g., factory functions and option signatures) to avoid runtime errors.
"multer": "^2.0.0",

@palashmon palashmon merged commit 04d6248 into master May 29, 2025
3 checks passed
@palashmon palashmon deleted the snyk-fix-e46824cdf5aec6cc1eb6f089d727fad3 branch May 29, 2025 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants