SB2024062638 - Gentoo update for MariaDB
Published: June 26, 2024
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 54 secuirty vulnerabilities.
1) Improper input validation (CVE-ID: CVE-2019-2938)
The vulnerability allows a remote privileged user to perform a denial of service (DoS) attack.
The vulnerability exists due to improper input validation within the InnoDB component in MySQL Server. A remote privileged user can exploit this vulnerability to perform a denial of service (DoS) attack.
2) Improper input validation (CVE-ID: CVE-2019-2974)
The vulnerability allows a remote authenticated user to perform a denial of service (DoS) attack.
The vulnerability exists due to improper input validation within the Server: Optimizer component in MySQL Server. A remote authenticated user can exploit this vulnerability to perform a denial of service (DoS) attack.
3) Input validation error (CVE-ID: CVE-2021-46661)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to application crash in find_field_in_tables and find_order_in_list via an unused common table expression (CTE). A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.
4) Input validation error (CVE-ID: CVE-2021-46662)
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to set_var.cc application crash in certain uses of an UPDATE statement in conjunction with a nested subquery. A local user can pass specially crafted input to the application and perform a denial of service (DoS) attack.
5) Input validation error (CVE-ID: CVE-2021-46663)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to ha_maria::extra application crash via certain SELECT statements. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.
6) NULL pointer dereference (CVE-ID: CVE-2021-46664)
The vulnerability allows a remote user to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dereference error in the sub_select_postjoin_aggr() function. A remote user can pass specially crafted data to the application and perform a denial of service (DoS) attack.
7) Input validation error (CVE-ID: CVE-2021-46665)
The vulnerability allows a remote user to perform a denial of service (DoS) attack.
The vulnerability exists due to incorrect used_tables expectations in the sql_parse.cc. A remote user can pass specially crafted input to the application and perform a denial of service (DoS) attack.
8) Reachable Assertion (CVE-ID: CVE-2021-46666)
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to mishandling of a pushdown from a HAVING clause to a WHERE clause. A local user can perform a denial of service (DoS) attack.
9) Integer overflow (CVE-ID: CVE-2021-46667)
The vulnerability allows a local user to perform a denial of service attack.
The vulnerability exists due to integer overflow in the sql_lex.cc. A local user can pass specially crafted data to the application, trigger integer overflow and perform a denial of service attack.
10) Resource exhaustion (CVE-ID: CVE-2021-46668)
The vulnerability allows a remote user to perform a denial of service (DoS) attack.
The vulnerability exists due to application does not properly control consumption of internal resources. A remote user can trigger resource exhaustion via certain long SELECT DISTINCT statements that improperly interact with storage-engine resource limitations for temporary data structures.
11) Use-after-free (CVE-ID: CVE-2021-46669)
The vulnerability allows a remote attacker to perform a denial of service attack.
The vulnerability exists due to a use-after-free error in the convert_const_to_int() function when processing BIGINT data type. A remote attacker can trigger use-after-free error and perform a denial of service attack.
12) Buffer overflow (CVE-ID: CVE-2022-24048)
The vulnerability allows a remote user to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in the storage engine when processing CONNECT queries. A remote authenticated user can send a specially crafted SQL query to the affected database instance, trigger a memory corruption and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
13) Use-after-free (CVE-ID: CVE-2022-24050)
The vulnerability allows a remote user to compromise vulnerable system.
The vulnerability exists due to a use-after-free error in the storage engine when processing CONNECT queries. A remote user can send a specially crafted SQL query to the database instance, trigger a use-after-free error and execute arbitrary code on the system.
Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.
14) Format string error (CVE-ID: CVE-2022-24051)
The vulnerability allows a remote user to execute arbitrary code on the target system.
The vulnerability exists due to a format string error in the CONNECT function implementation. A remote user with access to database can send a specially crafted SQL query that contains format string specifiers and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
15) Heap-based buffer overflow (CVE-ID: CVE-2022-24052)
The vulnerability allows a remote user to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in the storage engine when processing CONNECT requests. A remote user can send a specially crafted SQL query to the database instance, trigger a heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
16) Use-after-free (CVE-ID: CVE-2022-27376)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to a use-after-free error in the Item_args::walk_arg() function. A remote user can pass specially crafted SQL statements and cause a denial of service.
17) Use-after-free (CVE-ID: CVE-2022-27377)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to a use-after-free error in the Item_func_in::cleanup() function. A remote user can pass specially crafted SQL statements and cause a denial of service.
18) SQL injection (CVE-ID: CVE-2022-27378)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to insufficient sanitization of user-supplied data in the Create_tmp_table::finalize() function. A remote user can send specially crafted SQL statements to the affected application and perform a denial of service attack.
19) SQL injection (CVE-ID: CVE-2022-27379)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to insufficient sanitization of user-supplied data in the Arg_comparator::compare_real() function. A remote user can send specially crafted SQL statements to the affected application and perform a denial of service attack.
20) SQL injection (CVE-ID: CVE-2022-27380)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to insufficient sanitization of user-supplied data in the my_decimal::operator=() function. A remote user can send specially crafted SQL statements to the affected application and perform a denial of service attack.
21) SQL injection (CVE-ID: CVE-2022-27381)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to insufficient sanitization of user-supplied data in the Field::set_default() function. A remote user can send specially crafted SQL statements to the affected application and perform a denial of service attack.
22) Buffer overflow (CVE-ID: CVE-2022-27382)
The vulnerability allows a remote user to perform a denial of service (DoS) attack.
The vulnerability exists due to a segmentation fault via the Item_field::used_tables/update_depend_map_for_order() function. A remote user can send specially crafted data and perform a denial of service (DoS) attack.
23) Use-after-free (CVE-ID: CVE-2022-27383)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to a use-after-free error in the my_strcasecmp_8bit component. A remote user can pass specially crafted SQL statements and cause a denial of service.
24) SQL injection (CVE-ID: CVE-2022-27384)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to insufficient sanitization of user-supplied data in the Item_subselect::init_expr_cache_tracker() function. A remote user can send specially crafted SQL statements to the affected application and perform a denial of service attack.
25) SQL injection (CVE-ID: CVE-2022-27385)
The vulnerability allows a remote attacker to perform a denial of service attack.
The vulnerability exists due to insufficient sanitization of user-supplied data in the used_tables_and_const_cache::used_tables_and_const_cache_join() function. A remote attacker can send a specially crafted request to the affected application and perform a denial of service attack.
26) Buffer overflow (CVE-ID: CVE-2022-27386)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to segmentation fault via the sql/sql_class.cc component. A remote user can send specially crafted data and perform a denial of service attack.
27) Buffer overflow (CVE-ID: CVE-2022-27444)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to segmentation fault via the sql/item_subselect.cc component. A remote user can send specially crafted data and perform a denial of service attack.
28) Buffer overflow (CVE-ID: CVE-2022-27445)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to segmentation fault via the sql/sql_window.cc component. A remote user can send specially crafted data and perform a denial of service attack.
29) Buffer overflow (CVE-ID: CVE-2022-27446)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to segmentation fault via the sql/item_cmpfunc.h component. A remote user can send specially crafted data and perform a denial of service attack.
30) Use-after-free (CVE-ID: CVE-2022-27447)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to use-after-free error via the Binary_string::free_buffer() function in the /sql/sql_string.h component. A remote user can send specially crafted data and perform a denial of service attack.
31) Buffer overflow (CVE-ID: CVE-2022-27448)
The vulnerability allows a remote user to perform a denial of service (DoS) attack.
The vulnerability exists due to a buffer overflow in the BTR_PCUR_ON() function in the /row/row0mysql.cc component. A remote user can send a specially crafted data and perform a denial of service (DoS) attack.
32) Buffer overflow (CVE-ID: CVE-2022-27449)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to segmentation fault via the sql/item_func.cc:148 component. A remote user can send specially crafted data and perform a denial of service attack.
33) Buffer overflow (CVE-ID: CVE-2022-27451)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to segmentation fault via the sql/field_conv.cc component. A remote user can send specially crafted data and perform a denial of service attack.
34) Buffer overflow (CVE-ID: CVE-2022-27452)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to segmentation fault via the sql/item_cmpfunc.cc component. A remote user can send specially crafted data and perform a denial of service attack.
35) Use-after-free (CVE-ID: CVE-2022-27455)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to a use-after-free error in the my_wildcmp_8bit_impl component at /strings/ctype-simple.c. A remote user can pass specially crafted data and cause a denial of service.
36) Use-after-free (CVE-ID: CVE-2022-27456)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to a use-after-free error in the VDec::VDec() function at /sql/sql_type.cc. A remote user can pass specially crafted data and cause a denial of service.
37) Use-after-free (CVE-ID: CVE-2022-27457)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to a use-after-free error in the my_mb_wc_latin1 component in the /strings/ctype-latin1.c. A remote user can pass specially crafted data and cause a denial of service.
38) Use-after-free (CVE-ID: CVE-2022-27458)
The vulnerability allows a remote user to perform a denial of service attack.
The vulnerability exists due to a use-after-free error in the Binary_string::free_buffer() function at /sql/sql_string.h. A remote user can pass specially crafted data and cause a denial of service.
39) Improper locking (CVE-ID: CVE-2022-31621)
The vulnerability allows a local user to perform a denial of service attack (DoS) on the target system.
The vulnerability exists due to double-locking error in the extra/mariabackup/ds_xbstream.cc. A local user can exploit this vulnerability to cause a deadlock, resulting in a denial of service condition.
40) Improper Resource Shutdown or Release (CVE-ID: CVE-2022-31622)
The vulnerability allows a local user to perform a denial of service attack (DoS) on the target system.
The vulnerability exists due to error in the extra/mariabackup/ds_compress.cc. A local user can exploit this vulnerability to cause a deadlock, resulting in a denial of service condition.
41) Improper locking (CVE-ID: CVE-2022-31623)
The vulnerability allows a local user to perform a denial of service attack (DoS) on the target system.
The vulnerability exists due to double-locking error in the extra/mariabackup/ds_compress.cc. A local user can exploit this vulnerability to cause a deadlock, resulting in a denial of service condition.
42) Improper Resource Shutdown or Release (CVE-ID: CVE-2022-31624)
The vulnerability allows a local user to perform a denial of service attack.
The vulnerability exists due to improper release of held lock lock_bigbuffer when processing plugin/server_audit/server_audit.c method log_statement_ex. A local user can perform a denial of service attack due to the deadlock.
43) Buffer overflow (CVE-ID: CVE-2022-32081)
The vulnerability allows a local user to execute arbitrary code on the target system.
The vulnerability exists due to a use-after-poison in prepare_inplace_add_virtual at /storage/innobase/handler/handler0alter.cc. A local user can trigger the vulnerability to execute arbitrary code on the target system.
44) Reachable Assertion (CVE-ID: CVE-2022-32082)
The vulnerability allows a remote user to perform a denial of service (DoS) attack.
The vulnerability exists due to a reachable assertion at table->get_ref_count() == 0 in dict0dict.cc. A remote user can perform a denial of service attack.
45) Buffer overflow (CVE-ID: CVE-2022-32083)
The vulnerability allows a local user to perform a denial of service attack.
The vulnerability exists due to a segmentation fault via the component Item_subselect::init_expr_cache_tracker. A local user can send a specially crafted data to perform a denial of service attack.
46) Buffer overflow (CVE-ID: CVE-2022-32084)
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a segmentation fault via the component sub_select. A local user can send a specially crafted file and escalate privileges on the system.
47) Buffer overflow (CVE-ID: CVE-2022-32085)
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a segmentation fault via the component Item_func_in::cleanup/Item::cleanup_processor. A local user can send a specially crafted file, trigger memory corruption and escalate privileges on the system.
48) Buffer overflow (CVE-ID: CVE-2022-32086)
The vulnerability allows a local user to escalate privileges on the system.
The vulnerability exists due to a segmentation fault via the component Item_field::fix_outer_field. A local user can send a specially crafted file, trigger memory corruption and escalate privileges on the system.
49) Buffer overflow (CVE-ID: CVE-2022-32088)
The vulnerability allows a local user to perform a denial of service attack
The vulnerability exists due to a segmentation fault via the component Exec_time_tracker::get_loops/Filesort_tracker::report_use/filesort. A local user can send a specially crafted data to perform a denial of service attack.
50) Buffer overflow (CVE-ID: CVE-2022-32089)
The vulnerability allows a local user to execute arbitrary code on the target system.
The vulnerability exists due to a segmentation fault via the component st_select_lex_unit::exclude_level. A local user can send a specially crafted file and execute arbitrary code on the target system.
51) Buffer overflow (CVE-ID: CVE-2022-32091)
The vulnerability allows a local user to execute arbitrary code on the target system.
The vulnerability exists due to a use-after-poison in in __interceptor_memset at /libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc. A local user can create a specially crafted file and execute arbitrary code on the target system.
52) Resource management error (CVE-ID: CVE-2022-38791)
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to compress_write() function in extra/mariabackup/ds_compress.cc does not release data_mutex upon a stream write failure. A local user can trigger a deadlock and perform a denial of service (DoS) attack.
53) NULL pointer dereference (CVE-ID: CVE-2022-47015)
The vulnerability allows a remote user to perform a denial of service (DoS) attack.
The vulnerability exists due to a NULL pointer dereference error within the spider_db_mbase::print_warnings() function. A remote user can pass specially crafted data to the server and perform a denial of service (DoS) attack.
54) Resource exhaustion (CVE-ID: CVE-2023-5157)
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to application does not properly control consumption of internal resources. A remote attacker can launch a simple port scan on ports 3306/tcp and 4567/tcp and perform a denial of service (DoS) attack.
Remediation
Install update from vendor's website.