{"id":"UBUNTU-CVE-2017-1000381","details":"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.","modified":"2026-01-30T02:09:34.889164Z","published":"2017-07-07T00:00:00Z","related":["USN-3395-1","USN-4796-1"],"upstream":["CVE-2017-1000381"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2017-1000381"},{"type":"REPORT","url":"https://c-ares.haxx.se/adv_20170620.html"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-3395-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2017-1000381"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4796-1"}],"affected":[{"package":{"name":"c-ares","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/c-ares@1.10.0-2ubuntu0.2?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.0-2ubuntu0.2"}]}],"versions":["1.10.0-2","1.10.0-2ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libc-ares-dev","binary_version":"1.10.0-2ubuntu0.2"},{"binary_name":"libc-ares2","binary_version":"1.10.0-2ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-1000381.json"}},{"package":{"name":"c-ares","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/c-ares@1.10.0-3ubuntu0.2?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.10.0-3ubuntu0.2"}]}],"versions":["1.10.0-2","1.10.0-3","1.10.0-3ubuntu0.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libc-ares-dev","binary_version":"1.10.0-3ubuntu0.2"},{"binary_name":"libc-ares2","binary_version":"1.10.0-3ubuntu0.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-1000381.json"}},{"package":{"name":"nodejs","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/nodejs@4.2.6~dfsg-1ubuntu4.2+esm1?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.6~dfsg-1ubuntu4.2+esm1"}]}],"versions":["0.10.25~dfsg2-2ubuntu1","4.2.2~dfsg-1","4.2.3~dfsg-1","4.2.4~dfsg-1ubuntu1","4.2.4~dfsg-2","4.2.6~dfsg-1ubuntu1","4.2.6~dfsg-1ubuntu4","4.2.6~dfsg-1ubuntu4.1","4.2.6~dfsg-1ubuntu4.2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"nodejs","binary_version":"4.2.6~dfsg-1ubuntu4.2+esm1"},{"binary_name":"nodejs-dev","binary_version":"4.2.6~dfsg-1ubuntu4.2+esm1"},{"binary_name":"nodejs-legacy","binary_version":"4.2.6~dfsg-1ubuntu4.2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2017/UBUNTU-CVE-2017-1000381.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}