Debian DLA-2783-1:hiredis - LTS 安全性更新

high Nessus Plugin ID 154021

概要

遠端 Debian 主機缺少安全性相關更新。

說明

遠端 Debian 9 主機上安裝的多個套件受到 dla-2783 公告中提及的一個弱點影響。

- Hiredis 是 Redis 資料庫的極簡 C 用戶端程式庫。如果提供惡意特製或損毀的「RESP」「mult-bulk」通訊協定資料,在受影響的 Hiredis 版本容易受到整數溢位弱點影響。剖析「multi-bulk」(類似陣列) 回覆時,hiredis 未檢查「count * sizeof(redisReply*)」是否可以在「SIZE_MAX」中表示。如果不能,並且「calloc()」呼叫本身不會進行此檢查,則會導致配置不足並於隨後造成緩衝區溢位。無法更新的 hiredis 使用者可將 [maxelements] (https://github.com/redis/hiredis#reader-max-array-elements) 內容選項設定為足夠小的值,以免發生溢位。(CVE-2021-32765)

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

解決方案

升級 hiredis 套件。

針對 Debian 9 Stretch,已在 0.13.3-1+deb9u1 版本中修正這些問題。

另請參閱

https://www.debian.org/lts/security/2021/dla-2783

https://security-tracker.debian.org/tracker/CVE-2021-32765

https://packages.debian.org/source/stretch/hiredis

Plugin 詳細資訊

嚴重性: High

ID: 154021

檔案名稱: debian_DLA-2783.nasl

版本: 1.2

類型: local

代理程式: unix

已發布: 2021/10/12

已更新: 2021/10/12

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

風險資訊

VPR

風險因素: Medium

分數: 5.9

CVSS v2

風險因素: Medium

基本分數: 6.5

時間分數: 4.8

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

CVSS 評分資料來源: CVE-2021-32765

CVSS v3

風險因素: High

基本分數: 8.8

時間分數: 7.7

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

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

弱點資訊

CPE: p-cpe:/a:debian:debian_linux:libhiredis-dbg, p-cpe:/a:debian:debian_linux:libhiredis-dev, p-cpe:/a:debian:debian_linux:libhiredis0.13, cpe:/o:debian:debian_linux:9.0

必要的 KB 項目: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

可輕鬆利用: No known exploits are available

修補程式發佈日期: 2021/10/12

弱點發布日期: 2021/10/4

參考資訊

CVE: CVE-2021-32765