CVE-2016-5180
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 8.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 8.7% in the next 30 days (EPSS).
- Severity: 9.8 CRITICAL (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 8.7% · EPSS, next 30 days
- Weakness
- CWE-787 · Out-of-bounds write
- Record status
- Modified
Affected
- c-ares 1.0.0
- c-ares 1.1.0
- c-ares 1.2.0
- c-ares 1.2.1
- c-ares 1.3.0
- c-ares 1.3.1
- c-ares 1.3.2
- c-ares 1.4.0
Attack profile CVSS 3.1 · 9.8
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2016-5180.md and follow it. Check whether this project is affected by CVE-2016-5180. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://rhn.redhat.com/errata/RHSA-2017-0002.html
- http://www.debian.org/security/2016/dsa-3682
- http://www.securityfocus.com/bid/93243
- http://www.ubuntu.com/usn/USN-3143-1
- https://c-ares.haxx.se/CVE-2016-5180.patch
- https://c-ares.haxx.se/adv_20160929.html
- https://googlechromereleases.blogspot.in/2016/09/stable-channel-updates-for-chrome-os.html
- https://security.gentoo.org/glsa/201701-28
- https://source.android.com/security/bulletin/2017-01-01.html
- http://rhn.redhat.com/errata/RHSA-2017-0002.html
- http://www.debian.org/security/2016/dsa-3682
- http://www.securityfocus.com/bid/93243
- http://www.ubuntu.com/usn/USN-3143-1
- https://c-ares.haxx.se/CVE-2016-5180.patch
- https://c-ares.haxx.se/adv_20160929.html
- https://googlechromereleases.blogspot.in/2016/09/stable-channel-updates-for-chrome-os.html
- https://security.gentoo.org/glsa/201701-28
- https://source.android.com/security/bulletin/2017-01-01.html