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

[Snyk] Fix for 53 vulnerabilities #1243

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

Conversation

varunp2k
Copy link
Member

@varunp2k varunp2k commented Feb 5, 2024

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.

Changes included in this PR

  • Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
    • requirements/prod.txt
⚠️ Warning
statsmodels 0.13.2 requires scipy, which is not installed.
snowflake-sqlalchemy 1.4.1 has requirement snowflake-connector-python<3.0.0, but you have snowflake-connector-python 3.0.2.
snowflake-connector-python 3.0.2 has requirement cryptography<41.0.0,>=3.1.0, but you have cryptography 42.0.2.
snowflake-connector-python 3.0.2 has requirement charset-normalizer<3,>=2, but you have charset-normalizer 3.3.2.
matplotlib 3.4.2 requires pillow, which is not installed.
aiobotocore 2.4.2 has requirement botocore<1.27.60,>=1.27.59, but you have botocore 1.33.13.

Vulnerabilities that will be fixed

By pinning:
Severity Priority Score (*) Issue Upgrade Breaking Change Exploit Maturity
medium severity 591/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.4
Improper Input Validation
SNYK-PYTHON-AIOHTTP-6091621
aiohttp:
3.8.6 -> 3.9.2
No Proof of Concept
medium severity 591/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.4
Improper Input Validation
SNYK-PYTHON-AIOHTTP-6091622
aiohttp:
3.8.6 -> 3.9.2
No Proof of Concept
medium severity 581/1000
Why? Recently disclosed, Has a fix available, CVSS 5.9
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
SNYK-PYTHON-AIOHTTP-6209406
aiohttp:
3.8.6 -> 3.9.2
No No Known Exploit
medium severity 718/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 6.5
HTTP Request Smuggling
SNYK-PYTHON-AIOHTTP-6209407
aiohttp:
3.8.6 -> 3.9.2
No Proof of Concept
high severity 580/1000
Why? Has a fix available, CVSS 7.1
Buffer Overflow
SNYK-PYTHON-CRYPTOGRAPHY-3112177
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
high severity 701/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7.6
Buffer Overflow
SNYK-PYTHON-CRYPTOGRAPHY-3112180
cryptography:
36.0.2 -> 42.0.2
No Proof of Concept
medium severity 509/1000
Why? Has a fix available, CVSS 5.9
Denial of Service (DoS)
SNYK-PYTHON-CRYPTOGRAPHY-3172287
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
medium severity 454/1000
Why? Has a fix available, CVSS 4.8
Expected Behavior Violation
SNYK-PYTHON-CRYPTOGRAPHY-3314966
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
medium severity 616/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.9
Use After Free
SNYK-PYTHON-CRYPTOGRAPHY-3315324
cryptography:
36.0.2 -> 42.0.2
No Proof of Concept
high severity 584/1000
Why? Has a fix available, CVSS 7.4
Access of Resource Using Incompatible Type ('Type Confusion')
SNYK-PYTHON-CRYPTOGRAPHY-3315328
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
medium severity 479/1000
Why? Has a fix available, CVSS 5.3
Timing Attack
SNYK-PYTHON-CRYPTOGRAPHY-3315331
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
medium severity 509/1000
Why? Has a fix available, CVSS 5.9
Denial of Service (DoS)
SNYK-PYTHON-CRYPTOGRAPHY-3315452
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
medium severity 509/1000
Why? Has a fix available, CVSS 5.9
Denial of Service (DoS)
SNYK-PYTHON-CRYPTOGRAPHY-3315972
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
medium severity 509/1000
Why? Has a fix available, CVSS 5.9
Denial of Service (DoS)
SNYK-PYTHON-CRYPTOGRAPHY-3315975
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
medium severity 509/1000
Why? Has a fix available, CVSS 5.9
Denial of Service (DoS)
SNYK-PYTHON-CRYPTOGRAPHY-3316038
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Denial of Service (DoS)
SNYK-PYTHON-CRYPTOGRAPHY-3316211
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
medium severity 509/1000
Why? Has a fix available, CVSS 5.9
Denial of Service (DoS)
SNYK-PYTHON-CRYPTOGRAPHY-5663682
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
high severity 691/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 7.4
Improper Certificate Validation
SNYK-PYTHON-CRYPTOGRAPHY-5777683
cryptography:
36.0.2 -> 42.0.2
No Proof of Concept
low severity 399/1000
Why? Has a fix available, CVSS 3.7
Insufficient Verification of Data Authenticity
SNYK-PYTHON-CRYPTOGRAPHY-5813745
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
medium severity 479/1000
Why? Has a fix available, CVSS 5.3
Denial of Service (DoS)
SNYK-PYTHON-CRYPTOGRAPHY-5813746
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
low severity 399/1000
Why? Has a fix available, CVSS 3.7
Denial of Service (DoS)
SNYK-PYTHON-CRYPTOGRAPHY-5813750
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
medium severity 539/1000
Why? Has a fix available, CVSS 6.5
Denial of Service (DoS)
SNYK-PYTHON-CRYPTOGRAPHY-5914629
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
medium severity 479/1000
Why? Has a fix available, CVSS 5.3
Missing Cryptographic Step
SNYK-PYTHON-CRYPTOGRAPHY-6036192
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
medium severity 479/1000
Why? Has a fix available, CVSS 5.3
Denial of Service (DoS)
SNYK-PYTHON-CRYPTOGRAPHY-6050294
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
medium severity 616/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.9
NULL Pointer Dereference
SNYK-PYTHON-CRYPTOGRAPHY-6092044
cryptography:
36.0.2 -> 42.0.2
No Proof of Concept
medium severity 616/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.9
Information Exposure
SNYK-PYTHON-CRYPTOGRAPHY-6126975
cryptography:
36.0.2 -> 42.0.2
No Proof of Concept
medium severity 509/1000
Why? Has a fix available, CVSS 5.9
Use of a Broken or Risky Cryptographic Algorithm
SNYK-PYTHON-CRYPTOGRAPHY-6149518
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
medium severity 581/1000
Why? Recently disclosed, Has a fix available, CVSS 5.9
Uncontrolled Resource Consumption ('Resource Exhaustion')
SNYK-PYTHON-CRYPTOGRAPHY-6157248
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
medium severity 561/1000
Why? Recently disclosed, Has a fix available, CVSS 5.5
NULL Pointer Dereference
SNYK-PYTHON-CRYPTOGRAPHY-6210214
cryptography:
36.0.2 -> 42.0.2
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Information Exposure
SNYK-PYTHON-FLASK-5490129
flask:
2.2.2 -> 2.2.5
No No Known Exploit
low severity 506/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 3.7
NULL Pointer Dereference
SNYK-PYTHON-NUMPY-2321964
numpy:
1.21.3 -> 1.22.2
No Proof of Concept
low severity 399/1000
Why? Has a fix available, CVSS 3.7
Buffer Overflow
SNYK-PYTHON-NUMPY-2321966
numpy:
1.21.3 -> 1.22.2
No No Known Exploit
low severity 506/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 3.7
Denial of Service (DoS)
SNYK-PYTHON-NUMPY-2321970
numpy:
1.21.3 -> 1.22.2
No Proof of Concept
critical severity 909/1000
Why? Mature exploit, Has a fix available, CVSS 9.6
Heap-based Buffer Overflow
SNYK-PYTHON-PILLOW-5918878
pillow:
9.5.0 -> 10.2.0
No Mature
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Uncontrolled Resource Consumption ('Resource Exhaustion')
SNYK-PYTHON-PILLOW-6043904
pillow:
9.5.0 -> 10.2.0
No No Known Exploit
high severity 798/1000
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 8.1
Eval Injection
SNYK-PYTHON-PILLOW-6182918
pillow:
9.5.0 -> 10.2.0
No Proof of Concept
high severity 661/1000
Why? Recently disclosed, Has a fix available, CVSS 7.5
Denial of Service (DoS)
SNYK-PYTHON-PILLOW-6219984
pillow:
9.5.0 -> 10.2.0
No No Known Exploit
high severity 661/1000
Why? Recently disclosed, Has a fix available, CVSS 7.5
Denial of Service (DoS)
SNYK-PYTHON-PILLOW-6219986
pillow:
9.5.0 -> 10.2.0
No No Known Exploit
critical severity 704/1000
Why? Has a fix available, CVSS 9.8
Deserialization of Untrusted Data
SNYK-PYTHON-PYARROW-6052811
pyarrow:
8.0.0 -> 14.0.1
No No Known Exploit
medium severity 509/1000
Why? Has a fix available, CVSS 5.9
Observable Timing Discrepancy
SNYK-PYTHON-PYCRYPTODOMEX-6145008
pycryptodomex:
3.14.1 -> 3.19.1
No No Known Exploit
medium severity 586/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-PYDANTIC-5907722
pydantic:
1.10.2 -> 1.10.13
No Proof of Concept
medium severity 586/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-PYDANTIC-5926694
pydantic:
1.10.2 -> 1.10.13
No Proof of Concept
medium severity 479/1000
Why? Has a fix available, CVSS 5.3
Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-PYGMENTS-5750273
pygments:
2.13.0 -> 2.15.0
No No Known Exploit
low severity 506/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 3.7
Exposure of Data Element to Wrong Session
SNYK-PYTHON-REDIS-5291195
redis:
4.3.4 -> 4.3.6
No Proof of Concept
medium severity 519/1000
Why? Has a fix available, CVSS 6.1
Information Exposure
SNYK-PYTHON-REQUESTS-5595532
requests:
2.28.1 -> 2.31.0
No No Known Exploit
medium severity 509/1000
Why? Has a fix available, CVSS 5.9
Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-SETUPTOOLS-3180412
setuptools:
39.0.1 -> 65.5.1
No No Known Exploit
medium severity 616/1000
Why? Proof of Concept exploit, Has a fix available, CVSS 5.9
Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-SNOWFLAKECONNECTORPYTHON-3111888
snowflake-connector-python:
2.7.12 -> 3.0.2
No Proof of Concept
high severity 569/1000
Why? Has a fix available, CVSS 7.1
Arbitrary Command Injection
SNYK-PYTHON-SNOWFLAKECONNECTORPYTHON-5673226
snowflake-connector-python:
2.7.12 -> 3.0.2
No No Known Exploit
medium severity 509/1000
Why? Has a fix available, CVSS 5.9
Information Exposure Through Sent Data
SNYK-PYTHON-URLLIB3-5926907
urllib3:
1.26.12 -> 1.26.18
No No Known Exploit
medium severity 424/1000
Why? Has a fix available, CVSS 4.2
Information Exposure Through Sent Data
SNYK-PYTHON-URLLIB3-6002459
urllib3:
1.26.12 -> 1.26.18
No No Known Exploit
low severity 344/1000
Why? Has a fix available, CVSS 2.6
Access Restriction Bypass
SNYK-PYTHON-WERKZEUG-3319935
werkzeug:
2.2.2 -> 2.3.8
No No Known Exploit
high severity 589/1000
Why? Has a fix available, CVSS 7.5
Denial of Service (DoS)
SNYK-PYTHON-WERKZEUG-3319936
werkzeug:
2.2.2 -> 2.3.8
No No Known Exploit
medium severity 539/1000
Why? Has a fix available, CVSS 6.5
Inefficient Algorithmic Complexity
SNYK-PYTHON-WERKZEUG-6035177
werkzeug:
2.2.2 -> 2.3.8
No No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

