// For flags

CVE-2016-5180

c-ares: Single byte out of buffer write

Severity Score

9.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Desbordamiento de búfer basado en memoria dinámica en la función ares_create_query en c-ares 1.x en versiones anteriores a 1.12.0 permite a atacantes remotos provocar una denegación de servicio (escritura fuera de límites) o posiblemente ejecutar código arbitrario a través de un nombre de host con puntos finales de fuga.

A vulnerability was found in c-ares. A hostname with an escaped trailing dot (such as "hello\.") would have its size calculated incorrectly, leading to a single byte written beyond the end of a buffer on the heap. An attacker able to provide such a hostname to an application using c-ares, could potentially cause that application to crash.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
None
Integrity
None
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2016-05-31 CVE Reserved
  • 2016-10-03 CVE Published
  • 2024-08-06 CVE Updated
  • 2024-11-02 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-122: Heap-based Buffer Overflow
  • CWE-787: Out-of-bounds Write
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.0.0
Search vendor "C-ares" for product "C-ares" and version "1.0.0"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.1.0
Search vendor "C-ares" for product "C-ares" and version "1.1.0"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.2.0
Search vendor "C-ares" for product "C-ares" and version "1.2.0"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.2.1
Search vendor "C-ares" for product "C-ares" and version "1.2.1"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.3.0
Search vendor "C-ares" for product "C-ares" and version "1.3.0"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.3.1
Search vendor "C-ares" for product "C-ares" and version "1.3.1"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.3.2
Search vendor "C-ares" for product "C-ares" and version "1.3.2"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.4.0
Search vendor "C-ares" for product "C-ares" and version "1.4.0"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.5.0
Search vendor "C-ares" for product "C-ares" and version "1.5.0"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.5.1
Search vendor "C-ares" for product "C-ares" and version "1.5.1"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.5.2
Search vendor "C-ares" for product "C-ares" and version "1.5.2"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.5.3
Search vendor "C-ares" for product "C-ares" and version "1.5.3"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.6.0
Search vendor "C-ares" for product "C-ares" and version "1.6.0"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.7.0
Search vendor "C-ares" for product "C-ares" and version "1.7.0"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.7.1
Search vendor "C-ares" for product "C-ares" and version "1.7.1"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.7.2
Search vendor "C-ares" for product "C-ares" and version "1.7.2"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.7.3
Search vendor "C-ares" for product "C-ares" and version "1.7.3"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.7.4
Search vendor "C-ares" for product "C-ares" and version "1.7.4"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.7.5
Search vendor "C-ares" for product "C-ares" and version "1.7.5"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.8.0
Search vendor "C-ares" for product "C-ares" and version "1.8.0"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.9.0
Search vendor "C-ares" for product "C-ares" and version "1.9.0"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.9.1
Search vendor "C-ares" for product "C-ares" and version "1.9.1"
-
Affected
C-ares
Search vendor "C-ares"
C-ares
Search vendor "C-ares" for product "C-ares"
1.10.0
Search vendor "C-ares" for product "C-ares" and version "1.10.0"
-
Affected
C-ares Project
Search vendor "C-ares Project"
C-ares
Search vendor "C-ares Project" for product "C-ares"
1.11.0
Search vendor "C-ares Project" for product "C-ares" and version "1.11.0"
-
Affected
Debian
Search vendor "Debian"
Debian Linux
Search vendor "Debian" for product "Debian Linux"
8.0
Search vendor "Debian" for product "Debian Linux" and version "8.0"
-
Affected
Nodejs
Search vendor "Nodejs"
Node.js
Search vendor "Nodejs" for product "Node.js"
>= 0.10.0 < 0.10.48
Search vendor "Nodejs" for product "Node.js" and version " >= 0.10.0 < 0.10.48"
-
Affected
Nodejs
Search vendor "Nodejs"
Node.js
Search vendor "Nodejs" for product "Node.js"
>= 0.12.0 < 0.12.17
Search vendor "Nodejs" for product "Node.js" and version " >= 0.12.0 < 0.12.17"
-
Affected
Nodejs
Search vendor "Nodejs"
Node.js
Search vendor "Nodejs" for product "Node.js"
>= 4.0.0 < 4.6.1
Search vendor "Nodejs" for product "Node.js" and version " >= 4.0.0 < 4.6.1"
-
Affected
Canonical
Search vendor "Canonical"
Ubuntu Linux
Search vendor "Canonical" for product "Ubuntu Linux"
12.04
Search vendor "Canonical" for product "Ubuntu Linux" and version "12.04"
-
Affected
Canonical
Search vendor "Canonical"
Ubuntu Linux
Search vendor "Canonical" for product "Ubuntu Linux"
14.04
Search vendor "Canonical" for product "Ubuntu Linux" and version "14.04"
esm
Affected
Canonical
Search vendor "Canonical"
Ubuntu Linux
Search vendor "Canonical" for product "Ubuntu Linux"
16.04
Search vendor "Canonical" for product "Ubuntu Linux" and version "16.04"
esm
Affected
Canonical
Search vendor "Canonical"
Ubuntu Linux
Search vendor "Canonical" for product "Ubuntu Linux"
16.10
Search vendor "Canonical" for product "Ubuntu Linux" and version "16.10"
-
Affected