Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Adns | < 1.5.2 |
| Opensuse | Leap | 15.1 |
| Fedoraproject | Fedora | 31 |
Related Weaknesses (CWE)
References
- http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.gitThird Party Advisory
- http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git%3Ba=blob%3Bf=cha
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://www.chiark.greenend.org.uk/pipermail/adns-announce/2020/000004.htmlRelease NotesThird Party Advisory
- http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.gitThird Party Advisory
- http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git%3Ba=blob%3Bf=cha
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://www.chiark.greenend.org.uk/pipermail/adns-announce/2020/000004.htmlRelease NotesThird Party Advisory
FAQ
What is CVE-2017-9108?
CVE-2017-9108 is a vulnerability with a CVSS score of 7.5 (HIGH). 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,...
How severe is CVE-2017-9108?
CVE-2017-9108 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2017-9108?
Check the references section above for vendor advisories and patch information. Affected products include: Gnu Adns, Opensuse Leap, Fedoraproject Fedora.