Skip to content

[Snyk] Security upgrade express from 4.19.2 to 4.22.0#43

Open
Vivelis wants to merge 1 commit intomainfrom
snyk-fix-073025ca73d11d9ff7ae9045aa67c5f2
Open

[Snyk] Security upgrade express from 4.19.2 to 4.22.0#43
Vivelis wants to merge 1 commit intomainfrom
snyk-fix-073025ca73d11d9ff7ae9045aa67c5f2

Conversation

@Vivelis
Copy link
Copy Markdown
Owner

@Vivelis Vivelis commented Dec 31, 2025

snyk-top-banner

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

Snyk changed the following file(s):

  • back/package.json
  • back/package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Allocation of Resources Without Limits or Throttling
SNYK-JS-QS-14724253
  828  

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:

🦉 Allocation of Resources Without Limits or Throttling

Copilot AI review requested due to automatic review settings December 31, 2025 09:50
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 Express from version 4.19.2 to 4.22.0 to address a high-severity security vulnerability (SNYK-JS-QS-14724253) related to "Allocation of Resources Without Limits or Throttling" in the qs dependency, with a severity score of 828/1000.

Key Changes:

  • Express upgraded from 4.19.2 to 4.22.0
  • Associated dependency updates including qs (6.11.0 → 6.14.1), body-parser (1.20.2 → 1.20.4), and numerous other transitive dependencies
  • Addition of new dependencies like call-bind-apply-helpers, call-bound, dunder-proto, get-proto, and math-intrinsics to support the updated packages

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
back/package.json Updates Express version specifier from ~4.19.2 to ~4.22.0
back/package-lock.json Comprehensive lock file update with Express 4.22.0 and all transitive dependency updates, including the critical qs package upgrade that addresses the security vulnerability
Files not reviewed (1)
  • back/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread back/package-lock.json
"cookie-parser": "~1.4.4",
"debug": "~2.6.9",
"express": "~4.19.2",
"express": "^4.22.0",
Copy link

Copilot AI Dec 31, 2025

Choose a reason for hiding this comment

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

Inconsistent version specifier between package.json and package-lock.json. In package.json, express uses tilde (~4.22.0) which allows patch-level updates only (4.22.x), but package-lock.json uses caret (^4.22.0) which allows minor version updates (4.x.x). This inconsistency could lead to unexpected version resolution. The package-lock.json should use ~4.22.0 to match package.json.

Suggested change
"express": "^4.22.0",
"express": "~4.22.0",

Copilot uses AI. Check for mistakes.
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