[Component Governance Alert][GradleV2,3] Fix CVE-2022-24999 #18335
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.
Task name:
Description:
This PR fixes CVE-2022-24999 in the
qs
package by removing the vulnerableRequest
dependency and updating codeanalysis-common package.The
Request
package is deleted because it is a loose dependency. According to request/request#3142 it was deprecated and got no security updates since 2020.The
codeanalysis-common
package is updated to the recent version that doesn't use the vulnerablerequest
package.Vulnerability Description:
qs before 6.10.3 allows attackers to cause a Node process to hang because an __ proto__ key can be used. In many typical web framework use cases, an unauthenticated remote attacker can place the attack payload in the query string of the URL that is used to visit the application, such as a[proto]=b&a[proto]&a[length]=100000000. The fix was backported to qs 6.9.7, 6.8.3, 6.7.3, 6.6.1, 6.5.3, 6.4.1, 6.3.3, and 6.2.4.
Documentation changes required: N
Added unit tests: N
Checklist: