Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade MariaDB/server
to version 10.4.33, 10.5.24, 10.6.17, 10.11.7, 11.0.5, 11.1.4 or higher.
Affected versions of this package are vulnerable to Incorrect Behavior Order due to calling fix_fields_if_needed
under mysql_derived_prepare
when derived is not yet prepared. An attacker can cause the application to crash by exploiting the sequence of calls that lead to find_field_in_table
crashing.
CREATE TABLE t1 ( i int) WITH SYSTEM VERSIONING ;
SELECT * FROM (SELECT 1 FROM t1) FOR system_time AS OF now ca4;