Heap-based buffer overflow in dnsmasq (Alpine package)



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-25687
CWE-ID CWE-122
Exploitation vector Network
Public exploit N/A
Vulnerable software
dnsmasq (Alpine package)
Operating systems & Components / Operating system package or component

Vendor Alpine Linux Development Team

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Heap-based buffer overflow

EUVDB-ID: #VU49846

Risk: Medium

CVSSv4.0: 4.6 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2020-25687

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

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error in rfc1035.c:extract_name(). A remote attacker can pass specially crafted data to the application, trigger heap-based buffer overflow and cause a denial of service condition on the target system.

Mitigation

Install update from vendor's website.

Vulnerable software versions

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

CPE2.3 External links

https://git.alpinelinux.org/aports/commit/?id=a15e4f2f871b2eba5b89654ccff9fb9b95f19cbc
https://git.alpinelinux.org/aports/commit/?id=8e0a99d327346c97a25d2e7103480d0c41c0f4e9
https://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###