Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-36578

a null pointer dereference in the add_key_field function in sql/sql_select.cc at line 6559

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Cannot Reproduce
    • 11.4.0
    • N/A
    • Optimizer
    • None
    • ubuntu20.04,x86
    • Not for Release Notes

    Description

      This vulnerability in MariaDB originates from a null pointer dereference in the add_key_field function in sql/sql_select.cc at line 6559. The issue occurs when the possible_keys pointer is not validated before invoking stat[0].keys.merge(possible_keys), potentially leading to a segmentation fault when executing queries involving certain join conditions. This can be exploited to cause a denial-of-service (DoS) via crafted SQL inputs.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yx yx
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.