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

Vulnerability in requests==2.31.0 #2838

Closed
JoseAmaral436 opened this issue Jun 6, 2024 · 1 comment
Closed

Vulnerability in requests==2.31.0 #2838

JoseAmaral436 opened this issue Jun 6, 2024 · 1 comment
Labels
external Outside SeleniumBase's scope. / Ask somewhere else.

Comments

@JoseAmaral436
Copy link

Hello team,

Snyk has reported a vulnerability with requests==2.31.0 that is fixed in requests>=2.32
image
image

Is it possible to upgrade this requirement?

Thanks in advance,
José Amaral

@mdmintz mdmintz added the external Outside SeleniumBase's scope. / Ask somewhere else. label Jun 6, 2024
@mdmintz
Copy link
Member

mdmintz commented Jun 6, 2024

False positive for several reasons:

  • No known exploits. / Can't be exploited.
  • requests 2.31.0 was the latest release for a full year (and couldn't be exploited).
  • The CVE describes a specific case: Using requests.Session(verify=False), which isn't used.
  • Local only with high privileges required (meaning it can't be exploited by an attacker who isn't an admin user already, who would already have the permissions to do absolutely anything with Python already):
Screenshot 2024-06-06 at 9 17 41 AM

All current versions of requests after 2.31.0 are currently in worse shape: (2.32.3 is the current latest)

Hoping for a newer version of requests soon that fixes that. Currently 2.31.0 is the best version to have.

Your vulnerability scanning tool (Snyk) has a major vulnerability in that it can recommend upgrading to a newer release of a Python library that is in worse shape than an earlier version. I recommend remediation. GitHub's own security tools are currently quite good for that: https://docs.github.com/en/code-security

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external Outside SeleniumBase's scope. / Ask somewhere else.
Projects
None yet
Development

No branches or pull requests

2 participants