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.

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)1.1%top 35.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPItortoise-orm0.15.23GHSA-9j2c-x8qm-qmjq
PyPItortoise-orm0.16.6GHSA-9j2c-x8qm-qmjq
PyPItortoise-orm0.15.23, 0.16.6PYSEC-2020-144

Affected products (as reported)

VendorProductVersions
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

References