Vulnerability · Published Apr 20, 2020 · Assigned by GitHub_M
CVE-2020-11010SQL injection in Tortoise ORM
Medium 6.3
In plain English
A medium-severity SQL injection in tortoise-orm from tortoise. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | tortoise-orm | 0.15.23 | GHSA-9j2c-x8qm-qmjq |
| PyPI | tortoise-orm | 0.16.6 | GHSA-9j2c-x8qm-qmjq |
| PyPI | tortoise-orm | 0.15.23, 0.16.6 | PYSEC-2020-144 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| tortoise | tortoise-orm | < 0.15.23>= 0.16.0, < 0.16.6 |
Weakness: CWE-89 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L