Bug 1849787 (CVE-2017-9108) - CVE-2017-9108 adns: improper handling of a missing final newline on a stdin read
Summary: CVE-2017-9108 adns: improper handling of a missing final newline on a stdin read
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2017-9108
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1849788
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-22 19:40 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-06-22 23:20 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-06-22 23:20:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-06-22 19:40:40 UTC
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.

Reference:
https://www.chiark.greenend.org.uk/pipermail/adns-announce/2020/000004.html

Comment 1 Guilherme de Almeida Suckevicz 2020-06-22 19:40:53 UTC
Created adns tracking bugs for this issue:

Affects: fedora-all [bug 1849788]

Comment 2 Product Security DevOps Team 2020-06-22 23:20:43 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.