Bug 1463132 - (CVE-2017-1000381) CVE-2017-1000381 c-ares: NAPTR parser out of bounds access
CVE-2017-1000381 c-ares: NAPTR parser out of bounds access
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On: 1463136 1470469 1463133 1463134 1463135 1463137
Blocks: 1463140
  Show dependency treegraph
Reported: 2017-06-20 04:36 EDT by Andrej Nemec
Modified: 2017-07-12 21:56 EDT (History)
39 users (show)

See Also:
Fixed In Version: c-ares 1.13.0
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Andrej Nemec 2017-06-20 04:36:59 EDT
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.

External References:

Comment 1 Andrej Nemec 2017-06-20 04:37:29 EDT

Name: Daniel Stenberg
Upstream: LCatro
Comment 2 Andrej Nemec 2017-06-20 04:38:19 EDT
Created mingw-c-ares tracking bugs for this issue:

Affects: epel-7 [bug 1463133]
Affects: fedora-all [bug 1463135]

Created nodejs tracking bugs for this issue:

Affects: epel-all [bug 1463134]
Affects: fedora-all [bug 1463137]
Affects: openshift-1 [bug 1463136]
Comment 5 Stefan Cornelius 2017-07-04 04:24:44 EDT
Comment 6 Japheth Cleaver 2017-07-11 18:55:53 EDT
That's two CVE's (this and CVE-2016-5180 in #BZ1387961) applicable to c-ares in EL6. Will this patch be backported, or can the version be rebased?

Note You need to log in before you can comment on or make changes to this bug.