製品・ソフトウェアに関する情報
dnsmasq における境界外書き込みに関する脆弱性
Title dnsmasq における境界外書き込みに関する脆弱性
Summary

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

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

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

Publication Date Sept. 23, 2020, midnight
Registration Date Oct. 4, 2021, 5:30 p.m.
Last Update Oct. 4, 2021, 5:30 p.m.
CVSS3.0 : 重要
Score 8.1
Vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS2.0 : 危険
Score 8.3
Vector AV:N/AC:M/Au:N/C:P/I:P/A:C
Affected System
Debian
Debian GNU/Linux 
Fedora Project
Fedora 
thekelleys
Dnsmasq 2.83 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2021年10月04日]
  掲載
Oct. 4, 2021, 5:30 p.m.

NVD Vulnerability Information
CVE-2020-25682
Summary

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.

Publication Date Jan. 21, 2021, 2:15 a.m.
Registration Date Jan. 26, 2021, 10:40 a.m.
Last Update Nov. 21, 2024, 2:18 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:thekelleys:dnsmasq:*:*:*:*:*:*:*:* 2.83
Configuration2 or higher or less more than less than
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
Configuration3 or higher or less more than less than
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List