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.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1.10.0-2ubuntu0.2", "binary_name": "libc-ares-dev" }, { "binary_version": "1.10.0-2ubuntu0.2", "binary_name": "libc-ares2" }, { "binary_version": "1.10.0-2ubuntu0.2", "binary_name": "libc-ares2-dbgsym" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "1.10.0-3ubuntu0.2", "binary_name": "libc-ares-dev" }, { "binary_version": "1.10.0-3ubuntu0.2", "binary_name": "libc-ares2" }, { "binary_version": "1.10.0-3ubuntu0.2", "binary_name": "libc-ares2-dbgsym" } ] }
{ "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro", "ubuntu_priority": "medium", "binaries": [ { "binary_version": "4.2.6~dfsg-1ubuntu4.2+esm1", "binary_name": "nodejs" }, { "binary_version": "4.2.6~dfsg-1ubuntu4.2+esm1", "binary_name": "nodejs-dbg" }, { "binary_version": "4.2.6~dfsg-1ubuntu4.2+esm1", "binary_name": "nodejs-dbgsym" }, { "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-dev-dbgsym" }, { "binary_version": "4.2.6~dfsg-1ubuntu4.2+esm1", "binary_name": "nodejs-legacy" } ] }