CWE
89 476
Advisory Published
Updated

REDHAT-BUG-1788846: SQL Injection

First published: Wed Jan 08 2020(Updated: )

flattenSubquery in select.c in SQLite 3.30.1 mishandles certain uses of SELECT DISTINCT involving a LEFT JOIN in which the right-hand side is a view. This can cause a NULL pointer dereference (or incorrect results). Upstream fix: <a href="https://github.com/sqlite/sqlite/commit/396afe6f6aa90a31303c183e11b2b2d4b7956b35">https://github.com/sqlite/sqlite/commit/396afe6f6aa90a31303c183e11b2b2d4b7956b35</a>

Affected SoftwareAffected VersionHow to fix
SQLite JDBC

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-1788846?

    The severity of REDHAT-BUG-1788846 is classified as a potential vulnerability due to the risk of NULL pointer dereference or incorrect results.

  • How do I fix REDHAT-BUG-1788846?

    To fix REDHAT-BUG-1788846, users should upgrade to the latest version of SQLite that contains the upstream fix.

  • What versions of SQLite are affected by REDHAT-BUG-1788846?

    REDHAT-BUG-1788846 affects SQLite 3.30.1 specifically, particularly in scenarios involving SELECT DISTINCT and LEFT JOIN with views.

  • What type of issue is described in REDHAT-BUG-1788846?

    REDHAT-BUG-1788846 describes a mishandling issue in flattenSubquery in select.c that can lead to a NULL pointer dereference.

  • Is there an upstream fix for REDHAT-BUG-1788846?

    Yes, there is an upstream fix for REDHAT-BUG-1788846 that has been implemented in later versions of SQLite.

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