-
-
Notifications
You must be signed in to change notification settings - Fork 21.8k
Release: 4.22.1 #6934
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
Release: 4.22.1 #6934
Conversation
This reverts commit 6e97452.
|
@jonchurch why? |
|
@UlisesGascon why was this reverted? |
|
Hey @nelsonleblanc-rl! Thanks for the ping, I just included a small explanation on #6933 (comment) |
|
Important The prior release (4.22.0) included an erroneous breaking change related to the extended query parser. There is no actual security vulnerability associated with this behavior (CVE-2024-51999 has been rejected). The change has been fully reverted in this release. |
|
I replied in the other release here but TL;DR is that there was no vulnerability to fix, and the "fix" may have broken someone (by removing keys they expected). Copied here: I just wanted to jump in clarify that there wasn't a vulnerability here. There should be a post-mortem on why it was released at all, but GHSA-pj86-cfqh-vqx6 is invalid because there isn't any prototype pollution or other vulnerability. I wanted to further add that this is just the behavior of JavaScript and anything that parses user supplied data, such as The issue that can occur with your code is that you might want to do something like If you are concerned about object keys that match the names of prototype keys, you can provide your own parser: app.set('query parser', function (str) {
return qs.parse(str);
});But keep in mind that if you expect a key that matches one on the prototype, such as |
Important
The prior release (4.22.0) included an erroneous breaking change related to the extended query parser. There is no actual security vulnerability associated with this behavior (CVE-2024-51999 has been rejected). The change has been fully reverted in this release.