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

# 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…

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

- **级别 / 评分**: HIGH (8.1)
- **受影响构建数**: 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 |
