CWE
89
Advisory Published
Updated

REDHAT-BUG-2302436: SQL Injection

First published: Fri Aug 02 2024(Updated: )

Description: QuerySet.values() and QuerySet.values_list() methods on models with a JSONField were subject to SQL injection in column aliases, via a crafted JSON object key as a passed *arg. Affected versions ================= * Django main development branch * Django 5.1 (currently at release candidate status) * Django 5.0 * Django 4.2

Affected SoftwareAffected VersionHow to fix
Django>4.2<=5.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-2302436?

    The severity of REDHAT-BUG-2302436 is considered high due to its potential for SQL injection vulnerabilities.

  • How do I fix REDHAT-BUG-2302436?

    To fix REDHAT-BUG-2302436, update your Django version to a patched release above 5.1.

  • Which versions of Django are affected by REDHAT-BUG-2302436?

    Django main development branch and all versions from 4.2 up to 5.1 are affected by REDHAT-BUG-2302436.

  • What are the symptoms of REDHAT-BUG-2302436?

    The symptoms of REDHAT-BUG-2302436 include possible unexpected SQL execution or data leaks when using QuerySet.values() and values_list() with a JSONField.

  • Is REDHAT-BUG-2302436 a common vulnerability?

    Yes, REDHAT-BUG-2302436 represents a common vulnerability that arises from the misuse of dynamic SQL in web applications.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203