Buffer overflow in GNU Adns
CVE-2017-9107
An issue was discovered in adns before 1.5.2. It overruns reading a buffer if a domain ends with backslash. If the query domain ended with \, and adns_qf_quoteok_query was specified, qdparselabel would read additional bytes from the buffer and try to treat them as the escape sequence. It would depart the input buffer and start processing many bytes of arbitrary heap data as if it were the query domain. Eventually it would run out of input or find some other kind of error, and declare the query domain invalid. But before then it might outrun available memory and crash. In principle this could be a denial of service attack.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.018 (78.2th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 78th percentile — 78.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.018 · newest: 0.018 · change: 0.000
Affected products
- GNU Adns
- Fedoraproject Fedora — versions 31, 32
Weakness classification (CWE)
References
- www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git (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
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2017-9107?
- CVE-2017-9107 is a high-severity vulnerability in GNU Adns, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 7.5/10. Published 2020-06-18.
- How severe is CVE-2017-9107?
- High severity. CVSS v3 base score is 7.5 out of 10.