
CVE catalog
CVE-2017-9106
adns: CVE-2017-9106
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.82% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | adns | sid | 1.7.0-2 | fixed |
| Debian | adns | forky | 1.7.0-2 | fixed |
| Debian | adns | trixie | 1.6.1-1 | fixed |
| Debian | adns | bookworm | 1.6.0-2 | fixed |
| Ubuntu | adns | 16.04 | 1.5.0~rc1-1ubuntu1 | vulnerable |
| Ubuntu | adns | 18.04 | 1.5.0~rc1-1ubuntu1 | vulnerable |
| Ubuntu | adns | 18.04 | 1.5.0~rc1-1.1ubuntu1 | vulnerable |
| Ubuntu | adns | 20.04 | 1.5.1-0.1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | adns | source | sid | 1.6.0-2 | unimportant | Not reported | Not reported |
| Debian | adns | source | forky | 1.6.0-2 | unimportant | Not reported | Not reported |
| Debian | adns | source | trixie | 1.6.0-2 | unimportant | Not reported | Not reported |
| Debian | adns | source | bookworm | 1.6.0-2 | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [adns-tools]Fixed
Source package: [adns]
Details (2)
1.6.0-2· amd64 · bookwormFixed · Fixed:
1.6.0-2dsa · adns · debian · bookworm; dsa · adns · debian · 12
1.6.0-2· arm64 · bookwormFixed · Fixed:
1.6.0-2dsa · adns · debian · bookworm; dsa · adns · debian · 12
- [libadns1]Fixed
Source package: [adns]
Details (2)
1.6.0-2· amd64 · bookwormFixed · Fixed:
1.6.0-2dsa · adns · debian · bookworm; dsa · adns · debian · 12
1.6.0-2· arm64 · bookwormFixed · Fixed:
1.6.0-2dsa · adns · debian · bookworm; dsa · adns · debian · 12
- [libadns1-dbg]Fixed
Source package: [adns]
Details (2)
1.6.0-2· amd64 · bookwormFixed · Fixed:
1.6.0-2dsa · adns · debian · bookworm; dsa · adns · debian · 12
1.6.0-2· arm64 · bookwormFixed · Fixed:
1.6.0-2dsa · adns · debian · bookworm; dsa · adns · debian · 12
- [libadns1-dev]Fixed
Source package: [adns]
Details (2)
1.6.0-2· amd64 · bookwormFixed · Fixed:
1.6.0-2dsa · adns · debian · bookworm; dsa · adns · debian · 12
1.6.0-2· arm64 · bookwormFixed · Fixed:
1.6.0-2dsa · adns · debian · bookworm; dsa · adns · debian · 12
[Debian 13 (Trixie)]
- [adns-tools]Fixed
Source package: [adns]
Details (2)
1.6.1-1· amd64 · trixieFixed · Fixed:
1.6.0-2dsa · adns · debian · 13
1.6.1-1+b1· arm64 · trixieFixed · Fixed:
1.6.0-2dsa · adns · debian · 13
- [libadns1-dbg]Fixed
Source package: [adns]
Details (2)
1.6.1-1· amd64 · trixieFixed · Fixed:
1.6.0-2dsa · adns · debian · 13
1.6.1-1+b1· arm64 · trixieFixed · Fixed:
1.6.0-2dsa · adns · debian · 13
- [libadns1-dev]Fixed
Source package: [adns]
Details (2)
1.6.1-1· amd64 · trixieFixed · Fixed:
1.6.0-2dsa · adns · debian · 13
1.6.1-1+b1· arm64 · trixieFixed · Fixed:
1.6.0-2dsa · adns · debian · 13
- [libadns1t64]Fixed
Source package: [adns]
Details (2)
1.6.1-1· amd64 · trixieFixed · Fixed:
1.6.0-2dsa · adns · debian · 13
1.6.1-1+b1· arm64 · trixieFixed · Fixed:
1.6.0-2dsa · adns · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2020_14399-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2017-9106]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2017-9106]
- [https://security-tracker.debian.org/tracker/CVE-2017-9106]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]