CVE-2017-9106 json
An issue was discovered in adns before 1.5.2.
published 2020-06-18 6 y ago modified 2026-06-17 4 mo ago also EUVD-2017-18044
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.9%
- EPSS 1.9% chance of exploitation in 30 days, percentile 79%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- gnu adns 1.5.2
- adns Debian 14, Debian 13, Debian 12 1.6.0-2
debian advisories DEBIAN-CVE-2017-9106
- adns SLES 11 SP4-LTSS, SLE Point of Sale 11 SP3 1.4-75.3.1
- adns SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +14 more 1.4-103.3.1
suse advisories SUSE-SU-2020:14399-1SUSE-SU-2020:1612-1
- adns openSUSE Leap 15.1 1.5.1-lp151.3.3.1
opensuse advisories openSUSE-SU-2020:0827-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-9106 updated cvss 7.5
adns: lack of check for out-of-range integers values can lead to out-of-bounds access
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.87% chance of exploitation in the next 30 days, higher than 79% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/TRVHN3GGVNQWAOL3PWC5FLAV7HUESLZR/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/UGFZ4SPV6KFQK6ZNUZFB5Y32OYFOM5YJ/
vendor-advisory
-
chiark.greenend.org.uk
/ucgi/~ianmdlvl/git?p=adns.git
third-party-advisory
-
chiark.greenend.org.uk
/pipermail/adns-announce/2020/000004.html
release-notes, third-party-advisory
- chiark.greenend.org.uk /ucgi/~ianmdlvl/git?p=adns.git%3Ba=blob%3Bf=changelog
Sources
- CVE List CVE-2017-9106
- NVD CVE-2017-9106
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.