Heap-based buffer overflow in dnsmasq (Alpine package)



Published: 2021-01-20
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-25681
CWE-ID CWE-122
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
dnsmasq (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Heap-based buffer overflow

EUVDB-ID: #VU49840

Risk: High

CVSSv3.1: 7.1 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2020-25681

CWE-ID: CWE-122 - Heap-based Buffer Overflow

Exploit availability: No

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in "sort_rrset()" when DNSSEC is used. A remote attacker can pass specially crafted data to the application, trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

dnsmasq (Alpine package): 2.81-r0 - 2.82-r0

External links

http://git.alpinelinux.org/aports/commit/?id=a15e4f2f871b2eba5b89654ccff9fb9b95f19cbc
http://git.alpinelinux.org/aports/commit/?id=0bb6e1e51413b6e390e0fe2471e60057346ce519
http://git.alpinelinux.org/aports/commit/?id=8e0a99d327346c97a25d2e7103480d0c41c0f4e9
http://git.alpinelinux.org/aports/commit/?id=b0ea8cb6658527d733f801d3183d555681f18da2


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###