CVE-2017-9106

Summary

CVECVE-2017-9106
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-06-18 14:15:00 UTC
Updated2023-11-07 02:50:00 UTC
DescriptionAn issue was discovered in adns before 1.5.2. adns_rr_info mishandles a bogus *datap. The general pattern for formatting integers is to sprintf into a fixed-size buffer. This is correct if the input is in the right range; if it isn't, the buffer may be overrun (depending on the sizes of the types on the current platform). Of course the inputs ought to be right. And there are pointers in there too, so perhaps one could say that the caller ought to check these things. It may be better to require the caller to make the pointer structure right, but to have the code here be defensive about (and tolerate with an error but without crashing) out-of-range integer values. So: it should defend each of these integer conversion sites with a check for the actual permitted range, and return adns_s_invaliddata if not. The lack of this check causes the SOA sign extension bug to be a serious security problem: the sign extended SOA value is out of range, and overruns the buffer when reconverted. This is related to sign extending SOA 32-bit integer fields, and use of a signed data type.

Risk And Classification

Problem Types: CWE-119

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 31 All All All
Operating System Fedoraproject Fedora 32 All All All
Application Gnu Adns All All All All
Application Gnu Adns All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 31 Update: adns-1.6.0-1.fc31 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
chiark - git - ianmdlvl - adns.git/blob - changelog CONFIRM www.chiark.greenend.org.uk Release Notes
chiark - git - ianmdlvl - adns.git/blob - changelog www.chiark.greenend.org.uk
[SECURITY] Fedora 32 Update: adns-1.6.0-1.fc32 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
adns 1.5.2, adns 1.6.0 - SECURITY FIXES CONFIRM www.chiark.greenend.org.uk Release Notes, Third Party Advisory
chiark - git - ianmdlvl - adns.git/summary MISC www.chiark.greenend.org.uk Third Party Advisory
[SECURITY] Fedora 31 Update: adns-1.6.0-1.fc31 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 32 Update: adns-1.6.0-1.fc32 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 690494 Free Berkeley Software Distribution (FreeBSD) Security Update for adns (08de38d2-e2d0-11ea-9538-0c9d925bbbc0)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report