-
Notifications
You must be signed in to change notification settings - Fork 40
Description
Describe the Task
This task involves a comprehensive update and management of dependencies across various parts of the TFRS (Team Zelda) application. The focus is on updating Python libraries in the backend and addressing security concerns in Go dependencies as flagged by dependabot and Snyk. The updates include critical libraries like urllib3
, golang.org/x/net
, and cryptography
in Python, and address vulnerabilities in other dependencies such as certifi
, django
, and pyjwt
.
Purpose
The main goal is to enhance the application's security, efficiency, and functionality. Updating dependencies is crucial for maintaining system health, addressing vulnerabilities, improving performance, and incorporating new features or fixes.
Acceptance Criteria
- Update
urllib3
from version1.26.12
to1.26.18
in/backend Dependencies python
. - Address any breaking changes or issues resulting from this update.
- Update
golang.org/x/net
from version0.2.0
to0.17.0
in/security-scan/scan-coordinator Dependencies go
. - Resolve any conflicts or issues after the Go dependency update.
- Update
cryptography
from version39.0.1
to41.0.4
in/backend Dependencies python
. - Ensure application stability and functionality post-update.
- Review and merge changes suggested in PR [Snyk] Fix for 8 vulnerabilities #2500 by kuanfandevops.
- Validate that vulnerabilities are addressed after updating the dependencies, including those in
certifi
,django
, andpyjwt
. - Ensure no issues arise with existing project functionalities due to the updates.
Additional Context
- Dependency update tickets
#2678
and#2633
require review following dependabot alerts. - PR [Snyk] Fix for 8 vulnerabilities #2500 addresses vulnerabilities in pip dependencies as identified by Snyk.
- Some vulnerabilities might exist in more than one direct dependency, so not all may be fully addressed.
Affected Files and Vulnerabilities
backend/requirements.txt
: Updatecertifi
to2023.7.22
,cryptography
to41.0.3
,django
to3.2.20
, andpyjwt
to2.4.0
.- Address various severity levels of vulnerabilities ranging from critical to low, including issues like DoS, improper certificate validation, and ReDoS.
Note
Regular dependency updates are crucial for system security and performance, and this task should be approached with thorough testing and validation to ensure overall application integrity.