CVE-2017-1000381C-ares
High 7.5 No auth needed
Follow: this CVE · C-ares · C-ares We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 3.3% probability of exploitation in 30 days · percentile 89
- Auth required
- No
- Published
- Jul 7, 2017
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-200
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
The c-ares function `ares_parse_naptr_reply()`, which is used for parsing NAPTR responses, could be triggered to read memory outside of the given input buffer if the passed in DNS response packet was crafted in a particular way.
What to do
- Apply the vendor's security update for C-ares.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| c-ares | c-ares | 1.8.0 |
| c-ares | c-ares | 1.9.0 |
| c-ares | c-ares | 1.9.1 |
| c-ares | c-ares | 1.10.0 |
| c-ares | c-ares | 1.12.0 |
| c-ares_project | c-ares | 1.11.0 |
| c-ares_project | c-ares | 1.11.0 |
| nodejs | node.js | ≥ 4.0.0 ≤ 4.1.2 |
| nodejs | node.js | ≥ 4.2.0 < 4.8.4 |
| nodejs | node.js | ≥ 5.0.0 ≤ 5.12.0 |
| nodejs | node.js | ≥ 6.0.0 ≤ 6.8.1 |
| nodejs | node.js | ≥ 6.9.0 < 6.11.1 |
| nodejs | node.js | ≥ 7.0.0 < 7.10.1 |
| nodejs | node.js | ≥ 8.0.0 < 8.1.4 |
Official sources
References
Links published by the sources. Open them with care.
- www.securityfocus.com Third Party Advisory VDB Entry
- c-ares.haxx.se Mailing List Vendor Advisory
- c-ares.haxx.se Vendor Advisory