Amazon Linux 2:vim (ALAS-2023-1975)

high Nessus Plugin ID 172151

概要

遠端 Amazon Linux 2 主機缺少安全性更新。

說明

因此,會受到 ALAS2-2023-1975 公告中所提及的多個弱點影響。

- GitHub 存放庫 vim/vim 9.0.0061 更早版本中存在堆積型緩衝區溢位弱點。(CVE-2022-2522)

- GitHub 存放庫 vim/vim 9.0.0101 更早版本中存在堆積型緩衝區溢位弱點。(CVE-2022-2571)

- GitHub 存放庫 vim/vim 9.0.0102 更早版本中存在堆積型緩衝區溢位弱點。(CVE-2022-2580)

- GitHub 存放庫 vim/vim 9.0.0104 更舊版本中存在超出邊界讀取弱點。(CVE-2022-2581)

- GitHub 存放庫 vim/vim 9.0.0224 更舊版本中存在 NULL 指標解除參照。(CVE-2022-2874)

- GitHub 存放庫 vim/vim 9.0.0389 更舊版本中存在釋放後使用弱點。(CVE-2022-3134)

- GitHub 存放庫 vim/vim 9.0.0404 更舊版本中存在 NULL 指標解除參照。(CVE-2022-3153)

- GitHub 存放庫 vim/vim 9.0.0483 更早版本中存在堆積型緩衝區溢位弱點。(CVE-2022-3234)

- GitHub 存放庫 vim/vim 9.0.0490 更舊版本中存在釋放後使用弱點。(CVE-2022-3235)

- GitHub 存放庫 vim/vim 9.0.0530 更舊版本中存在釋放後使用弱點。(CVE-2022-3256)

- GitHub 存放庫 vim/vim 9.0.0552 更舊版本中存在 NULL 指標解除參照。(CVE-2022-3278)

- GitHub 存放庫 vim/vim 9.0.0577 之前版本中存在堆疊型緩衝區溢位弱點。(CVE-2022-3296)

- GitHub 存放庫 vim/vim 9.0.0579 更舊版本中存在釋放後使用弱點。(CVE-2022-3297)

- GitHub 存放庫 vim/vim 9.0.0598 之前版本中存在堆疊型緩衝區溢位弱點。(CVE-2022-3324)

- GitHub 存放庫 vim/vim 9.0.0614 更舊版本中存在釋放後使用弱點。(CVE-2022-3352)

- GitHub 存放庫 vim/vim 9.0.0742 更早版本中存在堆積型緩衝區溢位弱點。(CVE-2022-3491)

- 在 vim 8.1.2269 到 9.0.0339 版中,在 gui_x11.c 的 gui_x11_create_blank_mouse 函式中發現一個 null 指標解除參照問題,其允許攻擊者造成拒絕服務或其他不明影響。
(CVE-2022-47024)

- GitHub 存放庫 vim/vim 9.0.1144 更早版本中存在堆積型緩衝區溢位弱點。(CVE-2023-0051)

- GitHub 存放庫 vim/vim 9.0.1145 更舊版本中存在超出邊界寫入弱點。(CVE-2023-0054)

- GitHub 存放庫 vim/vim 9.0.1189 更早版本中存在堆積型緩衝區溢位弱點。(CVE-2023-0288)

- GitHub 存放庫 vim/vim 9.0.1225 更早版本中存在堆積型緩衝區溢位弱點。(CVE-2023-0433)

- GitHub 存放庫 vim/vim 9.0.1247 更舊版本中存在除以零弱點。(CVE-2023-0512)

請注意,Nessus 並未測試這些問題,而是僅依據應用程式自我報告的版本號碼。

解決方案

執行「yum update vim」以更新系統。

另請參閱

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

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

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

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

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

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

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

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

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

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

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

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

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

https://alas.aws.amazon.com/cve/html/CVE-2023-0051.html

https://alas.aws.amazon.com/cve/html/CVE-2023-0054.html

https://alas.aws.amazon.com/cve/html/CVE-2023-0288.html

https://alas.aws.amazon.com/cve/html/CVE-2023-0433.html

https://alas.aws.amazon.com/cve/html/CVE-2023-0512.html

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

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

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

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

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

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

Plugin 詳細資訊

嚴重性: High

ID: 172151

檔案名稱: al2_ALAS-2023-1975.nasl

版本: 1.5

類型: local

代理程式: unix

已發布: 2023/3/7

已更新: 2023/8/31

支援的感應器: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 7.2

時間分數: 5.6

媒介: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS 評分資料來源: CVE-2023-0512

CVSS v3

風險因素: High

基本分數: 7.8

時間分數: 7

媒介: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

時間媒介: CVSS:3.0/E:P/RL:O/RC:C

弱點資訊

CPE: p-cpe:/a:amazon:linux:vim-x11, p-cpe:/a:amazon:linux:vim-common, p-cpe:/a:amazon:linux:vim-data, p-cpe:/a:amazon:linux:vim-debuginfo, p-cpe:/a:amazon:linux:vim-enhanced, p-cpe:/a:amazon:linux:vim-filesystem, p-cpe:/a:amazon:linux:vim-minimal, cpe:/o:amazon:linux:2

必要的 KB 項目: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2023/3/2

弱點發布日期: 2022/7/25

參考資訊

CVE: CVE-2022-2522, CVE-2022-2571, CVE-2022-2580, CVE-2022-2581, CVE-2022-2874, CVE-2022-3134, CVE-2022-3153, CVE-2022-3234, CVE-2022-3235, CVE-2022-3256, CVE-2022-3278, CVE-2022-3296, CVE-2022-3297, CVE-2022-3324, CVE-2022-3352, CVE-2022-3491, CVE-2022-47024, CVE-2023-0051, CVE-2023-0054, CVE-2023-0288, CVE-2023-0433, CVE-2023-0512

IAVB: 2023-B-0016-S, 2023-B-0018-S