tortoise-orm
Affected
- introduced
0, fixed0.15.23(ecosystem)
Fixed versions
0.15.23
Fix
- Fixed version
0.15.23pip install --upgrade tortoise-orm==0.15.23
Advisory
Also known as: CVE-2020-11010, PYSEC-2020-144
SQL injection in Tortoise ORM
Impact
Various forms of SQL injection has been found, for MySQL and when filtering or doing mass-updates on char/text fields.
SQLite & PostgreSQL was only affected when filtering with contains, starts_with or ends_with filters (and their case-insensitive counterparts)
Patches
Please upgrade to 0.15.23+ or 0.16.6+
For more information
If you have any questions or comments about this advisory:
Medium Basis: The source's own band: MODERATE
0, fixed 0.15.23 (ecosystem)0.15.23
0.15.23pip install --upgrade tortoise-orm==0.15.230.16.0, fixed 0.16.6 (ecosystem)0.16.6
0.16.6pip install --upgrade tortoise-orm==0.16.6Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0