---
title: "CVE-2020-25685"
canonical_url: "https://pkgseek.com/security/CVE-2020-25685"
locale: "zh-CN"
source: "pkgseek"
entity_type: "cve"
severity: "low"
---

# CVE-2020-25685

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…

CVE-2020-25685 严重级别为 LOW (3.7)，共索引 4 条受影响软件包构建记录，涉及 2 个发行版。

- **级别 / 评分**: LOW (3.7)
- **受影响构建数**: 4
- **涉及发行版**: 2
- **已标明修复版本发行版**: Oracle Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 8 | dnsmasq | 2.79-13.el8 | 2.79-13.el8_3.1 |
| Oracle Linux | 8 | dnsmasq-utils | 2.79-13.el8 | 2.79-13.el8_3.1 |
| Ubuntu | focal | dnsmasq-base | 2.80-1.1ubuntu1 | 2.80-1.1ubuntu1.2 |
| Ubuntu | focal | dnsmasq-utils | 2.80-1.1ubuntu1 | 2.80-1.1ubuntu1.2 |
