| Summary | 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. |
|---|---|
| Publication Date | Jan. 21, 2021, 1:15 a.m. |
| Registration Date | Jan. 26, 2021, 10:40 a.m. |
| Last Update | Nov. 21, 2024, 2:18 p.m. |
| CVSS3.1 : LOW | |
| スコア | 3.7 |
|---|---|
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 高 |
| 攻撃に必要な特権レベル(PR) | 不要 |
| 利用者の関与(UI) | 不要 |
| 影響の想定範囲(S) | 変更なし |
| 機密性への影響(C) | なし |
| 完全性への影響(I) | 低 |
| 可用性への影響(A) | なし |
| CVSS2.0 : MEDIUM | |
| Score | 4.3 |
|---|---|
| Vector | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| 攻撃元区分(AV) | ネットワーク |
| 攻撃条件の複雑さ(AC) | 中 |
| 攻撃前の認証要否(Au) | 不要 |
| 機密性への影響(C) | なし |
| 完全性への影響(I) | 低 |
| 可用性への影響(A) | なし |
| Get all privileges. | いいえ |
| Get user privileges | いいえ |
| Get other privileges | いいえ |
| User operation required | いいえ |
| 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:10.0:*:*:*:*:*:*:* | |||||
| Configuration4 | or higher | or less | more than | less than | |
| cpe:2.3:o:arista:eos:*:*:*:*:*:*:*:* | 4.21 | 4.21.14m | |||
| cpe:2.3:o:arista:eos:*:*:*:*:*:*:*:* | 4.22 | 4.22.9m | |||
| cpe:2.3:o:arista:eos:*:*:*:*:*:*:*:* | 4.23 | 4.23.7m | |||
| cpe:2.3:o:arista:eos:*:*:*:*:*:*:*:* | 4.24 | 4.24.5m | |||
| cpe:2.3:o:arista:eos:*:*:*:*:*:*:*:* | 4.25 | 4.25.2f | |||
| Title | dnsmasq におけるセキュリティチェックに関する脆弱性 |
|---|---|
| Summary | dnsmasq には、セキュリティチェックに関する脆弱性が存在します。 |
| Possible impacts | 情報を改ざんされる可能性があります。 |
| Solution | ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | Oct. 20, 2020, midnight |
| Registration Date | Oct. 4, 2021, 5:30 p.m. |
| Last Update | Oct. 4, 2021, 5:30 p.m. |
| Debian |
| Debian GNU/Linux |
| Fedora Project |
| Fedora |
| thekelleys |
| Dnsmasq 2.83 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2021年10月04日] 掲載 |
Oct. 4, 2021, 5:30 p.m. |