Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-rqw2-ghq9-44m7

Опубликовано: 02 дек. 2025
Источник: github
Github: Прошло ревью
CVSS3: 4.3

Описание

Django is vulnerable to SQL injection in column aliases

An issue was discovered in 5.2 before 5.2.9, 5.1 before 5.1.15, and 4.2 before 4.2.27. FilteredRelation is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed to QuerySet.annotate() or QuerySet.alias() on PostgreSQL. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Stackered for reporting this issue.

Пакеты

Наименование

Django

pip
Затронутые версииВерсия исправления

>= 5.2a1, < 5.2.9

5.2.9

Наименование

Django

pip
Затронутые версииВерсия исправления

>= 5.1a1, < 5.1.15

5.1.15

Наименование

Django

pip
Затронутые версииВерсия исправления

>= 4.2a1, < 4.2.27

4.2.27

EPSS

Процентиль: 57%
0.00924
Низкий

4.3 Medium

CVSS3

Дефекты

CWE-89

Связанные уязвимости

CVSS3: 4.3
ubuntu
8 месяцев назад

An issue was discovered in 5.2 before 5.2.9, 5.1 before 5.1.15, and 4.2 before 4.2.27. `FilteredRelation` is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the `**kwargs` passed to `QuerySet.annotate()` or `QuerySet.alias()` on PostgreSQL. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Stackered for reporting this issue.

CVSS3: 4.3
redhat
8 месяцев назад

An issue was discovered in 5.2 before 5.2.9, 5.1 before 5.1.15, and 4.2 before 4.2.27. `FilteredRelation` is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the `**kwargs` passed to `QuerySet.annotate()` or `QuerySet.alias()` on PostgreSQL. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Stackered for reporting this issue.

CVSS3: 4.3
nvd
8 месяцев назад

An issue was discovered in 5.2 before 5.2.9, 5.1 before 5.1.15, and 4.2 before 4.2.27. `FilteredRelation` is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the `**kwargs` passed to `QuerySet.annotate()` or `QuerySet.alias()` on PostgreSQL. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Stackered for reporting this issue.

CVSS3: 4.3
debian
8 месяцев назад

An issue was discovered in 5.2 before 5.2.9, 5.1 before 5.1.15, and 4. ...

CVSS3: 4.3
fstec
8 месяцев назад

Уязвимость программной платформы для веб-приложений Django, связанная с непринятием мер по защите структуры запроса sql, позволяющая нарушителю выполнить произвольный код

EPSS

Процентиль: 57%
0.00924
Низкий

4.3 Medium

CVSS3

Дефекты

CWE-89