Advisory

PYSEC-2020-144

Also known as: CVE-2020-11010, GHSA-9j2c-x8qm-qmjq

Summary

The record has no summary.

Details

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).

Severity

Not rated by the source.

Dates

Published
2020-04-20 22:15 UTC
Modified
2023-11-08 04:02 UTC

Affected packages and fixes

tortoise-orm

PyPI · All systems

Affected

  • introduced 0, fixed 0.15.23, introduced 0.16.0, fixed 0.16.6 (ecosystem)

Fixed versions

0.15.23, 0.16.6

Fix

  • Fixed version 0.15.23
    pip install --upgrade tortoise-orm==0.15.23
  • Fixed version 0.16.6
    pip install --upgrade tortoise-orm==0.16.6

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences