CVE-2020-14354
c-ares: ares_destroy() with pending ares_getaddrinfo() leads to Use-After-Free
Overview
Description
A possible use-after-free and double-free in c-ares lib version 1.16.0 if ares_destroy() is called prior to ares_getaddrinfo() completing. This flaw possibly allows an attacker to crash the service that uses c-ares lib. The highest threat from this vulnerability is to this service availability.
Source: OX vulnerability database
Severity
3.3 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Weakness: CWE-120, CWE-415, CWE-416
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Conan (C/C++) | c-ares | =1.16.0 | 1.17.1 |
Open a package to see all its vulnerabilities.
Operating systems · 7 fixes
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | c-ares | 1.16.1-1 |
| 12 | c-ares | 1.16.1-1 |
| 13 | c-ares | 1.16.1-1 |
| 14 | c-ares | 1.16.1-1 |
echo 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| c-ares-1-16-0 | 1.16.0+e2 | |
| c-ares | 1.16.1-1 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-c-ares | 1.16.1-1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-14354
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1866838
- c-ares.haxx.se https://c-ares.haxx.se/changelog.html
- github.com https://github.com/c-ares/c-ares/commit/1cc7e83c3bdfaafbc5919c95025592d8de3a170e
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4OOYAMJVLLCLXDTHW3V5UXNULZBBK4O6/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-14354
- packetstormsecurity.com https://packetstormsecurity.com/files/158755/GS20200804145053.txt
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-14354
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.