CVE-2022-34265

Name
CVE-2022-34265
Description
An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. The Trunc() and Extract() database functions are subject to SQL injection if untrusted data is used as a kind/lookup_name value. Applications that constrain the lookup name and kind choice to a known safe list are unaffected.
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
CONFIRM https://www.djangoproject.com/weblog/2022/jul/04/security-releases/
MISC https://docs.djangoproject.com/en/4.0/releases/security/
MISC https://groups.google.com/forum/#!forum/django-announce
Third Party Advisory https://security.netapp.com/advisory/ntap-20220818-0006/
Third Party Advisory https://www.debian.org/security/2022/dsa-5254
https://groups.google.com/forum/#%21forum/django-announce
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* django >= 4.0 < 4.0.6
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* django >= 3.2 < 3.2.14

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
py3-django edge-community 3.2.14-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
py3-django 3.22-community 3.2.14-r0 None fixed
py3-django 3.21-community 3.2.14-r0 None fixed
py3-django 3.20-community 3.2.14-r0 None fixed
py3-django 3.19-community 3.2.14-r0 None fixed
py3-django 3.18-community 3.2.14-r0 None fixed
py3-django 3.17-community 3.2.14-r0 None fixed