Skip to content
Fencer Intel
high 7.5

CVE-2017-1000381 json

The c-ares function `ares_parse_naptr_reply()`, which is used for parsing NAPTR responses, could be triggered to read memory outside of the…

published 9y ago modified 4mo ago also EUVD-2017-1540

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.3%
EPSS 3.3% chance of exploitation in 30 days, percentile 88%
public exploits
0
none known

Summary

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.

Patch / fix

  • nodejs node.js 4.8.4, 6.11.1, 7.10.1, 8.1.4
  • c-ares Debian 14, Debian 13, Debian 12 1.12.0-4

debian advisories DEBIAN-CVE-2017-1000381

  • c-ares Ubuntu 14.04 LTS 1.10.0-2ubuntu0.2
  • c-ares Ubuntu 16.04 LTS 1.10.0-3ubuntu0.2
  • nodejs Ubuntu Pro 16.04 LTS 4.2.6~dfsg-1ubuntu4.2+esm1

ubuntu advisories UBUNTU-CVE-2017-1000381

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • rh-nodejs6-nodejs RHEL 2 SOFTWARE_COLLECTIONS 6.11.3-2.el6
  • rh-nodejs6-nodejs RHEL 2 SOFTWARE_COLLECTIONS 6.11.3-2.el7

red hat advisories RHSA-2017:2908

  • nodejs6 SLE Module for Web and Scripting 12, OpenStack Cloud 7, Enterprise Storage 4 6.11.1-11.5.1
  • nodejs4 SLE Module for Web and Scripting 12, Enterprise Storage 4 4.8.4-15.5.1
  • nodejs-common SLE Module for Web and Scripting 12, OpenStack Cloud 7, Enterprise Storage 4 1.0-2.1
  • libcares2 SLES for SAP 12 SP2, SLES for Raspberry Pi 12 SP2, SLES 12 SP2 +3 more 1.9.1-8.1
  • firefox-atk SLES 11 SP4-LTSS 2.26.1-2.8.4
  • mozilla-nss SLES 11 SP4-LTSS 3.45-38.9.3
  • firefox-gtk3 SLES 11 SP4-LTSS 3.10.9-2.15.3
  • mozilla-nspr SLES 11 SP4-LTSS 4.21-29.6.1

suse advisories SUSE-SU-2019:14246-1SUSE-SU-2017:2168-1SUSE-SU-2017:1792-1

  • c-ares openSUSE Tumbleweed 1.17.2-2.2

opensuse advisories openSUSE-SU-2024:10668-1

  • c-ares Alpine 3.6, Alpine 3.5, Alpine 3.4 +1 more 1.12.0-r1
  • nodejs Alpine 3.24, Alpine 3.23, Alpine 3.22 +15 more 6.11.1-r0
  • nodejs Alpine 3.4 6.7.0-r1
  • nodejs Alpine 3.5 6.9.5-r1
  • nodejs Alpine 3.6 6.10.3-r1
  • nodejs-current Alpine 3.6 7.10.1-r0

alpine advisories ALPINE-CVE-2017-1000381

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • c-ares Arch Linux 1.13.0-1

arch linux advisories AVG-315

Is CVE-2017-1000381 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-1000381 updated cvss 6.5

c-ares: NAPTR parser out of bounds access

  • Red Hat Enterprise Linux 5 c-ares Red Hat Enterprise Linux 6 c-ares Red Hat Enterprise Linux 7 c-ares Red Hat Enterprise Linux OpenStack Platform 7 (Kilo) Operational Tools nodejs Red Hat OpenShift Enterprise 2 nodejs010-nodejs Red Hat OpenShift Enterprise 3 nodejs
    affected: no fix planned “Will not fix”
  • Red Hat Software Collections nodejs010-c-ares, rh-nodejs4-nodejs, rh-nodejs6-nodejs
    affected: no fix available, no fix planned “Will not fix”
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-nodejs6-nodejs 6.11.3-2.el6 Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs6-nodejs 6.11.3-2.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-nodejs6-nodejs 6.11.3-2.el6 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-nodejs6-nodejs 6.11.3-2.el7 Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-nodejs6-nodejs 6.11.3-2.el6 Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs6-nodejs 6.11.3-2.el7
    fixed: vendor fix RHSA-2017:2908
  • Red Hat Software Collections rh-nodejs8-npm, nodejs010-nodejs, rh-nodejs8-nodejs
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.34% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:P/I:N/A:N

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.