Skip to content
OpenAdvisories
Medium · 6.3 CVE-2020-11010 EUVD-2020-0223GHSA-9j2c-x8qm-qmjqPYSEC-2020-144

SQL injection in Tortoise ORM

Published Apr 20, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
tortoise tortoise-orm < 0.15.23, >= 0.16.0, < 0.16.6 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI tortoise-orm < 0.15.23 0.15.23 GHSA-9j2c-x8qm-qmjq
PyPI tortoise-orm >= 0.16.0, < 0.16.6 0.16.6 GHSA-9j2c-x8qm-qmjq
PyPI tortoise-orm < 0.15.23 · >= 0.16.0, < 0.16.6 0.15.23, 0.16.6 PYSEC-2020-144

References