CVE-2020-14354
published 2021-05-13CVE-2020-14354: 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…
PriorityP411low3.3CVSS 3.1
AVLACLPRLUINSUCNINAL
EPSS
0.53%
41.2th percentile
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.
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| c-ares | c-ares | — | — |
| c-ares | c-ares | — | — |
| c-ares | c-ares | >= 0 < 1.16.1-1 | 1.16.1-1 |
| c-ares | c-ares | >= 0 < 1.16.1-1 | 1.16.1-1 |
| c-ares | c-ares | >= 0 < 1.16.1-1 | 1.16.1-1 |
| c-ares | c-ares | >= 0 < 1.16.1-1 | 1.16.1-1 |
| debian | c-ares | < c-ares 1.16.1-1 (bookworm) | c-ares 1.16.1-1 (bookworm) |
| fedoraproject | fedora | — | — |
CVSS provenance
nvdv3.13.3LOWCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
nvdv2.02.1LOWAV:L/AC:L/Au:N/C:N/I:N/A:P
osv3.3LOW
vendor_debian3.3LOW
vendor_redhat3.3LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
c-ares: ares_destroy() with pending ares_getaddrinfo() leads to Use-After-Free
vendor_redhat·2020-08-02·CVSS 3.3
CVE-2020-14354 [LOW] CWE-120 c-ares: ares_destroy() with pending ares_getaddrinfo() leads to Use-After-Free
c-ares: ares_destroy() with pending ares_getaddrinfo() leads to Use-After-Free
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.
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.
Statement: This flaw is rated as a having Moderate impact, because it can happen only during close of the service (or when han
Debian
CVE-2020-14354: c-ares - A possible use-after-free and double-free in c-ares lib version 1.16.0 if ares_d...
vendor_debian·2020·CVSS 3.3
CVE-2020-14354 [LOW] CVE-2020-14354: c-ares - A possible use-after-free and double-free in c-ares lib version 1.16.0 if ares_d...
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.
Scope: local
bookworm: resolved (fixed in 1.16.1-1)
bullseye: resolved (fixed in 1.16.1-1)
forky: resolved (fixed in 1.16.1-1)
sid: resolved (fixed in 1.16.1-1)
trixie: resolved (fixed in 1.16.1-1)
GHSA
GHSA-xxmg-3gv9-85h2: A possible use-after-free and double-free in c-ares lib version 1
ghsa_unreviewed·2022-05-24
CVE-2020-14354 [LOW] CWE-120 GHSA-xxmg-3gv9-85h2: A possible use-after-free and double-free in c-ares lib version 1
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.
OSV
CVE-2020-14354: A possible use-after-free and double-free in c-ares lib version 1
osv·2021-05-13·CVSS 3.3
CVE-2020-14354 [LOW] CVE-2020-14354: A possible use-after-free and double-free in c-ares lib version 1
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-14354 c-ares: ares_destroy() with pending ares_getaddrinfo() leads to Use-After-Free
bugzilla·2020-08-06·CVSS 3.3
CVE-2020-14354 [LOW] CVE-2020-14354 c-ares: ares_destroy() with pending ares_getaddrinfo() leads to Use-After-Free
CVE-2020-14354 c-ares: ares_destroy() with pending ares_getaddrinfo() leads to Use-After-Free
The following code was introduced in c-ares commit dbd4c441 (first released in 1.16.0, which was published on 2020-03-13), as part of the new ares_getaddrinfo() feature:
static void end_hquery(struct host_query *hquery, int status)
{
[...]
hquery->callback(hquery->arg, status, hquery->timeouts, hquery->ai);
ares_free(hquery->name);
ares_free(hquery);
}
static void host_callback(void *arg, int status, int timeouts,
unsigned char *abuf, int alen)
{
struct host_query *hquery = (struct host_query*)arg;
int addinfostatus = ARES_SUCCESS;
[...]
if (status == ARES_SUCCESS)
[...]
else if (status == ARES_EDESTRUCTION)
{
end_hquery(hquery, status);
}
if (!hquery->remaining)
{
if (addinfostatus != ARES_
Bugzilla
CVE-2020-14354 nodejs: c-ares: ares_destroy() with pending ares_getaddrinfo() leads to Use-After-Free [fedora-all]
bugzilla·2020-08-06·CVSS 3.3
CVE-2020-14354 [LOW] CVE-2020-14354 nodejs: c-ares: ares_destroy() with pending ares_getaddrinfo() leads to Use-After-Free [fedora-all]
CVE-2020-14354 nodejs: c-ares: ares_destroy() with pending ares_getaddrinfo() leads to Use-After-Free [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issu
https://bugzilla.redhat.com/show_bug.cgi?id=1866838https://c-ares.haxx.se/changelog.htmlhttps://github.com/c-ares/c-ares/commit/1cc7e83c3bdfaafbc5919c95025592d8de3a170ehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4OOYAMJVLLCLXDTHW3V5UXNULZBBK4O6/https://packetstormsecurity.com/files/158755/GS20200804145053.txthttps://bugzilla.redhat.com/show_bug.cgi?id=1866838https://c-ares.haxx.se/changelog.htmlhttps://github.com/c-ares/c-ares/commit/1cc7e83c3bdfaafbc5919c95025592d8de3a170ehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4OOYAMJVLLCLXDTHW3V5UXNULZBBK4O6/https://packetstormsecurity.com/files/158755/GS20200804145053.txt
2021-05-13
Published