CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Djangoproject

CVE-2022-34265
Djangoproject Django vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Django. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Djangoproject Django runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Djangoproject products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.