dnsmasq-2.79-13.el8.1
エラータID: AXSA:2021-1363:03
以下項目について対処しました。
[Security Fix]
- dnsmasq には、DNSSEC データの確認前 の RRSets をソートする箇所にヒープ領域の
バッファーオーバーフローの問題があるため、攻撃者がネットワーク上に存在し、DNS の
応答を有効であるかのように偽造することが出来る場合、任意のヒープメモリーセグメントの
データを介してバッファーオーバーフローを引き起こし、マシン上のコードを実行することが
可能な脆弱性があります。(CVE-2020-25681)
- dnsmasq には、DNSSEC が有効で、かつ DNSSEC が受信した DNS エントリーを検証する前の
箇所にヒープ領域のバッファーオーバーフローの問題があるため、リモートの攻撃者が不正な DNS の
応答を作成出来る場合、dnsmassq のクラッシュやサービス拒否を引き起こすことの可能な脆弱性があります。
(CVE-2020-25683)
- dnsmasq の forward.c の reply_query() には、ネットワーク上のリモートの攻撃者がクエリーからの応答を
偽造して DNS キャッシュポイズニング攻撃を引き起こすことの可能な脆弱性があります。(CVE-2020-25684)
- dnsmasq の forward.c の reply_query() には、転送したクエリーから応答を受信する際、弱いハッシュ値のみを
用いてチェックを行うため、ネットワーク上の攻撃者が同じハッシュ値を持つ複数の異なるドメインを見つけ
出すために off-path 攻撃を行い、クエリーの応答を偽造して DNS キャッシュポイズニング攻撃を
引き起こすことの可能な脆弱性があります。(CVE-2020-25685)
- dnsmasq には、クエリーを受信する際に同じ名前の既存の保留中のリクエストをチェックせずに
新しいリクエストを転送する問題があり、ネットワーク上の DNS の問い合わせルートにいない攻撃者が、
dnsmasqによって受け入れられるリプライを偽造することで、誕生日攻撃が可能な脆弱性があります。
(CVE-2020-25686)
- dnsmasq には、DNSSEC が有効で、かつ DNSSEC が受信した DNS エントリーを検証する前の箇所に
ヒープ領域のバッファーオーバーフローの問題があるため、リモートの攻撃者が不正なDNSの応答を
作成出来る場合、 sort_rrset() 内の不正なサイズを用いて memcpy() を実行し、dnsmasq のクラッシュや
サービス拒否を引き起こすことの可能な脆弱性があります。(CVE-2020-25687)
パッケージをアップデートしてください。
A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in the way RRSets are sorted before validating with DNSSEC data. An attacker on the network, who can forge DNS replies such as that they are accepted as valid, could use this flaw to cause a buffer overflow with arbitrary data in a heap memory segment, possibly executing code on the machine. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
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.
A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in dnsmasq when DNSSEC is enabled and before it validates the received DNS entries. A remote attacker, who can create valid DNS replies, could use this flaw to cause an overflow in a heap-allocated memory. This flaw is caused by the lack of length checks in rfc1035.c:extract_name(), which could be abused to make the code execute memcpy() with a negative size in get_rdata() and cause a crash in dnsmasq, resulting in a denial of service. The highest threat from this vulnerability is to system availability.
A flaw was found in dnsmasq before version 2.83. When getting a reply from a forwarded query, dnsmasq checks in the forward.c:reply_query() if the reply destination address/port is used by the pending forwarded queries. However, it does not use the address/port to retrieve the exact forwarded query, substantially reducing the number of attempts an attacker on the network would have to perform to forge a reply and get it accepted by dnsmasq. This issue contrasts with RFC5452, which specifies a query's attributes that all must be used to match a reply. This flaw allows an attacker to perform a DNS Cache Poisoning attack. If chained with CVE-2020-25685 or CVE-2020-25686, the attack complexity of a successful attack is reduced. The highest threat from this vulnerability is to data integrity.
A flaw was found in dnsmasq before version 2.83. When getting a reply from a forwarded query, dnsmasq checks in forward.c:reply_query(), which is the forwarded query that matches the reply, by only using a weak hash of the query name. Due to the weak hash (CRC32 when dnsmasq is compiled without DNSSEC, SHA-1 when it is) this flaw allows an off-path attacker to find several different domains all having the same hash, substantially reducing the number of attempts they would have to perform to forge a reply and get it accepted by dnsmasq. This is in contrast with RFC5452, which specifies that the query name is one of the attributes of a query that must be used to match a reply. This flaw could be abused to perform a DNS Cache Poisoning attack. If chained with CVE-2020-25684 the attack complexity of a successful attack is reduced. The highest threat from this vulnerability is to data integrity.
A flaw was found in dnsmasq before version 2.83. When receiving a query, dnsmasq does not check for an existing pending request for the same name and forwards a new request. By default, a maximum of 150 pending queries can be sent to upstream servers, so there can be at most 150 queries for the same name. This flaw allows an off-path attacker on the network to substantially reduce the number of attempts that it would have to perform to forge a reply and have it accepted by dnsmasq. This issue is mentioned in the "Birthday Attacks" section of RFC5452. If chained with CVE-2020-25684, the attack complexity of a successful attack is reduced. The highest threat from this vulnerability is to data integrity.
A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in dnsmasq when DNSSEC is enabled and before it validates the received DNS entries. This flaw allows a remote attacker, who can create valid DNS replies, to cause an overflow in a heap-allocated memory. This flaw is caused by the lack of length checks in rfc1035.c:extract_name(), which could be abused to make the code execute memcpy() with a negative size in sort_rrset() and cause a crash in dnsmasq, resulting in a denial of service. The highest threat from this vulnerability is to system availability.
N/A
SRPMS
- dnsmasq-2.79-13.el8.1.src.rpm
MD5: 16ec628cbd50173671fcb1ccacd8cd16
SHA-256: eb2961cf8034fccc5fb3dcb91c4907ba2b812a8814009d47cce4e460ce1858c3
Size: 570.58 kB
Asianux Server 8 for x86_64
- dnsmasq-2.79-13.el8.1.x86_64.rpm
MD5: dd15573540270d4b525cb44bd6d282e8
SHA-256: 6db11da1985d157c157d87531fa140f06319aa488f9f7ef4a74689026eeb4ea5
Size: 317.34 kB - dnsmasq-utils-2.79-13.el8.1.x86_64.rpm
MD5: 031e4ac7ea58e910111428bf4697bc45
SHA-256: d5bbbae6408e7cb821480491cf2813eac16e77ff2b6b047275063f536167e6c2
Size: 53.97 kB