idx int64 | project string | commit_id string | project_url string | commit_url string | commit_message string | target int64 | func string | func_hash float64 | file_name string | file_hash float64 | cwe list | cve string | cve_desc string | nvd_url string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
511,930 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | static bool find_inner_outer_equalities(Item **conds,
Dynamic_array<EQ_FIELD_OUTER> &result)
{
bool found= FALSE;
EQ_FIELD_OUTER element;
if (is_cond_and(*conds))
{
List_iterator<Item> li(*((Item_cond*)*conds)->argument_list());
Item *item;
bool allow_subsele... | 133,619,178,235,845,870,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,931 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void subselect_uniquesubquery_engine::exclude()
{
//this never should be called
DBUG_ASSERT(0);
} | 336,069,431,072,254,250,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,932 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Ordered_key::init(MY_BITMAP *columns_to_index)
{
THD *thd= tbl->in_use;
uint cur_key_col= 0;
Item_field *cur_tmp_field;
Item_func_lt *fn_less_than;
key_column_count= bitmap_bits_set(columns_to_index);
key_columns= (Item_field**) thd->alloc(key_column_count *
si... | 71,549,574,398,020,130,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,933 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_subselect::fix_fields(THD *thd_param, Item **ref)
{
char const *save_where= thd_param->where;
uint8 uncacheable;
bool res;
thd= thd_param;
DBUG_ASSERT(unit->thd == thd);
status_var_increment(thd_param->status_var.feature_subquery);
DBUG_ASSERT(fixed == 0);
engine->set_thd((thd= thd_param))... | 62,146,734,340,126,320,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,934 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_subselect::is_expensive()
{
double examined_rows= 0;
bool all_are_simple= true;
/* check extremely simple select */
if (!unit->first_select()->next_select()) // no union
{
/*
such single selects works even without optimization because
can not makes loops
*/
SELECT_LEX *sl= u... | 248,183,532,330,744,200,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,935 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | my_decimal *Item_in_subselect::val_decimal(my_decimal *decimal_value)
{
/*
As far as Item_in_subselect called only from Item_in_optimizer this
method should not be used
*/
DBUG_ASSERT(0);
if (forced_const)
goto value_is_ready;
DBUG_ASSERT((engine->uncacheable() & ~UNCACHEABLE_EXPLAIN) ||
... | 134,107,303,567,666,130,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,936 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item_allany_subselect::select_transformer(JOIN *join)
{
DBUG_ENTER("Item_allany_subselect::select_transformer");
DBUG_ASSERT((in_strategy & ~(SUBS_MAXMIN_INJECTED | SUBS_MAXMIN_ENGINE |
SUBS_IN_TO_EXISTS | SUBS_STRATEGY_CHOSEN)) == 0);
if (upper_item)
upper_item->show= 1;
DBUG... | 133,106,860,438,872,370,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,937 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_subselect::register_as_with_rec_ref(With_element *with_elem)
{
with_elem->sq_with_rec_ref.link_in_list(this, &this->next_with_rec_ref);
with_recursive_reference= true;
} | 36,252,752,891,159,680,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,938 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_singlerow_subselect::val_bool()
{
DBUG_ASSERT(fixed == 1);
if (forced_const)
{
bool val= value->val_bool();
null_value= value->null_value;
return val;
}
if (!exec() && !value->null_value)
{
null_value= FALSE;
return value->val_bool();
}
else
{
reset();
DBUG_ASSERT... | 242,986,544,193,558,020,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,939 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | subselect_single_select_engine::change_result(Item_subselect *si,
select_result_interceptor *res,
bool temp)
{
DBUG_ENTER("subselect_single_select_engine::change_result");
item= si;
if (temp)
{
/*
Here we reuse... | 61,671,028,251,478,520,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,940 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_union_engine::fix_length_and_dec(Item_cache **row)
{
DBUG_ASSERT(row || unit->first_select()->item_list.elements==1);
if (unit->first_select()->item_list.elements == 1)
{
if (set_row(unit->types, row))
return TRUE;
item->collation.set(row[0]->collation);
}
else
{
bool maybe... | 46,092,047,342,510,990,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,941 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | subselect_hash_sj_engine::make_unique_engine()
{
Item_in_subselect *item_in= (Item_in_subselect *) item;
Item_iterator_row it(item_in->left_expr);
/* The only index on the temporary table. */
KEY *tmp_key= tmp_table->key_info;
JOIN_TAB *tab;
DBUG_ENTER("subselect_hash_sj_engine::make_unique_engine");
/*... | 236,221,119,730,095,360,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,942 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void subselect_table_scan_engine::cleanup()
{
} | 270,625,425,396,737,330,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,943 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Ordered_key::~Ordered_key()
{
my_free(key_buff);
my_bitmap_free(&null_key);
} | 333,001,154,725,160,050,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,944 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | double Item_singlerow_subselect::val_real()
{
DBUG_ASSERT(fixed == 1);
if (forced_const)
return value->val_real();
if (!exec() && !value->null_value)
{
null_value= FALSE;
return value->val_real();
}
else
{
reset();
return 0;
}
} | 312,130,174,881,993,080,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,945 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void subselect_union_engine::exclude()
{
unit->exclude_level();
} | 288,812,429,430,011,550,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,946 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item* Item_exists_subselect::expr_cache_insert_transformer(THD *tmp_thd,
uchar *unused)
{
DBUG_ENTER("Item_exists_subselect::expr_cache_insert_transformer");
DBUG_ASSERT(thd == tmp_thd);
if (expr_cache)
DBUG_RETURN(expr_cache);
if (substype() == E... | 327,917,094,871,591,040,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,947 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_singlerow_subselect::check_cols(uint c)
{
if (c != engine->cols())
{
my_error(ER_OPERAND_COLUMNS, MYF(0), c);
return 1;
}
return 0;
} | 288,219,585,898,689,300,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,948 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void subselect_union_engine::force_reexecution()
{
unit->executed= false;
} | 278,295,610,512,733,600,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,949 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_single_select_engine::no_rows()
{
return !item->assigned();
} | 271,851,073,063,957,840,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,950 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | subselect_rowid_merge_engine::init(MY_BITMAP *non_null_key_parts,
MY_BITMAP *partial_match_key_parts)
{
THD *thd= get_thd();
/* The length in bytes of the rowids (positions) of tmp_table. */
uint rowid_length= tmp_table->file->ref_length;
ha_rows row_count= tmp_table->file->st... | 213,007,364,744,063,500,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,951 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | double get_post_group_estimate(JOIN* join, double join_op_rows)
{
table_map tables_in_group_list= table_map(0);
/* Find out which tables are used in GROUP BY list */
for (ORDER *order= join->group_list_for_estimates; order; order= order->next)
{
Item *item= order->item[0];
table_map item_used_tables= i... | 25,195,531,232,544,426,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,952 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_maxmin_subselect::no_rows_in_result()
{
/*
Subquery predicates outside of the SELECT list must be evaluated in order
to possibly filter the special result row generated for implicit grouping
if the subquery is in the HAVING clause.
If the predicate is constant, we need its actual value in th... | 156,821,798,997,028,020,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,953 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | uint8 subselect_union_engine::uncacheable()
{
return unit->uncacheable;
} | 200,766,749,982,932,000,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,954 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Ordered_key::Ordered_key(uint keyid_arg, TABLE *tbl_arg, Item *search_key_arg,
ha_rows null_count_arg, ha_rows min_null_row_arg,
ha_rows max_null_row_arg, uchar *row_num_to_rowid_arg)
: keyid(keyid_arg), tbl(tbl_arg), search_key(search_key_arg),
row_num_to_rowid(r... | 35,972,107,349,761,000,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,955 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_singlerow_subselect::null_inside()
{
for (uint i= 0; i < max_columns ; i++)
{
if (row[i]->null_value)
return 1;
}
return 0;
} | 48,459,751,848,869,560,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,956 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Ordered_key::next_same()
{
DBUG_ASSERT(key_buff_elements);
if (cur_key_idx < key_buff_elements - 1)
{
/*
TIMOUR:
The below is quite inefficient, since as a result we will fetch every
row (except the last one) twice. There must be a more efficient way,
e.g. swapping record[0] and ... | 170,703,955,749,833,140,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,957 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_singlerow_subselect::no_rows_in_result()
{
/*
Subquery predicates outside of the SELECT list must be evaluated in order
to possibly filter the special result row generated for implicit grouping
if the subquery is in the HAVING clause.
If the predicate is constant, we need its actual value in... | 332,746,711,744,225,300,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,958 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | double get_fanout_with_deps(JOIN *join, table_map tset)
{
/* Handle the case of "Impossible WHERE" */
if (join->table_count == 0)
return 0.0;
/* First, recursively get all tables we depend on */
table_map deps_to_check= tset;
table_map checked_deps= 0;
table_map further_deps;
do
{
further_deps=... | 157,251,742,150,813,420,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,959 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item_in_subselect::Item_in_subselect(THD *thd, Item * left_exp,
st_select_lex *select_lex):
Item_exists_subselect(thd), left_expr_cache(0), first_execution(TRUE),
in_strategy(SUBS_NOT_TRANSFORMED),
pushed_cond_guards(NULL), do_not_convert_to_sj(FALSE), is_jtbm_merged(FALSE),
is_jtbm_const_tab(FALSE), i... | 236,169,879,347,323,760,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,960 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | inline bool Item_in_subselect::left_expr_has_null()
{
return (*(optimizer->get_cache()))->null_value_inside;
} | 306,783,145,622,365,930,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,961 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item_subselect::get_select_lex()
{
return unit->first_select();
} | 19,775,360,545,722,743,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,962 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_subselect::fix_after_pullout(st_select_lex *new_parent,
Item **ref, bool merge)
{
recalc_used_tables(new_parent, TRUE);
parent_select= new_parent;
} | 26,402,184,232,669,154,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,963 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | subselect_uniquesubquery_engine::change_result(Item_subselect *si,
select_result_interceptor *res,
bool temp
__attribute__((unused)))
{
DBUG_ASSERT(0);
return TRUE;
} | 103,571,409,037,379,800,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,964 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | int subselect_indexsubquery_engine::exec()
{
DBUG_ENTER("subselect_indexsubquery_engine");
int error;
bool null_finding= 0;
TABLE *table= tab->table;
Item_in_subselect *in_subs= (Item_in_subselect *) item;
((Item_in_subselect *) item)->value= 0;
empty_result_set= TRUE;
table->status= 0;
if (check_nu... | 305,004,851,122,454,550,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,965 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_union_engine::no_tables()
{
for (SELECT_LEX *sl= unit->first_select(); sl; sl= sl->next_select())
{
if (sl->table_list.elements)
return FALSE;
}
return TRUE;
} | 205,192,133,827,901,250,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,966 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_uniquesubquery_engine::no_tables()
{
/* returning value is correct, but this method should never be called */
DBUG_ASSERT(FALSE);
return 0;
} | 300,638,660,987,757,800,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,967 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_hash_sj_engine::change_result(Item_subselect *si,
select_result_interceptor *res,
bool temp __attribute__((unused)))
{
DBUG_ASSERT(FALSE);
return TRUE;
} | 177,295,785,434,432,040,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,968 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | int Ordered_key::cmp_key_with_search_key(rownum_t row_num)
{
/* The length in bytes of the rowids (positions) of tmp_table. */
uint rowid_length= tbl->file->ref_length;
uchar *cur_rowid= row_num_to_rowid + row_num * rowid_length;
int __attribute__((unused)) error;
int cmp_res;
if ((error= tbl->file->ha_rnd... | 13,689,656,612,001,976,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,969 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_singlerow_subselect::cleanup()
{
DBUG_ENTER("Item_singlerow_subselect::cleanup");
value= 0; row= 0;
Item_subselect::cleanup();
DBUG_VOID_RETURN;
} | 307,243,291,427,629,100,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,970 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_exists_subselect::no_rows_in_result()
{
/*
Subquery predicates outside of the SELECT list must be evaluated in order
to possibly filter the special result row generated for implicit grouping
if the subquery is in the HAVING clause.
If the predicate is constant, we need its actual value in th... | 204,403,410,329,112,140,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,971 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_in_subselect::fix_having(Item *having, SELECT_LEX *select_lex)
{
bool fix_res= 0;
DBUG_ASSERT(thd);
if (!having->fixed)
{
select_lex->having_fix_field= 1;
fix_res= having->fix_fields(thd, 0);
select_lex->having_fix_field= 0;
}
return fix_res;
} | 325,387,666,722,488,000,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,972 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_subselect::update_table_bitmaps_processor(void *arg)
{
List_iterator<Ref_to_outside> it(upper_refs);
Ref_to_outside *upper;
while ((upper= it++))
{
if (upper->item &&
upper->item->walk(&Item::update_table_bitmaps_processor, FALSE, arg))
return TRUE;
}
return FALSE;
} | 80,851,653,286,153,850,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,973 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void subselect_rowid_merge_engine::cleanup()
{
} | 308,234,820,870,696,780,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,974 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item_exists_subselect::select_transformer(JOIN *join)
{
return select_prepare_to_be_in();
} | 156,077,427,544,203,280,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,975 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | longlong Item_singlerow_subselect::val_int()
{
DBUG_ASSERT(fixed == 1);
if (forced_const)
{
longlong val= value->val_int();
null_value= value->null_value;
return val;
}
if (!exec() && !value->null_value)
{
null_value= FALSE;
return value->val_int();
}
else
{
reset();
DBUG_A... | 20,500,682,950,126,528,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,976 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | my_bitmap_init_memroot(MY_BITMAP *map, uint n_bits, MEM_ROOT *mem_root)
{
my_bitmap_map *bitmap_buf;
if (!(bitmap_buf= (my_bitmap_map*) alloc_root(mem_root,
bitmap_buffer_size(n_bits))) ||
my_bitmap_init(map, bitmap_buf, n_bits, FALSE))
return TRUE;
bitma... | 305,084,810,452,427,600,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,977 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | double Item_exists_subselect::val_real()
{
DBUG_ASSERT(fixed == 1);
if (!forced_const && exec())
{
reset();
return 0;
}
return (double) value;
} | 222,054,528,454,100,350,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,978 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_in_subselect::update_used_tables()
{
Item_subselect::update_used_tables();
left_expr->update_used_tables();
//used_tables_cache |= left_expr->used_tables();
used_tables_cache= Item_subselect::used_tables() | left_expr->used_tables();
} | 202,072,979,130,102,900,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,979 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | int subselect_uniquesubquery_engine::prepare(THD *)
{
/* Should never be called. */
DBUG_ASSERT(FALSE);
return 1;
} | 210,247,912,533,911,480,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,980 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | subselect_partial_match_engine::subselect_partial_match_engine(
subselect_uniquesubquery_engine *engine_arg,
TABLE *tmp_table_arg, Item_subselect *item_arg,
select_result_interceptor *result_arg,
List<Item> *equi_join_conds_arg,
bool has_covering_null_row_arg,
bool has_covering_null_columns_arg,
uint coun... | 198,904,786,015,214,800,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,981 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | int walk_items_for_table_list(Item_processor processor,
bool walk_subquery, void *argument,
List<TABLE_LIST>& join_list)
{
List_iterator<TABLE_LIST> li(join_list);
int res;
while (TABLE_LIST *table= li++)
{
if (table->on_expr)
{
if ((res=... | 170,263,408,078,028,700,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,982 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_subselect::mark_as_dependent(THD *thd, st_select_lex *select,
Item *item)
{
if (inside_first_fix_fields)
{
is_correlated= TRUE;
Ref_to_outside *upper;
if (!(upper= new (thd->stmt_arena->mem_root) Ref_to_outside()))
return TRUE;
upper->select= s... | 134,168,589,306,355,590,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,983 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Ordered_key::print(String *str)
{
uint i;
str->append("{idx=");
str->qs_append(keyid);
str->append(", (");
for (i= 0; i < key_column_count - 1; i++)
{
str->append(key_columns[i]->field->field_name);
str->append(", ");
}
str->append(key_columns[i]->field->field_name);
str->append("), ");
... | 244,244,933,891,835,140,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,984 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_table_scan_engine::partial_match()
{
List_iterator_fast<Item> equality_it(*equi_join_conds);
Item *cur_eq;
uint count_matches;
int error;
bool res;
if (tmp_table->file->ha_rnd_init_with_error(1))
{
res= FALSE;
goto end;
}
tmp_table->file->extra_opt(HA_EXTRA_CACHE,
... | 156,555,472,237,169,620,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,985 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | uint8 subselect_single_select_engine::uncacheable()
{
return select_lex->uncacheable;
} | 114,295,150,848,927,680,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,986 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | uint subselect_single_select_engine::cols()
{
//psergey-sj-backport: the following assert was gone in 6.0:
//DBUG_ASSERT(select_lex->join != 0); // should be called after fix_fields()
//return select_lex->join->fields_list.elements;
return select_lex->item_list.elements;
} | 178,555,106,392,757,400,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,987 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | double Ordered_key::null_selectivity()
{
/* We should not be processing empty tables. */
DBUG_ASSERT(tbl->file->stats.records);
return (1 - (double) null_count / (double) tbl->file->stats.records);
} | 268,601,343,520,117,700,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,988 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_exists_subselect::fix_length_and_dec()
{
DBUG_ENTER("Item_exists_subselect::fix_length_and_dec");
init_length_and_dec();
// If limit is not set or it is constant more than 1
if (!unit->global_parameters()->select_limit ||
(unit->global_parameters()->select_limit->basic_const_item() &&
uni... | 234,666,282,916,755,700,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,989 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_exists_subselect::exists2in_processor(void *opt_arg)
{
THD *thd= (THD *)opt_arg;
SELECT_LEX *first_select=unit->first_select(), *save_select;
JOIN *join= first_select->join;
Item **eq_ref= NULL;
Item_ident *local_field= NULL;
Item *outer_exp= NULL;
Item *left_exp= NULL; Item_in_subselect *in_sub... | 209,965,888,073,491,000,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,990 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Ordered_key::cmp_keys_by_row_data(ha_rows a, ha_rows b)
{
uchar *rowid_a, *rowid_b;
int __attribute__((unused)) error;
int cmp_res;
/* The length in bytes of the rowids (positions) of tmp_table. */
uint rowid_length= tbl->file->ref_length;
if (a == b)
return 0;
/* Get the corresponding rowids. */
r... | 139,101,975,264,749,570,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,991 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | int subselect_uniquesubquery_engine::index_lookup()
{
DBUG_ENTER("subselect_uniquesubquery_engine::index_lookup");
int error;
TABLE *table= tab->table;
if (!table->file->inited)
table->file->ha_index_init(tab->ref.key, 0);
error= table->file->ha_index_read_map(table->record[0],
... | 254,115,998,704,616,000,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,992 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_exists_subselect::init_length_and_dec()
{
decimals= 0;
max_length= 1;
max_columns= engine->cols();
} | 19,590,540,733,805,637,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,993 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | table_map subselect_union_engine::upper_select_const_tables()
{
return calc_const_tables(unit->outer_select()->leaf_tables);
} | 285,228,939,888,224,420,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,994 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_uniquesubquery_engine::fix_length_and_dec(Item_cache **row)
{
//this never should be called
DBUG_ASSERT(0);
return FALSE;
} | 243,395,530,241,715,750,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,995 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_subselect::enumerate_field_refs_processor(void *arg)
{
List_iterator<Ref_to_outside> it(upper_refs);
Ref_to_outside *upper;
while ((upper= it++))
{
if (upper->item &&
upper->item->walk(&Item::enumerate_field_refs_processor, FALSE, arg))
return TRUE;
}
return FALSE;
} | 161,943,934,158,603,560,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,996 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item_exists_subselect::Item_exists_subselect(THD *thd,
st_select_lex *select_lex):
Item_subselect(thd), upper_not(NULL), abort_on_null(0),
emb_on_expr_nest(NULL), optimizer(0), exists_transformed(0)
{
DBUG_ENTER("Item_exists_subselect::Item_exists_subselect");
init(s... | 296,396,023,079,795,500,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,997 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item_allany_subselect::Item_allany_subselect(THD *thd, Item * left_exp,
chooser_compare_func_creator fc,
st_select_lex *select_lex,
bool all_arg):
Item_in_subselect(thd), func_creator(fc), all(all_arg)
{
DBUG_ENTER("Item_allany_subselect::Item_allany_... | 311,822,392,077,880,360,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,998 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void subselect_uniquesubquery_engine::cleanup()
{
DBUG_ENTER("subselect_uniquesubquery_engine::cleanup");
/*
Note for mergers: we don't have to, and actually must not de-initialize
tab->table->file here.
- We don't have to, because free_tmp_table() will call ha_index_or_rnd_end
- We must not do it,... | 184,632,984,021,015,720,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
511,999 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_maxmin_subselect::print(String *str, enum_query_type query_type)
{
str->append(max?"<max>":"<min>", 5);
Item_singlerow_subselect::print(str, query_type);
} | 17,430,040,692,952,253,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,000 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_in_subselect::print(String *str, enum_query_type query_type)
{
if (test_strategy(SUBS_IN_TO_EXISTS))
str->append(STRING_WITH_LEN("<exists>"));
else
{
left_expr->print_parenthesised(str, query_type, precedence());
str->append(STRING_WITH_LEN(" in "));
}
Item_subselect::print(str, query_ty... | 237,319,694,739,857,850,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,001 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_hash_sj_engine::no_tables()
{
DBUG_ASSERT(FALSE);
return FALSE;
} | 336,679,403,414,045,000,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,002 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_subselect::get_cache_parameters(List<Item> ¶meters)
{
Collect_deps_prm prm= {¶meters, // parameters
unit->first_select()->nest_level_base, // nest_level_base
0, // count
unit->first_select()->nest_level, // nest_level
TRUE ... | 159,673,792,219,006,400,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,003 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | uint subselect_union_engine::cols()
{
DBUG_ASSERT(unit->is_prepared()); // should be called after fix_fields()
return unit->types.elements;
} | 166,952,756,386,802,720,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,004 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_in_subselect::create_in_to_exists_cond(JOIN *join_arg)
{
bool res;
DBUG_ASSERT(engine->engine_type() == subselect_engine::SINGLE_SELECT_ENGINE ||
engine->engine_type() == subselect_engine::UNION_ENGINE);
/*
TODO: the call to init_cond_guards allocates and initializes an
array of b... | 185,617,103,470,588,440,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,005 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_exists_subselect::select_prepare_to_be_in()
{
bool trans_res= FALSE;
DBUG_ENTER("Item_exists_subselect::select_prepare_to_be_in");
if (!optimizer &&
thd->lex->sql_command == SQLCOM_SELECT &&
!unit->first_select()->is_part_of_union() &&
optimizer_flag(thd, OPTIMIZER_SWITCH_EXISTS_TO_IN)... | 135,046,239,759,433,920,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,006 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_singlerow_subselect::get_date(MYSQL_TIME *ltime,ulonglong fuzzydate)
{
DBUG_ASSERT(fixed == 1);
if (forced_const)
{
bool val= value->get_date(ltime, fuzzydate);
null_value= value->null_value;
return val;
}
if (!exec() && !value->null_value)
{
null_value= FALSE;
return value->ge... | 213,382,558,468,423,000,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,007 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_uniquesubquery_engine::copy_ref_key(bool skip_constants)
{
DBUG_ENTER("subselect_uniquesubquery_engine::copy_ref_key");
for (store_key **copy= tab->ref.key_copy ; *copy ; copy++)
{
enum store_key::store_key_result store_res;
if (skip_constants && (*copy)->store_key_is_const())
contin... | 95,650,362,842,013,900,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,008 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_union_engine::no_rows()
{
/* Check if we got any rows when reading UNION result from temp. table: */
if (unit->fake_select_lex)
{
JOIN *join= unit->fake_select_lex->join;
if (join)
return MY_TEST(!join->send_records);
return false;
}
return MY_TEST(!(((select_union_direct *)(u... | 120,485,939,348,477,800,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,009 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_in_subselect::test_limit(st_select_lex_unit *unit_arg)
{
if (unit_arg->fake_select_lex &&
unit_arg->fake_select_lex->test_limit())
return(1);
SELECT_LEX *sl= unit_arg->first_select();
for (; sl; sl= sl->next_select())
{
if (sl->test_limit())
return(1);
}
return(0);
} | 291,092,416,941,824,840,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,010 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_subselect::recalc_used_tables(st_select_lex *new_parent,
bool after_pullout)
{
List_iterator_fast<Ref_to_outside> it(upper_refs);
Ref_to_outside *upper;
DBUG_ENTER("recalc_used_tables");
used_tables_cache= 0;
while ((upper= it++))
{
bool found= FALSE... | 246,540,011,468,666,000,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,011 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_in_subselect::fix_after_pullout(st_select_lex *new_parent,
Item **ref, bool merge)
{
left_expr->fix_after_pullout(new_parent, &left_expr, merge);
Item_subselect::fix_after_pullout(new_parent, ref, merge);
used_tables_cache |= left_expr->used_tables();
} | 142,925,193,447,632,360,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,012 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool subselect_union_engine::is_executed() const
{
return unit->executed;
} | 139,416,730,465,431,840,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,013 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_in_subselect::init_left_expr_cache()
{
JOIN *outer_join;
DBUG_ASSERT(thd);
outer_join= unit->outer_select()->join;
/*
An IN predicate might be evaluated in a query for which all tables have
been optimzied away.
*/
if (!outer_join || !outer_join->table_count || !outer_join->tables_list)
... | 246,859,218,882,041,600,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,014 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item_maxmin_subselect::Item_maxmin_subselect(THD *thd,
Item_subselect *parent,
st_select_lex *select_lex,
bool max_arg):
Item_singlerow_subselect(thd), was_values(TRUE)
{
DBUG_ENTER("Item_maxmin_subselect::Item_maxmin_subselect");
max= max_arg;
in... | 84,744,046,190,575,280,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,015 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_maxmin_subselect::cleanup()
{
DBUG_ENTER("Item_maxmin_subselect::cleanup");
Item_singlerow_subselect::cleanup();
/*
By default it is TRUE to avoid TRUE reporting by
Item_func_not_all/Item_func_nop_all if this item was never called.
Engine exec() set it to FALSE by reset_value_registration(... | 189,096,222,521,770,650,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,016 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | subselect_table_scan_engine::subselect_table_scan_engine(
subselect_uniquesubquery_engine *engine_arg,
TABLE *tmp_table_arg,
Item_subselect *item_arg,
select_result_interceptor *result_arg,
List<Item> *equi_join_conds_arg,
bool has_covering_null_row_arg,
bool has_covering_null_columns_arg,
uint count_co... | 123,681,539,857,731,180,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,017 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | enum Item_result Item_singlerow_subselect::result_type() const
{
return engine->type();
} | 109,395,179,154,554,690,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,018 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void Item_singlerow_subselect::reset()
{
Item_subselect::reset();
if (value)
{
for(uint i= 0; i < engine->cols(); i++)
row[i]->set_null();
}
} | 2,772,927,077,025,525,300,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,019 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | longlong Item_exists_subselect::val_int()
{
DBUG_ASSERT(fixed == 1);
if (!forced_const && exec())
{
reset();
return 0;
}
return value;
} | 222,975,372,335,365,170,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,020 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | subselect_rowid_merge_engine::cmp_keys_by_null_selectivity(Ordered_key **k1,
Ordered_key **k2)
{
double k1_sel= (*k1)->null_selectivity();
double k2_sel= (*k2)->null_selectivity();
if (k1_sel < k2_sel)
return 1;
if (k1_sel > k2_sel)
return -1;
... | 39,654,748,973,367,730,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,021 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void subselect_union_engine::cleanup()
{
DBUG_ENTER("subselect_union_engine::cleanup");
unit->reinit_exec_mechanism();
result->cleanup();
unit->uncacheable&= ~UNCACHEABLE_DEPENDENT_INJECTED;
for (SELECT_LEX *sl= unit->first_select(); sl; sl= sl->next_select())
sl->uncacheable&= ~UNCACHEABLE_DEPENDENT_INJE... | 232,469,913,388,675,070,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,022 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | subselect_hash_sj_engine::~subselect_hash_sj_engine()
{
delete lookup_engine;
delete result;
if (tmp_table)
free_tmp_table(thd, tmp_table);
} | 219,565,195,974,204,940,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,023 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | Item_in_subselect::create_row_in_to_exists_cond(JOIN * join,
Item **where_item,
Item **having_item)
{
SELECT_LEX *select_lex= join->select_lex;
uint cols_num= left_expr->cols();
/*
The non-transformed HAVING clause... | 234,004,102,583,306,840,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,024 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_exists_subselect::val_bool()
{
DBUG_ASSERT(fixed == 1);
if (!forced_const && exec())
{
reset();
return 0;
}
return value != 0;
} | 13,691,049,396,863,300,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,025 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | longlong Item_in_subselect::val_int()
{
/*
As far as Item_in_subselect called only from Item_in_optimizer this
method should not be used
*/
DBUG_ASSERT(0);
DBUG_ASSERT(fixed == 1);
if (forced_const)
return value;
DBUG_ASSERT((engine->uncacheable() & ~UNCACHEABLE_EXPLAIN) ||
! engin... | 182,858,929,289,386,950,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,026 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | void subselect_uniquesubquery_engine::print(String *str,
enum_query_type query_type)
{
char *table_name= tab->table->s->table_name.str;
str->append(STRING_WITH_LEN("<primary_index_lookup>("));
tab->ref.items[0]->print(str, query_type);
str->append(STRING_WITH_LEN(" in... | 2,954,754,740,031,189,600,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,027 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | int subselect_uniquesubquery_engine::exec()
{
DBUG_ENTER("subselect_uniquesubquery_engine::exec");
int error;
TABLE *table= tab->table;
empty_result_set= TRUE;
table->status= 0;
Item_in_subselect *in_subs= (Item_in_subselect *) item;
if (!tab->preread_init_done && tab->preread_init())
DBUG_RETURN(1);... | 189,427,432,406,046,450,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,028 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | bool Item_in_subselect::exec()
{
DBUG_ENTER("Item_in_subselect::exec");
DBUG_ASSERT(fixed);
/*
Initialize the cache of the left predicate operand. This has to be done as
late as now, because Cached_item directly contains a resolved field (not
an item, and in some cases (when temp tables are created), ... | 161,261,760,929,882,300,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
512,029 | server | 3c209bfc040ddfc41ece8357d772547432353fd2 | https://github.com/MariaDB/server | https://github.com/MariaDB/server/commit/3c209bfc040ddfc41ece8357d772547432353fd2 | MDEV-25994: Crash with union of my_decimal type in ORDER BY clause
When single-row subquery fails with "Subquery reutrns more than 1 row"
error, it will raise an error and return NULL.
On the other hand, Item_singlerow_subselect sets item->maybe_null=0
for table-less subqueries like "(SELECT not_null_value)" (*)
Th... | 0 | double Item_in_subselect::val_real()
{
/*
As far as Item_in_subselect called only from Item_in_optimizer this
method should not be used
*/
DBUG_ASSERT(fixed == 1);
if (forced_const)
return value;
DBUG_ASSERT((engine->uncacheable() & ~UNCACHEABLE_EXPLAIN) ||
! engine->is_executed());
... | 288,903,189,736,366,200,000,000,000,000,000,000,000 | None | null | [
"CWE-89"
] | CVE-2022-27380 | An issue in the component my_decimal::operator= of MariaDB Server v10.6.3 and below was discovered to allow attackers to cause a Denial of Service (DoS) via specially crafted SQL statements. | https://nvd.nist.gov/vuln/detail/CVE-2022-27380 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.