-
Notifications
You must be signed in to change notification settings - Fork 78
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 43 vulnerabilities #1135
base: master
Are you sure you want to change the base?
Conversation
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-AIOPIKA-5880689 - https://snyk.io/vuln/SNYK-PYTHON-FASTAPI-6228055 - https://snyk.io/vuln/SNYK-PYTHON-GEVENT-5906371 - https://snyk.io/vuln/SNYK-PYTHON-JOBLIB-3027033 - https://snyk.io/vuln/SNYK-PYTHON-NLTK-5926697 - https://snyk.io/vuln/SNYK-PYTHON-NLTK-5926698 - 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-PROMPTTOOLKIT-6141120 - https://snyk.io/vuln/SNYK-PYTHON-RASA-5665551 - https://snyk.io/vuln/SNYK-PYTHON-REDIS-5291195 - https://snyk.io/vuln/SNYK-PYTHON-SANIC-2404810 - https://snyk.io/vuln/SNYK-PYTHON-SANIC-5500163 - https://snyk.io/vuln/SNYK-PYTHON-SENTRYSDK-3367401 - https://snyk.io/vuln/SNYK-PYTHON-SENTRYSDK-5812122 - https://snyk.io/vuln/SNYK-PYTHON-STARLETTE-3319937 - https://snyk.io/vuln/SNYK-PYTHON-STARLETTE-5538332 - https://snyk.io/vuln/SNYK-PYTHON-TRANSFORMERS-5563628 - 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-UJSON-2359034 - https://snyk.io/vuln/SNYK-PYTHON-UJSON-2940619 - https://snyk.io/vuln/SNYK-PYTHON-UJSON-2942122 - https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-5926907 - https://snyk.io/vuln/SNYK-PYTHON-URLLIB3-6002459 - https://snyk.io/vuln/SNYK-PYTHON-VALIDATORS-6008990 - https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-3319935 - https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-3319936 - https://snyk.io/vuln/SNYK-PYTHON-WERKZEUG-6035177
WalkthroughWalkthroughThe recent update to the Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files selected for processing (1)
- requirements.txt (5 hunks)
Additional comments: 8
requirements.txt (8)
- 5-6: Ensure compatibility of
rasa==3.5.6
andfastapi~=0.109.1
with other project dependencies, especially given the PR's note on potential compatibility issues with upgraded packages.- 21-21: The upgrade to
validators==0.21.0
is noted. Verify this version's compatibility with the project's validation logic.- 25-25:
transformers==4.37.0
upgrade should be checked for compatibility with the project's NLP features, considering the significant version jump.- 44-44:
aiohttp==3.9.2
upgrade requires validation for async HTTP requests throughout the project to ensure no breaking changes.- 49-49:
numpy==1.22.2
upgrade should be tested for numerical operations' accuracy and performance within the project.- 52-52: Ensure
nltk==3.8.1
upgrade does not affect the project's text processing functionalities adversely.- 73-73:
urllib3==1.26.18
upgrade needs verification for HTTP communication stability and security.- 89-99: Pinned versions for packages not directly required, such as
aio-pika
,gevent
,joblib
,pillow
,prompt-toolkit
,redis
,sanic
,sentry-sdk
,starlette
,ujson
, andwerkzeug
, to avoid vulnerabilities, should be thoroughly tested for indirect impacts on the project's functionality and performance.
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
Vulnerabilities that will be fixed
By pinning:
SNYK-PYTHON-AIOHTTP-5798483
aiohttp:
3.8.0 -> 3.9.2
SNYK-PYTHON-AIOHTTP-6057353
aiohttp:
3.8.0 -> 3.9.2
SNYK-PYTHON-AIOHTTP-6091621
aiohttp:
3.8.0 -> 3.9.2
SNYK-PYTHON-AIOHTTP-6091622
aiohttp:
3.8.0 -> 3.9.2
SNYK-PYTHON-AIOHTTP-6091623
aiohttp:
3.8.0 -> 3.9.2
SNYK-PYTHON-AIOHTTP-6209406
aiohttp:
3.8.0 -> 3.9.2
SNYK-PYTHON-AIOHTTP-6209407
aiohttp:
3.8.0 -> 3.9.2
SNYK-PYTHON-AIOPIKA-5880689
aio-pika:
6.8.2 -> 9.1.5
SNYK-PYTHON-FASTAPI-6228055
fastapi:
0.78.0 -> 0.109.1
SNYK-PYTHON-GEVENT-5906371
gevent:
22.10.2 -> 23.9.0
SNYK-PYTHON-JOBLIB-3027033
joblib:
1.0.1 -> 1.1.1
SNYK-PYTHON-NLTK-5926697
nltk:
3.6.6 -> 3.8.1
SNYK-PYTHON-NLTK-5926698
nltk:
3.6.6 -> 3.8.1
SNYK-PYTHON-NUMPY-2321964
numpy:
1.21.3 -> 1.22.2
SNYK-PYTHON-NUMPY-2321966
numpy:
1.21.3 -> 1.22.2
SNYK-PYTHON-NUMPY-2321970
numpy:
1.21.3 -> 1.22.2
SNYK-PYTHON-PILLOW-5918878
pillow:
9.5.0 -> 10.2.0
SNYK-PYTHON-PILLOW-6043904
pillow:
9.5.0 -> 10.2.0
SNYK-PYTHON-PILLOW-6182918
pillow:
9.5.0 -> 10.2.0
SNYK-PYTHON-PILLOW-6219984
pillow:
9.5.0 -> 10.2.0
SNYK-PYTHON-PILLOW-6219986
pillow:
9.5.0 -> 10.2.0
SNYK-PYTHON-PROMPTTOOLKIT-6141120
prompt-toolkit:
2.0.10 -> 3.0.13
SNYK-PYTHON-RASA-5665551
rasa:
2.8.15 -> 3.5.6
SNYK-PYTHON-REDIS-5291195
redis:
3.5.3 -> 4.3.6
SNYK-PYTHON-SANIC-2404810
sanic:
20.9.1 -> 20.12.6
SNYK-PYTHON-SANIC-5500163
sanic:
20.9.1 -> 20.12.6
SNYK-PYTHON-SENTRYSDK-3367401
sentry-sdk:
1.2.0 -> 1.14.0
SNYK-PYTHON-SENTRYSDK-5812122
sentry-sdk:
1.2.0 -> 1.14.0
SNYK-PYTHON-STARLETTE-3319937
starlette:
0.19.1 -> 0.27.0
SNYK-PYTHON-STARLETTE-5538332
starlette:
0.19.1 -> 0.27.0
SNYK-PYTHON-TRANSFORMERS-5563628
transformers:
4.23.0 -> 4.37.0
SNYK-PYTHON-TRANSFORMERS-6134594
transformers:
4.23.0 -> 4.37.0
SNYK-PYTHON-TRANSFORMERS-6135747
transformers:
4.23.0 -> 4.37.0
SNYK-PYTHON-TRANSFORMERS-6220003
transformers:
4.23.0 -> 4.37.0
SNYK-PYTHON-UJSON-2359034
ujson:
4.3.0 -> 5.4.0
SNYK-PYTHON-UJSON-2940619
ujson:
4.3.0 -> 5.4.0
SNYK-PYTHON-UJSON-2942122
ujson:
4.3.0 -> 5.4.0
SNYK-PYTHON-URLLIB3-5926907
urllib3:
1.26.15 -> 1.26.18
SNYK-PYTHON-URLLIB3-6002459
urllib3:
1.26.15 -> 1.26.18
SNYK-PYTHON-VALIDATORS-6008990
validators:
0.20.0 -> 0.21.0
SNYK-PYTHON-WERKZEUG-3319935
werkzeug:
2.1.2 -> 2.3.8
SNYK-PYTHON-WERKZEUG-3319936
werkzeug:
2.1.2 -> 2.3.8
SNYK-PYTHON-WERKZEUG-6035177
werkzeug:
2.1.2 -> 2.3.8
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')
🦉 Regular Expression Denial of Service (ReDoS)
🦉 More lessons are available in Snyk Learn
Summary by CodeRabbit
requirements.txt
to enhance performance and compatibility:rasa
to3.5.6
fastapi
to0.109.1
transformers
to4.37.0
validators
to0.21.0
numpy
to1.22.2
nltk
to3.8.1
aiohttp
to3.9.2
urllib3
to1.26.18