{"id":"USN-4698-1","summary":"dnsmasq vulnerabilities","details":"Moshe Kol and Shlomi Oberman discovered that Dnsmasq incorrectly handled\nmemory when sorting RRsets. A remote attacker could use this issue to cause\nDnsmasq to hang, resulting in a denial of service, or possibly execute\narbitrary code. (CVE-2020-25681, CVE-2020-25687)\n\nMoshe Kol and Shlomi Oberman discovered that Dnsmasq incorrectly handled\nextracting certain names. A remote attacker could use this issue to cause\nDnsmasq to hang, resulting in a denial of service, or possibly execute\narbitrary code. (CVE-2020-25682, CVE-2020-25683)\n\nMoshe Kol and Shlomi Oberman discovered that Dnsmasq incorrectly\nimplemented address/port checks. A remote attacker could use this issue to\nperform a cache poisoning attack. (CVE-2020-25684)\n\nMoshe Kol and Shlomi Oberman discovered that Dnsmasq incorrectly\nimplemented query resource name checks. A remote attacker could use this\nissue to perform a cache poisoning attack. (CVE-2020-25685)\n\nMoshe Kol and Shlomi Oberman discovered that Dnsmasq incorrectly handled\nmultiple query requests for the same resource name. A remote attacker could\nuse this issue to perform a cache poisoning attack. (CVE-2020-25686)\n\nIt was discovered that Dnsmasq incorrectly handled memory during DHCP\nresponse creation. A remote attacker could possibly use this issue to\ncause Dnsmasq to consume resources, leading to a denial of service. This\nissue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04\nLTS. (CVE-2019-14834)\n","modified":"2026-02-10T04:42:02Z","published":"2021-01-19T12:48:33Z","related":["UBUNTU-CVE-2019-14834","UBUNTU-CVE-2020-25681","UBUNTU-CVE-2020-25682","UBUNTU-CVE-2020-25683","UBUNTU-CVE-2020-25684","UBUNTU-CVE-2020-25685","UBUNTU-CVE-2020-25686","UBUNTU-CVE-2020-25687"],"upstream":["CVE-2019-14834","CVE-2020-25681","CVE-2020-25682","CVE-2020-25683","CVE-2020-25684","CVE-2020-25685","CVE-2020-25686","CVE-2020-25687","UBUNTU-CVE-2019-14834","UBUNTU-CVE-2020-25681","UBUNTU-CVE-2020-25682","UBUNTU-CVE-2020-25683","UBUNTU-CVE-2020-25684","UBUNTU-CVE-2020-25685","UBUNTU-CVE-2020-25686","UBUNTU-CVE-2020-25687"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4698-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-14834"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-25681"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-25682"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-25683"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-25684"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-25685"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-25686"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-25687"}],"affected":[{"package":{"name":"dnsmasq","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/dnsmasq@2.75-1ubuntu0.16.04.7?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.75-1ubuntu0.16.04.7"}]}],"versions":["2.75-1","2.75-1ubuntu0.16.04.1","2.75-1ubuntu0.16.04.2","2.75-1ubuntu0.16.04.3","2.75-1ubuntu0.16.04.4","2.75-1ubuntu0.16.04.5"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"dnsmasq","binary_version":"2.75-1ubuntu0.16.04.7"},{"binary_name":"dnsmasq-base","binary_version":"2.75-1ubuntu0.16.04.7"},{"binary_name":"dnsmasq-utils","binary_version":"2.75-1ubuntu0.16.04.7"}]},"database_specific":{"cves_map":{"cves":[{"severity":[{"score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}],"id":"CVE-2019-14834"},{"id":"CVE-2020-25681","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2020-25682"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2020-25683"},{"id":"CVE-2020-25684","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2020-25685","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2020-25686","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2020-25687","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:16.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4698-1.json"}},{"package":{"name":"dnsmasq","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/dnsmasq@2.79-1ubuntu0.2?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.79-1ubuntu0.2"}]}],"versions":["2.78-1","2.78-3","2.79-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"dnsmasq","binary_version":"2.79-1ubuntu0.2"},{"binary_name":"dnsmasq-base","binary_version":"2.79-1ubuntu0.2"},{"binary_name":"dnsmasq-base-lua","binary_version":"2.79-1ubuntu0.2"},{"binary_name":"dnsmasq-utils","binary_version":"2.79-1ubuntu0.2"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2019-14834","severity":[{"score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2020-25681"},{"id":"CVE-2020-25682","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2020-25683"},{"severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2020-25684"},{"id":"CVE-2020-25685","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2020-25686","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2020-25687","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:18.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4698-1.json"}},{"package":{"name":"dnsmasq","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/dnsmasq@2.80-1.1ubuntu1.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.80-1.1ubuntu1.2"}]}],"versions":["2.80-1ubuntu2","2.80-1ubuntu4","2.80-1.1ubuntu1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"dnsmasq","binary_version":"2.80-1.1ubuntu1.2"},{"binary_name":"dnsmasq-base","binary_version":"2.80-1.1ubuntu1.2"},{"binary_name":"dnsmasq-base-lua","binary_version":"2.80-1.1ubuntu1.2"},{"binary_version":"2.80-1.1ubuntu1.2","binary_name":"dnsmasq-utils"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2019-14834","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L","type":"CVSS_V3"},{"score":"low","type":"Ubuntu"}]},{"id":"CVE-2020-25681","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2020-25682","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2020-25683","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2020-25684","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2020-25685","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2020-25686","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2020-25687","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]}],"ecosystem":"Ubuntu:20.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4698-1.json"}}],"schema_version":"1.7.3"}