CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Djangoproject

CVE-2024-42005
Djangoproject Django vulnerability

An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. QuerySet.values() and values_list() methods on models with a JSONField are subject to SQL injection in column aliases via a crafted JSON object key as a passed *arg.

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.