BIT-django-2022-34265

See a problem?
Import Source
https://github.com/bitnami/vulndb/tree/main/data/django/BIT-django-2022-34265.json
JSON Data
https://api.osv.dev/v1/vulns/BIT-django-2022-34265
Aliases
Published
2024-03-06T10:52:46.204Z
Modified
2024-03-06T11:25:28.861Z
Summary
[none]
Details

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.

Database specific
{
    "cpes": [
        "cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*"
    ],
    "severity": "Critical"
}
References

Affected packages

Bitnami / django

Package

Name
django
Purl
pkg:bitnami/django

Severity

  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator

Affected ranges

Type
SEMVER
Events
Introduced
3.2.0
Fixed
3.2.14
Introduced
4.0.0
Fixed
4.0.6