Debian DSA-4881-1:curl - 安全性更新

high Nessus Plugin ID 148277

概要

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

說明

在 URL 傳輸庫 cURL 中發現多個弱點:

- CVE-2020-8169 Marek Szlagor 報告,遭誘騙的 libcurl 庫可在解析主機名稱之前在前面加上部分密碼,這可能會透過網路和 DNS 伺服器洩漏部分密碼。

- CVE-2020-8177 sn 報告,在相同命令行中使用 -J (--remote-header-name) 和 -i (--include) 選項時,curl 可遭惡意伺服器誘騙而覆寫本機檔案。

- CVE-2020-8231 Marc Aldorasi 報告,當使用 libcurl 的 multi API 的應用程式設定選項 CURLOPT_CONNECT_ONLY 時,libcurl 可能會使用錯誤的連線,這可導致資訊洩漏。

- CVE-2020-8284 Varnavas Papaioannou 報告,惡意伺服器可利用 PASV 回應誘騙 curl 連回指定的 IP 位址和連接埠,這樣有可能會讓 curl 擷取本應為私密的未公開服務資訊。

- CVE-2020-8285 xnynx 報告,使用 FTP 萬用字元比對功能 (CURLOPT_CHUNK_BGN_FUNCTION) 時,libcurl 可能會耗盡堆疊空間。

- CVE-2020-8286 據報告,libcurl 並未驗證 OCSP 回應是否確實符合其預定的憑證。

- CVE-2021-22876 Viktor Szakats 報告,在傳出 HTTP 要求中自動填入 Referer HTTP 要求標頭欄位時,libcurl 未去除 URL 的使用者認證。

- CVE-2021-22890 Mingtao Yang 報告,使用 HTTPS 代理伺服器和 TLS 1.3 時,libcurl 可能會混淆來自 HTTPS 代理伺服器的工作階段票證,將其當作來自遠端伺服器一樣運作。這讓 HTTPS Proxy 可誘騙 libcurl 使用錯誤的主機工作階段票證,進而規避伺服器 TLS 憑證檢查。

解決方案

升級 curl 套件。

針對穩定的發行版本 (buster),已在 7.64.0-4+deb10u2 版本中修正這些問題。

另請參閱

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965280

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965281

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968831

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977161

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977162

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977163

https://security-tracker.debian.org/tracker/CVE-2020-8169

https://security-tracker.debian.org/tracker/CVE-2020-8177

https://security-tracker.debian.org/tracker/CVE-2020-8231

https://security-tracker.debian.org/tracker/CVE-2020-8284

https://security-tracker.debian.org/tracker/CVE-2020-8285

https://security-tracker.debian.org/tracker/CVE-2020-8286

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

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

https://security-tracker.debian.org/tracker/source-package/curl

https://packages.debian.org/source/buster/curl

https://www.debian.org/security/2021/dsa-4881

Plugin 詳細資訊

嚴重性: High

ID: 148277

檔案名稱: debian_DSA-4881.nasl

版本: 1.11

類型: local

代理程式: unix

已發布: 2021/4/1

已更新: 2024/1/16

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

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: Medium

基本分數: 5

時間分數: 3.9

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

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

CVSS v3

風險因素: High

基本分數: 7.8

時間分數: 7

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

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

CVSS 評分資料來源: CVE-2020-8177

弱點資訊

CPE: p-cpe:/a:debian:debian_linux:curl, cpe:/o:debian:debian_linux:10.0

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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2021/3/30

弱點發布日期: 2020/12/14

參考資訊

CVE: CVE-2020-8169, CVE-2020-8177, CVE-2020-8231, CVE-2020-8284, CVE-2020-8285, CVE-2020-8286, CVE-2021-22876, CVE-2021-22890

DSA: 4881