chore(deps): update express and related types to their latest compatible versions#5561
Merged
alexander-akait merged 1 commit intowebpack:version-4from Aug 13, 2025
Conversation
- Updated `@types/express` from `^4.17.13` to `^4.17.21` - Updated `express` from `^4.17.3` to `^4.21.2` - Updated various dependencies in `package-lock.json` to their latest versions, including `body-parser`, `cookie`, `qs`, and others. This ensures compatibility with the latest features and security updates.
|
|
alexander-akait
approved these changes
Aug 13, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
For Bugs and Features; did you add new tests?
N/A - This is a dependency update to fix a security vulnerability.
Motivation / Use-Case
This PR addresses a critical security vulnerability CVE-2024-45296 in the
path-to-regexpdependency, which is a transitive dependency of Express.Vulnerability Details:
The vulnerability affects
path-to-regexpversions < 0.1.10, which can generate backtracking regular expressions that consume excessive CPU cycles, potentially leading to DoS attacks.Changes Made:
expressfrom 4.17.3 to 4.21.2@types/expressfrom 4.17.13 to 4.17.21path-to-regexp(0.1.12) which resolves the vulnerabilityReferences:
Breaking Changes
No breaking changes are expected. This is a security patch that maintains backward compatibility.
Additional Info
The update includes several other dependency updates that are part of the Express ecosystem:
All changes are backward compatible and primarily focus on security improvements and bug fixes.