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

Package: requests upgrade #135

Merged
merged 1 commit into from
Nov 7, 2018
Merged

Conversation

BadrAly
Copy link

@BadrAly BadrAly commented Nov 5, 2018

  • FIX: fixes vulnerability issues with versions before 2.19.1

Signed-off-by: Aly Badr [email protected]

To Test:
./scripts/bootstrap
./run_tests.sh

  • Fixes the following error:
    "The Requests package before 2.19.1 sends an HTTP Authorization header to an http URI upon receiving a same-hostname https-to-http redirect, which makes it easier for remote attackers to discover credentials by sniffing the network"

@BadrAly BadrAly requested review from rerowep and iGormilhit November 5, 2018 13:37
Copy link

@iGormilhit iGormilhit left a comment

Choose a reason for hiding this comment

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

Could you add reference to requests package in the commit message, thanks.

Pipfile Outdated
@@ -16,6 +16,7 @@ uwsgi = ">=2.0"
invenio-oaiharvester = {ref = "v1.0.0a4", git = "https://github.com/inveniosoftware/invenio-oaiharvester.git"}
pip = "<=18.0"
pipenv = "*"
requests = "==2.20.0"

Choose a reason for hiding this comment

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

Maybe requests = ">=2.20.0" ?

@iGormilhit
Copy link

iGormilhit commented Nov 6, 2018

@BadrAly: As @jma suggested, you can use this PR to remove lines 38 and 39 in the run-tests.sh script.

Edit: 36437 is CVE-2018-16516, concerning Flask-Admin 1.5.2

 * FIX: fixes vulnerability issues with requests package versions before 2.19.1

Signed-off-by: Aly Badr <[email protected]>
@BadrAly BadrAly force-pushed the baa-fix-requests-package branch from c3dbbc4 to 4ced3d3 Compare November 6, 2018 13:38
@rerowep rerowep merged commit 2287e67 into rero:master Nov 7, 2018
@BadrAly BadrAly deleted the baa-fix-requests-package branch January 10, 2019 09:45
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