USN-4698-2

Source
https://ubuntu.com/security/notices/USN-4698-2
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4698-2.json
JSON Data
https://api.osv.dev/v1/vulns/USN-4698-2
Published
2021-02-24T13:43:44Z
Modified
2026-02-10T04:42:02Z
Summary
dnsmasq regression
Details

USN-4698-1 fixed vulnerabilities in Dnsmasq. The updates introduced regressions in certain environments related to issues with multiple queries, and issues with retries. This update fixes the problem.

Original advisory details:

Moshe Kol and Shlomi Oberman discovered that Dnsmasq incorrectly handled memory when sorting RRsets. A remote attacker could use this issue to cause Dnsmasq to hang, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2020-25681, CVE-2020-25687)

Moshe Kol and Shlomi Oberman discovered that Dnsmasq incorrectly handled extracting certain names. A remote attacker could use this issue to cause Dnsmasq to hang, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2020-25682, CVE-2020-25683)

Moshe Kol and Shlomi Oberman discovered that Dnsmasq incorrectly implemented address/port checks. A remote attacker could use this issue to perform a cache poisoning attack. (CVE-2020-25684)

Moshe Kol and Shlomi Oberman discovered that Dnsmasq incorrectly implemented query resource name checks. A remote attacker could use this issue to perform a cache poisoning attack. (CVE-2020-25685)

Moshe Kol and Shlomi Oberman discovered that Dnsmasq incorrectly handled multiple query requests for the same resource name. A remote attacker could use this issue to perform a cache poisoning attack. (CVE-2020-25686)

It was discovered that Dnsmasq incorrectly handled memory during DHCP response creation. A remote attacker could possibly use this issue to cause Dnsmasq to consume resources, leading to a denial of service. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS. (CVE-2019-14834)

References

Affected packages

Ubuntu:16.04:LTS / dnsmasq

Package

Name
dnsmasq
Purl
pkg:deb/ubuntu/dnsmasq@2.75-1ubuntu0.16.04.8?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.75-1ubuntu0.16.04.8

Affected versions

2.*
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
2.75-1ubuntu0.16.04.7

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.75-1ubuntu0.16.04.8",
            "binary_name": "dnsmasq"
        },
        {
            "binary_version": "2.75-1ubuntu0.16.04.8",
            "binary_name": "dnsmasq-base"
        },
        {
            "binary_version": "2.75-1ubuntu0.16.04.8",
            "binary_name": "dnsmasq-utils"
        }
    ],
    "availability": "No subscription required"
}

Database specific

cves_map
{
    "cves": [],
    "ecosystem": "Ubuntu:16.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4698-2.json"

Ubuntu:18.04:LTS / dnsmasq

Package

Name
dnsmasq
Purl
pkg:deb/ubuntu/dnsmasq@2.79-1ubuntu0.3?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.79-1ubuntu0.3

Affected versions

2.*
2.78-1
2.78-3
2.79-1
2.79-1ubuntu0.2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.79-1ubuntu0.3",
            "binary_name": "dnsmasq"
        },
        {
            "binary_version": "2.79-1ubuntu0.3",
            "binary_name": "dnsmasq-base"
        },
        {
            "binary_version": "2.79-1ubuntu0.3",
            "binary_name": "dnsmasq-base-lua"
        },
        {
            "binary_version": "2.79-1ubuntu0.3",
            "binary_name": "dnsmasq-utils"
        }
    ],
    "availability": "No subscription required"
}

Database specific

cves_map
{
    "cves": [],
    "ecosystem": "Ubuntu:18.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4698-2.json"

Ubuntu:20.04:LTS / dnsmasq

Package

Name
dnsmasq
Purl
pkg:deb/ubuntu/dnsmasq@2.80-1.1ubuntu1.3?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.80-1.1ubuntu1.3

Affected versions

2.*
2.80-1ubuntu2
2.80-1ubuntu4
2.80-1.1ubuntu1
2.80-1.1ubuntu1.2

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2.80-1.1ubuntu1.3",
            "binary_name": "dnsmasq"
        },
        {
            "binary_version": "2.80-1.1ubuntu1.3",
            "binary_name": "dnsmasq-base"
        },
        {
            "binary_version": "2.80-1.1ubuntu1.3",
            "binary_name": "dnsmasq-base-lua"
        },
        {
            "binary_version": "2.80-1.1ubuntu1.3",
            "binary_name": "dnsmasq-utils"
        }
    ],
    "availability": "No subscription required"
}

Database specific

cves_map
{
    "cves": [],
    "ecosystem": "Ubuntu:20.04:LTS"
}
source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-4698-2.json"