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.
                
            References
                    | Link | Resource | 
|---|---|
| http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git;a=blob;f=changelog | Release Notes | 
| https://www.chiark.greenend.org.uk/pipermail/adns-announce/2020/000004.html | Release Notes Third Party Advisory | 
| http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git | Third Party Advisory | 
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TRVHN3GGVNQWAOL3PWC5FLAV7HUESLZR/ | Mailing List Third Party Advisory | 
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UGFZ4SPV6KFQK6ZNUZFB5Y32OYFOM5YJ/ | Mailing List Third Party Advisory | 
Information
                Published : 2020-06-18 07:15
Updated : 2023-01-27 11:01
NVD link : CVE-2017-9108
Mitre link : CVE-2017-9108
JSON object : View
CWE
                
                    
                        
                        CWE-119
                        
            Improper Restriction of Operations within the Bounds of a Memory Buffer
Products Affected
                gnu
- adns
 
fedoraproject
- fedora
 
opensuse
- leap
 


