CVE-2017-9106
Last modified
CVE-2017-9106 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. An issue was discovered in adns before 1.5.2. adns_rr_info mishandles a bogus *datap. EPSS estimates a 1.88% chance of exploitation in the next 30 days.
Description
An 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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Adns | < 1.5.2 |
| Fedoraproject | Fedora | 31 |
| Fedoraproject | Fedora | 32 |
References
- http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.gitThird Party Advisory
- https://www.chiark.greenend.org.uk/pipermail/adns-announce/2020/000004.htmlRelease Notes, Third Party Advisory
- http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.gitThird Party Advisory
- https://www.chiark.greenend.org.uk/pipermail/adns-announce/2020/000004.htmlRelease Notes, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-9106?
How severe is CVE-2017-9106?
How do I fix CVE-2017-9106?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2017
- CVE-2017-9098ImageMagick before 7.0.5-2 and GraphicsMagick before 1.3.24 …7.5
- CVE-2017-9100login.cgi on D-Link DIR-600M devices with firmware 3.04 allo…8.8
- CVE-2017-9101import.php (aka the Phonebook import feature) in PlaySMS 1.4…
- CVE-2017-9103An issue was discovered in adns before 1.5.2. pap_mailbox822…9.8
- CVE-2017-9104An issue was discovered in adns before 1.5.2. It hangs, eati…9.8
- CVE-2017-9105An issue was discovered in adns before 1.5.2. It corrupts a …8.8
- CVE-2017-9107An issue was discovered in adns before 1.5.2. It overruns re…7.5
- CVE-2017-9108An issue was discovered in adns before 1.5.2. adnshost misha…7.5
- CVE-2017-9109An issue was discovered in adns before 1.5.2. It fails to ig…9.8
- CVE-2017-9110In OpenEXR 2.2.0, an invalid read of size 2 in the hufDecode…
- CVE-2017-9111In OpenEXR 2.2.0, an invalid write of size 8 in the storeSSE…
- CVE-2017-9112In OpenEXR 2.2.0, an invalid read of size 1 in the getBits f…
Are you affected by CVE-2017-9106?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
