SQL Injection Affecting tortoise-orm package, versions [,0.15.23)[0.16.0,0.16.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.25% (48th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-TORTOISEORM-567100
  • published20 Apr 2020
  • disclosed20 Apr 2020
  • creditUnknown

Introduced: 20 Apr 2020

CVE-2020-11010  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade tortoise-orm to version 0.15.23, 0.16.6 or higher.

Overview

tortoise-orm is a familiar asyncio ORM for python, built with relations in mind.

Affected versions of this package are vulnerable to SQL Injection 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).

References

CVSS Base Scores

version 3.1