Out-of-bounds read in c-ares - CVE-2017-1000381

 

Out-of-bounds read in c-ares - CVE-2017-1000381

Published: July 18, 2017 / Updated: January 6, 2025


Vulnerability identifier: #VU7563
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2017-1000381
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: c-ares.haxx.se
Affected software:
c-ares

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack and gain access to potentially sensitive data.

The vulnerability exists due to a boundary error in ares_parse_naptr_reply() function when processing NAPTR responses. A remote attacker can send a specially crafted DNS response to vulnerable application and perform denial of service attack or gain access to potentially sensitive data.


How to mitigate CVE-2017-1000381

Update to version 1.13.0.

Sources