Amazon Linux 2:mariadb (ALAS-2023-2057)

high Nessus 插件 ID 176703

简介

远程 Amazon Linux 2 主机缺少安全更新。

描述

远程主机上安装的 mariadb 版本低于 5.5.68-1。因此,它受到 ALAS2-2023-2057 公告中提及的多个漏洞影响。

- MariaDB 10.6.2 之前版本中的 get_sort_by_table 允许通过使用 ORDER BY 的特定子查询造成应用程序崩溃。(CVE-2021-46657)

- 10.7.2 之前的 MariaDB 版本允许造成应用程序崩溃,因为它无法识别 SELECT_LEX: : nest_level 对于每个 VIEW 而言都是本地对象。(CVE-2021-46659)

- MariaDB 10.5.9 及之前版本允许通过未使用的公用表表达式 (CTE) 在 find_field_in_tables 和 find_order_in_list 中造成应用程序崩溃。(CVE-2021-46661)

- MariaDB 10.5.13 及之前版本允许通过特定 SELECT 语句造成 ha_maria: : extra 应用程序崩溃。
(CVE-2021-46663)

- MariaDB 10.6.2 之前版本允许通过不当处理从 HAVING 子句到 WHERE 子句的下推而造成应用程序崩溃。(CVE-2021-46666)

- MariaDB 10.6.5 之前版本的 sql_lex.cc 中存在一个整数溢出漏洞,可导致应用程序崩溃。(CVE-2021-46667)

- MariaDB 10.5.9 及之前版本允许通过特定 SELECT DISTINCT 长语句与临时数据结构的存储引擎资源限制进行不当交互,从而导致应用程序崩溃。
(CVE-2021-46668)

- 组件 my_decimal: : operator= 中存在一个问题,该问题允许攻击者通过特制的 SQL 语句造成拒绝服务 (DoS)。(CVE-2022-27380)

- 组件 Item_subselect: : init_expr_cache_tracker 中存在一个问题,该问题允许攻击者通过特制的 SQL 语句造成拒绝服务 (DoS)。
(CVE-2022-27384)

- 10.7 之前的 MariaDB 服务器易受拒绝服务攻击。执行 plugin/server_audit/server_audit.c 方法 log_statement_ex 时,未正确释放保留的锁定 lock_bigbuffer,这让本地用户可以因死锁而触发拒绝服务。(CVE-2022-31624)

请注意,Nessus 尚未测试这些问题,而是只依据应用程序自我报告的版本号进行判断。

解决方案

运行 'yum update mariadb' 以更新系统。

另见

https://alas.aws.amazon.com/AL2/ALAS-2023-2057.html

https://alas.aws.amazon.com/cve/html/CVE-2021-46657.html

https://alas.aws.amazon.com/cve/html/CVE-2021-46659.html

https://alas.aws.amazon.com/cve/html/CVE-2021-46661.html

https://alas.aws.amazon.com/cve/html/CVE-2021-46663.html

https://alas.aws.amazon.com/cve/html/CVE-2021-46666.html

https://alas.aws.amazon.com/cve/html/CVE-2021-46667.html

https://alas.aws.amazon.com/cve/html/CVE-2021-46668.html

https://alas.aws.amazon.com/cve/html/CVE-2022-27380.html

https://alas.aws.amazon.com/cve/html/CVE-2022-27384.html

https://alas.aws.amazon.com/cve/html/CVE-2022-31624.html

https://alas.aws.amazon.com/faqs.html

插件详情

严重性: High

ID: 176703

文件名: al2_ALAS-2023-2057.nasl

版本: 1.2

类型: local

代理: unix

发布时间: 2023/6/5

最近更新时间: 2024/12/11

支持的传感器: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

风险信息

VPR

风险因素: Medium

分数: 4.4

CVSS v2

风险因素: Medium

基本分数: 5

时间分数: 3.9

矢量: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS 分数来源: CVE-2022-27384

CVSS v3

风险因素: High

基本分数: 7.5

时间分数: 6.7

矢量: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

时间矢量: CVSS:3.0/E:P/RL:O/RC:C

漏洞信息

CPE: p-cpe:/a:amazon:linux:mariadb-libs, p-cpe:/a:amazon:linux:mariadb-embedded, p-cpe:/a:amazon:linux:mariadb-server, p-cpe:/a:amazon:linux:mariadb-bench, p-cpe:/a:amazon:linux:mariadb, p-cpe:/a:amazon:linux:mariadb-embedded-devel, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:mariadb-test, p-cpe:/a:amazon:linux:mariadb-debuginfo, p-cpe:/a:amazon:linux:mariadb-devel

必需的 KB 项: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

可利用: true

易利用性: Exploits are available

补丁发布日期: 2023/5/25

漏洞发布日期: 2022/1/29

参考资料信息

CVE: CVE-2021-46657, CVE-2021-46659, CVE-2021-46661, CVE-2021-46663, CVE-2021-46666, CVE-2021-46667, CVE-2021-46668, CVE-2022-27380, CVE-2022-27384, CVE-2022-31624