Check the changes in this PR to ensure they won't cause issues with your project.


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report

🛠 Adjust project settings

📚 Read more about Snyk's upgrade and patch logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Improper Input Validation
🦉 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
🦉 Use After Free
🦉 More lessons are available in Snyk Learn

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6091621
- https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6091622
- https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6209406
- https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6209407
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3112177
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3112180
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3172287
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3314966
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3315324
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3315328
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3315331
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3315452
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3315972
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3315975
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3316038
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-3316211
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-5663682
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-5777683
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-5813745
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-5813746
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-5813750
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-5914629
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-6036192
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-6050294
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-6092044
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-6126975
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-6149518
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-6157248
- https://snyk.io/vuln/SNYK-PYTHON-CRYPTOGRAPHY-6210214
- https://snyk.io/vuln/SNYK-PYTHON-FLASK-5490129
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321964
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321966
- https://snyk.io/vuln/SNYK-PYTHON-NUMPY-2321970
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-5918878
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-6043904
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-6182918
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-6219984
- https://snyk.io/vuln/SNYK-PYTHON-PILLOW-6219986
- https://snyk.io/vuln/SNYK-PYTHON-PYARROW-6052811
- https://snyk.io/vuln/SNYK-PYTHON-PYCRYPTODOMEX-6145008
- https://snyk.io/vuln/SNYK-PYTHON-PYDANTIC-5907722
- https://snyk.io/vuln/SNYK-PYTHON-PYDANTIC-5926694
- https://snyk.io/vuln/SNYK-PYTHON-PYGMENTS-5750273
- https://snyk.io/vuln/SNYK-PYTHON-REDIS-5291195
- https://snyk.io/vuln/SNYK-PYTHON-REQUESTS-5595532
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-3180412
- https://snyk.io/vuln/SNYK-PYTHON-SNOWFLAKECONNECTORPYTHON-3111888
- https://snyk.io/vuln/SNYK-PYTHON-SNOWFLAKECONNECTORPYTHON-5673226
- https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-5926907
- https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-6002459
- https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-3319935
- https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-3319936
- https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-6035177
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