UBUNTU-CVE-2017-13704

Source
https://ubuntu.com/security/CVE-2017-13704
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-13704.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2017-13704
Related
Published
2017-10-02T00:00:00Z
Modified
2017-10-02T00:00:00Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In dnsmasq before 2.78, if the DNS packet size does not match the expected size, the size parameter in a memset call gets a negative value. As it is an unsigned value, memset ends up writing up to 0xffffffff zero's (0xffffffffffffffff in 64 bit platforms), making dnsmasq crash.

References

Affected packages

Ubuntu:14.04:LTS / dnsmasq

Package

Name
dnsmasq
Purl
pkg:deb/ubuntu/dnsmasq?arch=src?distro=trusty

Affected ranges

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

Affected versions

2.*

2.66-4ubuntu1
2.67-1
2.68-1

Ecosystem specific

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

Ubuntu:16.04:LTS / dnsmasq

Package

Name
dnsmasq
Purl
pkg:deb/ubuntu/dnsmasq?arch=src?distro=xenial

Affected ranges

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

Affected versions

2.*

2.75-1
2.75-1ubuntu0.16.04.1

Ecosystem specific

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