CVE-2017-9107: Buffer Overflow
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 adnsqfquoteokquery 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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2017-9107?
The severity of CVE-2017-9107 is high with a severity value of 7.5.
What is the description of CVE-2017-9107 vulnerability?
CVE-2017-9107 is a vulnerability in adns before 1.5.2 that allows buffer overrun when a domain ends with a backslash.
What software is affected by CVE-2017-9107?
GNU adns versions up to 1.5.2, Fedoraproject Fedora 31, and Fedoraproject Fedora 32 are affected by CVE-2017-9107.
How can I fix CVE-2017-9107 vulnerability?
To fix CVE-2017-9107, upgrade GNU adns to version 1.5.2 or later, or update to a newer version of Fedoraproject Fedora.
Are there any references for CVE-2017-9107?
Yes, you can find references for CVE-2017-9107 at the following links: [Link 1](http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git), [Link 2](http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git;a=blob;f=changelog), [Link 3](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TRVHN3GGVNQWAOL3PWC5FLAV7HUESLZR/)