Skip to the content
AI and Cybersecurity Learning and Practice Center Test automation Open the Learning Center

Known CVEpypi/django

CVE-2024-42005: Django SQL injection through QuerySet.values() on JSONField

Critical

QuerySet.values() and values_list() on models with a JSONField allow SQL injection in column aliases through a crafted JSON object key. Fixed in 4.2.15 and 5.0.8.

Affected and fixed versions

Affected: >= 4.2.0, < 4.2.15; >= 5.0.0, < 5.0.8. Fixed in 4.2.15, 5.0.8.

Sources

See every known CVE, and the ones in the news, in the Learning Center