Skip to content
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

[CVE RISK] Upgrade urllib3 to v1.26.5 (for opensearch-benchmark #378) #515

Closed
wants to merge 4 commits into from

Conversation

AkshathRaghav
Copy link

Description

An issue was discovered in urllib3 before 1.26.5: when provided with a URL containing many @ characters in the authority component, the authority regular expression exhibits catastrophic backtracking, causing a denial of service if a URL were passed as a parameter or redirected to via an HTTP redirect.

Issues Resolved

This change increments the required urllib3 package in setup.py for that purpose.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@codecov
Copy link

codecov bot commented Sep 29, 2023

Codecov Report

Merging #515 (d833b65) into main (c6c7df5) will not change coverage.
Report is 1 commits behind head on main.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #515   +/-   ##
=======================================
  Coverage   70.86%   70.86%           
=======================================
  Files          83       83           
  Lines        7796     7796           
=======================================
  Hits         5525     5525           
  Misses       2271     2271           
Files Coverage Δ
opensearchpy/_async/client/tasks.py 64.28% <ø> (ø)
opensearchpy/client/tasks.py 85.71% <ø> (ø)

@AkshathRaghav AkshathRaghav changed the title [CVE RISK] Upgrade urllib3 to v1.26.5 #378 [CVE RISK] Upgrade urllib3 to v1.26.5 (for opensearch-benchmark #378 Sep 29, 2023
@AkshathRaghav AkshathRaghav changed the title [CVE RISK] Upgrade urllib3 to v1.26.5 (for opensearch-benchmark #378 [CVE RISK] Upgrade urllib3 to v1.26.5 (for opensearch-benchmark #378) Sep 29, 2023
saimedhi and others added 2 commits September 28, 2023 20:36
…t with the server and maintaining backward compatibility (opensearch-project#508)

Signed-off-by: saimedhi <[email protected]>
Signed-off-by: AkshathRaghav <[email protected]>
Signed-off-by: AkshathRaghav <[email protected]>
@dblock
Copy link
Member

dblock commented Sep 30, 2023

Looks like this PR brought it another unintended change with client generation.

@AkshathRaghav you should work on branches, seeing that you work off main I think you'll need to rewind it without loosing your changes - this post may be helpful

@saimedhi saimedhi closed this Oct 2, 2023
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