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 46 vulnerabilities #7

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

Conversation

alfellati
Copy link

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.txt
⚠️ Warning
qdrant-client 1.3.1 has requirement numpy<1.21; python_version < "3.8", but you have numpy 1.21.3.
platformdirs 4.0.0 has requirement typing-extensions>=4.7.1; python_version < "3.8", but you have typing-extensions 4.5.0.
onnxruntime 1.14.1 has requirement numpy>=1.21.6, but you have numpy 1.21.3.
fastapi 0.103.2 has requirement anyio<4.0.0,>=3.7.1, but you have anyio 3.7.0.
fastapi-jwt-auth 0.5.0 has requirement PyJWT<2.0.0,>=1.7.1, but you have PyJWT 2.4.0.
fake-useragent 1.1.3 has requirement importlib-metadata~=4.0; python_version < "3.8", but you have importlib-metadata 6.6.0.
chromadb 0.3.26 requires hnswlib, which is not installed.
chromadb 0.3.26 has requirement numpy>=1.21.6, but you have numpy 1.21.3.

Vulnerabilities that will be fixed

By pinning:
Severity Issue Upgrade Breaking Change Exploit Maturity
medium severity HTTP Request Smuggling
SNYK-PYTHON-AIOHTTP-5798483
aiohttp:
3.8.4 -> 3.9.2
No Proof of Concept
medium severity HTTP Request Smuggling
SNYK-PYTHON-AIOHTTP-6057353
aiohttp:
3.8.4 -> 3.9.2
No Proof of Concept
medium severity Improper Input Validation
SNYK-PYTHON-AIOHTTP-6091621
aiohttp:
3.8.4 -> 3.9.2
No Proof of Concept
medium severity Improper Input Validation
SNYK-PYTHON-AIOHTTP-6091622
aiohttp:
3.8.4 -> 3.9.2
No Proof of Concept
medium severity HTTP Request Smuggling
SNYK-PYTHON-AIOHTTP-6091623
aiohttp:
3.8.4 -> 3.9.2
No No Known Exploit
medium severity Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
SNYK-PYTHON-AIOHTTP-6209406
aiohttp:
3.8.4 -> 3.9.2
No Proof of Concept
medium severity HTTP Request Smuggling
SNYK-PYTHON-AIOHTTP-6209407
aiohttp:
3.8.4 -> 3.9.2
No Proof of Concept
critical severity Improper Following of a Certificate's Chain of Trust
SNYK-PYTHON-CERTIFI-5805047
certifi:
2023.5.7 -> 2023.7.22
No No Known Exploit
high severity Improper Certificate Validation
SNYK-PYTHON-CRYPTOGRAPHY-5777683
cryptography:
41.0.1 -> 42.0.4
No Proof of Concept
low severity Insufficient Verification of Data Authenticity
SNYK-PYTHON-CRYPTOGRAPHY-5813745
cryptography:
41.0.1 -> 42.0.4
No No Known Exploit
medium severity Denial of Service (DoS)
SNYK-PYTHON-CRYPTOGRAPHY-5813746
cryptography:
41.0.1 -> 42.0.4
No No Known Exploit
low severity Denial of Service (DoS)
SNYK-PYTHON-CRYPTOGRAPHY-5813750
cryptography:
41.0.1 -> 42.0.4
No No Known Exploit
medium severity Denial of Service (DoS)
SNYK-PYTHON-CRYPTOGRAPHY-5914629
cryptography:
41.0.1 -> 42.0.4
No No Known Exploit
medium severity Missing Cryptographic Step
SNYK-PYTHON-CRYPTOGRAPHY-6036192
cryptography:
41.0.1 -> 42.0.4
No No Known Exploit
medium severity Denial of Service (DoS)
SNYK-PYTHON-CRYPTOGRAPHY-6050294
cryptography:
41.0.1 -> 42.0.4
No No Known Exploit
medium severity NULL Pointer Dereference
SNYK-PYTHON-CRYPTOGRAPHY-6092044
cryptography:
41.0.1 -> 42.0.4
No Proof of Concept
high severity Observable Timing Discrepancy
SNYK-PYTHON-CRYPTOGRAPHY-6126975
cryptography:
41.0.1 -> 42.0.4
No Proof of Concept
medium severity Use of a Broken or Risky Cryptographic Algorithm
SNYK-PYTHON-CRYPTOGRAPHY-6149518
cryptography:
41.0.1 -> 42.0.4
No No Known Exploit
medium severity Resource Exhaustion
SNYK-PYTHON-CRYPTOGRAPHY-6157248
cryptography:
41.0.1 -> 42.0.4
No No Known Exploit
medium severity NULL Pointer Dereference
SNYK-PYTHON-CRYPTOGRAPHY-6210214
cryptography:
41.0.1 -> 42.0.4
No No Known Exploit
medium severity NULL Pointer Dereference
SNYK-PYTHON-CRYPTOGRAPHY-6261585
cryptography:
41.0.1 -> 42.0.4
No No Known Exploit
medium severity Incorrect Behavior Order
SNYK-PYTHON-DNSPYTHON-6241713
dnspython:
2.3.0 -> 2.6.1
No Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-FASTAPI-6228055
fastapi:
0.95.2 -> 0.109.1
No Proof of Concept
medium severity Cross-site Scripting (XSS)
SNYK-PYTHON-JINJA2-6150717
jinja2:
3.1.2 -> 3.1.3
No No Known Exploit
high severity Arbitrary Code Execution
SNYK-PYTHON-LLAMAINDEX-5843542
llama-index:
0.6.35 -> 0.9.5
No Proof of Concept
low severity NULL Pointer Dereference
SNYK-PYTHON-NUMPY-2321964
numpy:
1.21.3 -> 1.22.2
No Proof of Concept
low severity Buffer Overflow
SNYK-PYTHON-NUMPY-2321966
numpy:
1.21.3 -> 1.22.2
No No Known Exploit
low severity Denial of Service (DoS)
SNYK-PYTHON-NUMPY-2321970
numpy:
1.21.3 -> 1.22.2
No Proof of Concept
high severity Relative Path Traversal
SNYK-PYTHON-ORJSON-6276643
orjson:
3.8.14 -> 3.9.15
No No Known Exploit
critical severity Heap-based Buffer Overflow
SNYK-PYTHON-PILLOW-5918878
pillow:
9.5.0 -> 10.2.0
No Mature
high severity Uncontrolled Resource Consumption ('Resource Exhaustion')
SNYK-PYTHON-PILLOW-6043904
pillow:
9.5.0 -> 10.2.0
No No Known Exploit
high severity Eval Injection
SNYK-PYTHON-PILLOW-6182918
pillow:
9.5.0 -> 10.2.0
No Proof of Concept
high severity Denial of Service (DoS)
SNYK-PYTHON-PILLOW-6219984
pillow:
9.5.0 -> 10.2.0
No No Known Exploit
high severity Denial of Service (DoS)
SNYK-PYTHON-PILLOW-6219986
pillow:
9.5.0 -> 10.2.0
No No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-PYDANTIC-5907722
pydantic:
1.10.8 -> 1.10.13
No Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-PYDANTIC-5926694
pydantic:
1.10.8 -> 1.10.13
No Proof of Concept
high severity Use of a Broken or Risky Cryptographic Algorithm
SNYK-PYTHON-PYJWT-2840625
pyjwt:
1.7.1 -> 2.4.0
No Proof of Concept
medium severity Loop with Unreachable Exit Condition ('Infinite Loop')
SNYK-PYTHON-PYPDF-6041514
pypdf:
3.11.0 -> 3.17.0
No No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-PYTHONMULTIPART-6227505
python-multipart:
0.0.6 -> 0.0.7
No Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-PYTHON-SETUPTOOLS-3180412
setuptools:
40.5.0 -> 65.5.1
No No Known Exploit
high severity XML External Entity (XXE) Injection
SNYK-PYTHON-SYMPY-6084333
sympy:
1.10.1 -> 1.12
No No Known Exploit
high severity Deserialization of Untrusted Data
SNYK-PYTHON-TRANSFORMERS-6134594
transformers:
4.30.2 -> 4.37.0
No Proof of Concept
critical severity Deserialization of Untrusted Data
SNYK-PYTHON-TRANSFORMERS-6135747
transformers:
4.30.2 -> 4.37.0
No Proof of Concept
medium severity Command Injection
SNYK-PYTHON-TRANSFORMERS-6220003
transformers:
4.30.2 -> 4.37.0
No No Known Exploit
medium severity Information Exposure Through Sent Data
SNYK-PYTHON-URLLIB3-5926907
urllib3:
1.26.16 -> 1.26.18
No No Known Exploit
medium severity Information Exposure Through Sent Data
SNYK-PYTHON-URLLIB3-6002459
urllib3:
1.26.16 -> 1.26.18
No No Known Exploit

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')
🦉 Denial of Service (DoS)
🦉 More lessons are available in Snyk Learn

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-5798483
- https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6057353
- https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6091621
- https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6091622
- https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6091623
- https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6209406
- https://snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6209407
- https://snyk.io/vuln/SNYK-PYTHON-CERTIFI-5805047
- 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-CRYPTOGRAPHY-6261585
- https://snyk.io/vuln/SNYK-PYTHON-DNSPYTHON-6241713
- https://snyk.io/vuln/SNYK-PYTHON-FASTAPI-6228055
- https://snyk.io/vuln/SNYK-PYTHON-JINJA2-6150717
- https://snyk.io/vuln/SNYK-PYTHON-LLAMAINDEX-5843542
- 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-ORJSON-6276643
- 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-PYDANTIC-5907722
- https://snyk.io/vuln/SNYK-PYTHON-PYDANTIC-5926694
- https://snyk.io/vuln/SNYK-PYTHON-PYJWT-2840625
- https://snyk.io/vuln/SNYK-PYTHON-PYPDF-6041514
- https://snyk.io/vuln/SNYK-PYTHON-PYTHONMULTIPART-6227505
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-3180412
- https://snyk.io/vuln/SNYK-PYTHON-SYMPY-6084333
- https://snyk.io/vuln/SNYK-PYTHON-TRANSFORMERS-6134594
- https://snyk.io/vuln/SNYK-PYTHON-TRANSFORMERS-6135747
- https://snyk.io/vuln/SNYK-PYTHON-TRANSFORMERS-6220003
- https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-5926907
- https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-6002459
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants