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

a NULL pointer dereference located in get_sort_by_table function within sql/sql_select.cc at line 28069.

    XMLWordPrintable

Details

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

    Description

      This vulnerability is located in MariaDB's get_sort_by_table function within sql/sql_select.cc at line 28069. The issue is caused by a NULL pointer dereference when accessing table->table->map without proper null-checks. During the execution of make_join_statistics, the code assumes valid table pointers, which may not hold under certain malformed queries, leading to a segmentation fault. An attacker can exploit this to trigger a denial-of-service (DoS).

      Attachments

        Activity

          People

            Unassigned Unassigned
            yx yx
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.