Buffer overflow in GNU Adns
CVE-2017-9109
An issue was discovered in adns before 1.5.2. It fails to ignore apparent answers before the first RR that was found the first time. when this is fixed, the second answer scan finds the same RRs at the first. Otherwise, adns can be confused by interleaving answers for the CNAME target, with the CNAME itself. In that case the answer data structure (on the heap) can be overrun. With this fixed, it prefers to look only at the answer RRs which come after the CNAME, which is at least arguably correct.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.020, 81.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNU Adns
- Fedoraproject Fedora — versions 31, 32
- openSUSE Leap — versions 15.1
Weakness classification (CWE)
References
- www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git (Third Party Advisory)
- openSUSE-SU-2020:0827 (vendor-advisory, Mailing List, Third Party Advisory)
- www.chiark.greenend.org.uk/pipermail/adns-announce/2020/000004.html (Third Party Advisory, Release Notes)
- www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git
- FEDORA-2020-530188bf36 (vendor-advisory)
- FEDORA-2020-e59bcaf702 (vendor-advisory)