Out-of-bounds Write Affecting c-ares package, versions [,1.12.0)


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
4.62% (93rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-CARES-2318980
  • published14 Dec 2021
  • disclosed3 Oct 2016
  • creditUnknown

Introduced: 3 Oct 2016

CVE-2016-5180  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade c-ares to version 1.12.0 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. 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.

References

CVSS Base Scores

version 3.1