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).
| Package (Ecosystem) | Introduced | Fixed | Limit |
|---|---|---|---|
| tortoise-orm(PyPI) | 0 | 0.15.23 | N/A |
| tortoise-orm(PyPI) | 0.16.0 | 0.16.6 | N/A |
CVSS Metrics