PyPA Advisory Database
PYSEC-2020-144
Details
In Tortoise ORM before versions 0.15.23 and 0.16.6, various forms of SQL injection have been found for MySQL and when filtering or doing mass-updates on char/text fields. SQLite & PostgreSQL are only affected when filtering with contains, starts_with, or ends_with filters (and their case-insensitive counterparts).
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | tortoise-orm | All versions before 0.15.23 (fixed in 0.15.23) From 0.16.0 before 0.16.6 (fixed in 0.16.6) |