dnsmasq における境界外書き込みに関する脆弱性
タイトル dnsmasq における境界外書き込みに関する脆弱性
概要

dnsmasq には、境界外書き込みに関する脆弱性が存在します。

想定される影響 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
対策

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

公表日 2020年9月23日0:00
登録日 2021年10月4日17:30
最終更新日 2021年10月4日17:30
CVSS3.0 : 重要
スコア 8.1
ベクター CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS2.0 : 危険
スコア 8.3
ベクター AV:N/AC:M/Au:N/C:P/I:P/A:C
影響を受けるシステム
Debian
Debian GNU/Linux 
Fedora Project
Fedora 
thekelleys
Dnsmasq 2.83 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2021年10月04日]
  掲載
2021年10月4日17:30

NVD脆弱性情報
CVE-2020-25682
概要

A flaw was found in dnsmasq before 2.83. A buffer overflow vulnerability was discovered in the way dnsmasq extract names from DNS packets before validating them with DNSSEC data. An attacker on the network, who can create valid DNS replies, could use this flaw to cause an overflow with arbitrary data in a heap-allocated memory, possibly executing code on the machine. The flaw is in the rfc1035.c:extract_name() function, which writes data to the memory pointed by name assuming MAXDNAME*2 bytes are available in the buffer. However, in some code execution paths, it is possible extract_name() gets passed an offset from the base buffer, thus reducing, in practice, the number of available bytes that can be written in the buffer. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

公表日 2021年1月21日2:15
登録日 2021年1月26日10:40
最終更新日 2024年11月21日14:18
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:thekelleys:dnsmasq:*:*:*:*:*:*:*:* 2.83
構成2 以上 以下 より上 未満
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
構成3 以上 以下 より上 未満
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
関連情報、対策とツール
共通脆弱性一覧