SB2022071702 - Fedora 35 Modular update for mariadb



SB2022071702 - Fedora 35 Modular update for mariadb

Published: July 17, 2022

Security Bulletin ID SB2022071702
Severity
Medium
Patch available
YES
Number of vulnerabilities 39
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 33% Low 67%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 39 secuirty vulnerabilities.


1) Improper input validation (CVE-ID: CVE-2021-2372)

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-2021-2389)

The vulnerability allows a remote non-authenticated attacker 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 non-authenticated attacker can exploit this vulnerability to perform a denial of service (DoS) attack.


3) Resource management error (CVE-ID: CVE-2021-46659)

The vulnerability allows a remote user to perform a denial of service (DoS) attack.

The vulnerability exists due to improper management of internal resources. The database does not recognize that SELECT_LEX::nest_level is local to each VIEW. A remote user execute a specially crafted statements and perform a denial of service (DoS) attack.


4) 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.


5) 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.


6) Resource exhaustion (CVE-ID: CVE-2021-46658)

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to improper handling of with_window_func=true for a subquery. A local user can trigger resource exhaustion and perform a denial of service (DoS) attack.


7) Resource exhaustion (CVE-ID: CVE-2021-46657)

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 when processing certain subquery uses of ORDER BY. A remote attacker can trigger resource exhaustion and perform a denial of service (DoS) attack.


8) 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.


9) 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.


10) 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.


11) 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.


12) 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.


13) 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.


14) 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.


15) Improper input validation (CVE-ID: CVE-2021-35604)

The vulnerability allows a remote privileged user to damange or delete data.

The vulnerability exists due to improper input validation within the InnoDB component in MySQL Server. A remote privileged user can exploit this vulnerability to damange or delete data.


16) 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.


17) 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.


18) 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.


19) 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.


20) 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.


21) 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.


22) 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.


23) 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.


24) 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.


25) Improper input validation (CVE-ID: CVE-2022-21427)

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 Server: FTS component in MySQL Server. A remote privileged user can exploit this vulnerability to perform a denial of service (DoS) attack.


26) Improper input validation (CVE-ID: CVE-2022-21451)

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.


27) 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.


28) 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.


29) 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.


30) 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.


31) 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.


32) 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.


33) 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.


34) 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.


35) 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.


36) 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.


37) Buffer overflow (CVE-ID: CVE-2022-27387)

The vulnerability allows a remote user to perform a denial of service attack.

The vulnerability exists due to buffer overflow error in the decimal_bin_size component. A remote user can send specially crafted SQL statements to the affected application, trigger buffer overflow error and perform a denial of service attack.

38) 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.


39) 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.


Remediation

Install update from vendor's website.