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

a NULL pointer dereference located in update_depend_map_for_order function in sql/sql_select.cc at line 16641

    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 update_depend_map_for_order function in sql/sql_select.cc at line 16641. It involves a NULL pointer dereference when accessing (*tab)->ref.depend_map without verifying that tab is non-null. This can be triggered during the optimization phase of a SELECT query with specific ORDER BY clauses, potentially allowing an attacker to cause a segmentation fault and crash the server (DoS).

      Attachments

        Issue Links

          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.