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

fix: bump requests-cache to ^0.9 to mitigate a Arbitrary Code Execution issue in version 0.5.2 #331

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wookiesh
Copy link

@wookiesh wookiesh commented May 5, 2024

see https://security.snyk.io/vuln/SNYK-PYTHON-REQUESTSCACHE-1089050

tests were run before and after installation to compare, and the result were similar:
17 failed, 92 passed, 3 skipped, 196 warnings, 49 errors

Most of the issues in the test suite were related to:
Failed: Integration test currently only works with a spreadbet account

@bug-or-feature
Copy link
Member

@wookiesh thanks for your interest in the project

I'm curious why you have chosen version ^0.9 when 1.2.0 is available? And why the whitespace edits to other unrelated lines in project.toml?

@wookiesh
Copy link
Author

wookiesh commented May 6, 2024 via email

@bug-or-feature
Copy link
Member

Hello Andy, Thanks for the project, happily using it. Regarding the version, that was just not to change the major version as it may introduce breaking changes. For the other edits, it’s vscode that reformatted the code and it seemed to fit the rest of the file so I let them in. Of course I could remove them from the PR if you prefer ?

Fair enough re the version. I realise that requests-cache should be an optional dependency like pandas, tenacity. I'll consider that option for a future release. Do you actually use the cache feature? If so, would you mind adding a comment to #317? I'd like to understand how (and why) people are using it.

Yes please revert the whitespace changes. I'll make the formatting more consistent in another commit

@wookiesh
Copy link
Author

wookiesh commented May 9, 2024 via email

@bug-or-feature
Copy link
Member

@wookiesh aiohttp is a transitive dependency on the lightstreamer client, so out of our hands. And the numpy dependency from pandas, which is optional and so up to the end user

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.

None yet

2 participants