MidnightBSD

Advisories for c-ares_project

CVE-2016-5180 HIGH

Heap-based buffer overflow in the ares_create_query function in c-ares 1.x before 1.12.0 allows remote attackers to cause a denial of service (out-of-bounds write) or possibly execute arbitrary code via a hostname with an escaped trailing dot.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H 3.9 5.9

CVSS 2.0

Severity: HIGH

Problem Type: CWE-787,

Products Affected

Vendor Product Version
c-ares c-ares 1.1.0
c-ares c-ares 1.5.1
debian debian_linux 8.0
c-ares c-ares 1.3.1
c-ares c-ares 1.7.0
c-ares c-ares 1.2.1
c-ares c-ares 1.8.0
c-ares c-ares 1.5.0
c-ares c-ares 1.7.1
c-ares c-ares 1.5.3
c-ares c-ares 1.5.2
c-ares c-ares 1.10.0
canonical ubuntu_linux 16.04
c-ares c-ares 1.9.1
c-ares c-ares 1.9.0
c-ares c-ares 1.0.0
canonical ubuntu_linux 16.10
canonical ubuntu_linux 12.04
c-ares c-ares 1.7.3
c-ares c-ares 1.3.0
c-ares c-ares 1.4.0
c-ares_project c-ares 1.11.0
c-ares c-ares 1.7.5
nodejs node.js *
c-ares c-ares 1.7.2
canonical ubuntu_linux 14.04
c-ares c-ares 1.2.0
c-ares c-ares 1.3.2
c-ares c-ares 1.6.0
c-ares c-ares 1.7.4
CVE-2017-1000381 MEDIUM

The c-ares function `ares_parse_naptr_reply()`, which is used for parsing NAPTR responses, could be triggered to read memory outside of the given input buffer if the passed in DNS response packet was crafted in a particular way.

CVSS 3.x

Source Score Severity Vector Exploitability Impact
nvd@nist.gov 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 3.9 3.6

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-200,

Products Affected

Vendor Product Version
c-ares c-ares 1.9.1
c-ares c-ares 1.8.0
c-ares c-ares 1.9.0
nodejs node.js *
c-ares_project c-ares 1.11.0
c-ares c-ares 1.10.0
c-ares c-ares 1.12.0