{"api_version":"1","generated_at":"2026-04-22T16:03:54+00:00","cve":"CVE-2020-25681","urls":{"html":"https://cve.report/CVE-2020-25681","api":"https://cve.report/api/cve/CVE-2020-25681.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-25681","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-25681"},"summary":{"title":"CVE-2020-25681","description":"A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in the way RRSets are sorted before validating with DNSSEC data. An attacker on the network, who can forge DNS replies such as that they are accepted as valid, could use this flaw to cause a buffer overflow with arbitrary data in a heap memory segment, possibly executing code on the machine. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2021-01-20 17:15:00","updated_at":"2023-11-07 03:20:00"},"problem_types":["CWE-122"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WYW3IR6APUSKOYKL5FT3ACTIHWHGQY32/","name":"FEDORA-2021-84440e87ba","refsource":"FEDORA","tags":["Mailing List","Third Party Advisory"],"title":"[SECURITY] Fedora 33 Update: dnsmasq-2.83-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00027.html","name":"[debian-lts-announce] 20210322 [SECURITY] [DLA 2604-1] dnsmasq security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2604-1] dnsmasq security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QGB7HL3OWHTLEPSMLDGOMXQKG3KM2QME/","name":"FEDORA-2021-2e4c3d5a9d","refsource":"FEDORA","tags":["Mailing List","Third Party Advisory"],"title":"[SECURITY] Fedora 32 Update: dnsmasq-2.84-1.fc32 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1881875","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1881875","refsource":"MISC","tags":["Issue Tracking","Patch","Third Party Advisory"],"title":"1881875 – (CVE-2020-25681) CVE-2020-25681 dnsmasq: heap-based buffer overflow in sort_rrset() when DNSSEC is enabled","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WYW3IR6APUSKOYKL5FT3ACTIHWHGQY32/","name":"FEDORA-2021-84440e87ba","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: dnsmasq-2.83-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGB7HL3OWHTLEPSMLDGOMXQKG3KM2QME/","name":"FEDORA-2021-2e4c3d5a9d","refsource":"","tags":[],"title":"[SECURITY] Fedora 32 Update: dnsmasq-2.84-1.fc32 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/202101-17","name":"GLSA-202101-17","refsource":"GENTOO","tags":["Third Party Advisory"],"title":"Dnsmasq: Multiple vulnerabilities (GLSA 202101-17) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.jsof-tech.com/disclosures/dnspooq/","name":"https://www.jsof-tech.com/disclosures/dnspooq/","refsource":"MISC","tags":["Third Party Advisory"],"title":"DNSPOOQ - JSOF","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.debian.org/security/2021/dsa-4844","name":"DSA-4844","refsource":"DEBIAN","tags":["Third Party Advisory"],"title":"Debian -- Security Information -- DSA-4844-1 dnsmasq","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-25681","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-25681","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"25681","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"25681","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"25681","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"25681","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"32","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"25681","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"25681","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"32","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"25681","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"25681","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"thekelleys","cpe5":"dnsmasq","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"25681","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"thekelleys","cpe5":"dnsmasq","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-25681","qid":"161048","title":"Oracle Enterprise Linux Security Update for dnsmasq (ELSA-2023-12972)"},{"cve":"CVE-2020-25681","qid":"161049","title":"Oracle Enterprise Linux Security Update for dnsmasq (ELSA-2023-12971)"},{"cve":"CVE-2020-25681","qid":"178499","title":"Debian Security Update for dnsmasq (DLA 2604-1)"},{"cve":"CVE-2020-25681","qid":"296069","title":"Oracle Solaris 11.4 Support Repository Update (SRU) 31.88.5 Missing (CPUJAN2021)"},{"cve":"CVE-2020-25681","qid":"377140","title":"Alibaba Cloud Linux Security Update for dnsmasq (ALINUX3-SA-2021:0009)"},{"cve":"CVE-2020-25681","qid":"500150","title":"Alpine Linux Security Update for dnsmasq"},{"cve":"CVE-2020-25681","qid":"503800","title":"Alpine Linux Security Update for dnsmasq"},{"cve":"CVE-2020-25681","qid":"670173","title":"EulerOS Security Update for dnsmasq (EulerOS-SA-2021-1673)"},{"cve":"CVE-2020-25681","qid":"690442","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for dnsmasq (5b5cf6e5-5b51-11eb-95ac-7f9491278677)"},{"cve":"CVE-2020-25681","qid":"750407","title":"OpenSUSE Security Update for dnsmasq (openSUSE-SU-2021:0129-1)"},{"cve":"CVE-2020-25681","qid":"750409","title":"OpenSUSE Security Update for dnsmasq (openSUSE-SU-2021:0124-1)"},{"cve":"CVE-2020-25681","qid":"900068","title":"CBL-Mariner Linux Security Update for dnsmasq 2.79"},{"cve":"CVE-2020-25681","qid":"903216","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for dnsmasq (3813)"},{"cve":"CVE-2020-25681","qid":"940396","title":"AlmaLinux Security Update for dnsmasq (ALSA-2021:0150)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2020-25681","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"dnsmasq","version":{"version_data":[{"version_value":"dnsmasq 2.83"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-122"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://www.jsof-tech.com/disclosures/dnspooq/","url":"https://www.jsof-tech.com/disclosures/dnspooq/"},{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1881875","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1881875"},{"refsource":"FEDORA","name":"FEDORA-2021-84440e87ba","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WYW3IR6APUSKOYKL5FT3ACTIHWHGQY32/"},{"refsource":"GENTOO","name":"GLSA-202101-17","url":"https://security.gentoo.org/glsa/202101-17"},{"refsource":"DEBIAN","name":"DSA-4844","url":"https://www.debian.org/security/2021/dsa-4844"},{"refsource":"FEDORA","name":"FEDORA-2021-2e4c3d5a9d","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QGB7HL3OWHTLEPSMLDGOMXQKG3KM2QME/"},{"refsource":"MLIST","name":"[debian-lts-announce] 20210322 [SECURITY] [DLA 2604-1] dnsmasq security update","url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00027.html"}]},"description":{"description_data":[{"lang":"eng","value":"A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in the way RRSets are sorted before validating with DNSSEC data. An attacker on the network, who can forge DNS replies such as that they are accepted as valid, could use this flaw to cause a buffer overflow with arbitrary data in a heap memory segment, possibly executing code on the machine. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability."}]}},"nvd":{"publishedDate":"2021-01-20 17:15:00","lastModifiedDate":"2023-11-07 03:20:00","problem_types":["CWE-122"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH"},"exploitabilityScore":2.2,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:C","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"COMPLETE","baseScore":8.3},"severity":"HIGH","exploitabilityScore":8.6,"impactScore":8.5,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:thekelleys:dnsmasq:*:*:*:*:*:*:*:*","versionEndExcluding":"2.83","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"25681","Ordinal":"187098","Title":"CVE-2020-25681","CVE":"CVE-2020-25681","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"25681","Ordinal":"1","NoteData":"A flaw was found in dnsmasq before version 2.83. A heap-based buffer overflow was discovered in the way RRSets are sorted before validating with DNSSEC data. An attacker on the network, who can forge DNS replies such as that they are accepted as valid, could use this flaw to cause a buffer overflow with arbitrary data in a heap memory segment, possibly executing code on the machine. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"25681","Ordinal":"2","NoteData":"2021-01-20","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"25681","Ordinal":"3","NoteData":"2021-03-22","Type":"Other","Title":"Modified"}]}}}