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).
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:tortoise_orm_project:tortoise_orm:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.15.23"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:tortoise_orm_project:tortoise_orm:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.16.0"
},
{
"fixed": "0.16.6"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "91c364053e0ddf77edc5442914c6f049512678b3"
}
],
"source": "REFERENCES_COMMIT"
}
]
}