adns 1.5.2 Vulnerability: Mishandling of Missing Final Newline in adnshost

adns 1.5.2 Vulnerability: Mishandling of Missing Final Newline in adnshost

CVE-2017-9108 · HIGH Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

An issue was discovered in adns before 1.5.2. adnshost mishandles a missing final newline on a stdin read. It is wrong to increment used as well as setting r, since used is incremented according to r, later. Rather one should be doing what read() would have done. Without this fix, adnshost may read and process one byte beyond the buffer, perhaps crashing or perhaps somehow leaking the value of that byte.

Learn more about our Web Application Penetration Testing UK.