CVE-2017-9106
publishedadns: lack of check for out-of-range integers values can lead to out-of-bounds access
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| SUSE / openSUSE | SLE-11-SP3 | libadns1i586 | Advisory build | 1.4-75.3.1 | SUSE-SU-2020:14399-1 |
| SUSE / openSUSE | SLE-11-SP4 | libadns1i586 | Advisory build | 1.4-75.3.1 | SUSE-SU-2020:14399-1 |
| SUSE / openSUSE | SLE-11-SP4 | libadns1ppc64 | Advisory build | 1.4-75.3.1 | SUSE-SU-2020:14399-1 |
| SUSE / openSUSE | SLE-11-SP4 | libadns1s390x | Advisory build | 1.4-75.3.1 | SUSE-SU-2020:14399-1 |
| SUSE / openSUSE | SLE-11-SP4 | libadns1x86_64 | Advisory build | 1.4-75.3.1 | SUSE-SU-2020:14399-1 |
| SUSE / openSUSE | SLE-12-SP2 | libadns1ppc64le | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP2 | libadns1s390x | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
Show 49 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-12-SP2 | libadns1x86_64 | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP3 | libadns1aarch64 | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP3 | libadns1ppc64le | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP3 | libadns1s390x | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP3 | libadns1x86_64 | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP4 | libadns-develaarch64 | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP4 | libadns-develppc64le | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP4 | libadns-devels390x | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP4 | libadns-develx86_64 | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP4 | libadns1aarch64 | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP4 | libadns1ppc64le | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP4 | libadns1s390x | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP4 | libadns1x86_64 | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP5 | libadns-develaarch64 | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP5 | libadns-develppc64le | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP5 | libadns-devels390x | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP5 | libadns-develx86_64 | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP5 | libadns1aarch64 | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP5 | libadns1ppc64le | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP5 | libadns1s390x | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | SLE-12-SP5 | libadns1x86_64 | Advisory build | 1.4-103.3.1 | SUSE-SU-2020:1612-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | adnsi586 | Advisory build | 1.5.1-lp151.3.3.1 | OPENSUSE-SU-2020:0827-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | adnsx86_64 | Advisory build | 1.5.1-lp151.3.3.1 | OPENSUSE-SU-2020:0827-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libadns-develi586 | Advisory build | 1.5.1-lp151.3.3.1 | OPENSUSE-SU-2020:0827-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libadns-develx86_64 | Advisory build | 1.5.1-lp151.3.3.1 | OPENSUSE-SU-2020:0827-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libadns-devel-32bitx86_64 | Advisory build | 1.5.1-lp151.3.3.1 | OPENSUSE-SU-2020:0827-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libadns1i586 | Advisory build | 1.5.1-lp151.3.3.1 | OPENSUSE-SU-2020:0827-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libadns1x86_64 | Advisory build | 1.5.1-lp151.3.3.1 | OPENSUSE-SU-2020:0827-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | libadns1-32bitx86_64 | Advisory build | 1.5.1-lp151.3.3.1 | OPENSUSE-SU-2020:0827-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | adnsaarch64 | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | adnsppc64le | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | adnss390x | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | adnsx86_64 | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libadns-develaarch64 | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libadns-develppc64le | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libadns-devels390x | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libadns-develx86_64 | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libadns-devel-32bitaarch64 | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libadns-devel-32bitppc64le | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libadns-devel-32bits390x | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libadns-devel-32bitx86_64 | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libadns1aarch64 | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libadns1ppc64le | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libadns1s390x | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libadns1x86_64 | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libadns1-32bitaarch64 | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libadns1-32bitppc64le | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libadns1-32bits390x | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libadns1-32bitx86_64 | Advisory build | 1.6.0-1.8 | OPENSUSE-SU-2024:10612-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
5- http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git
- http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=adns.git%3Ba=blob%3Bf=changelog
- FEDORA-2020-530188bf36 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TRVHN3GGVNQWAOL3PWC5FLAV7HUESLZR/
- FEDORA-2020-e59bcaf702 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UGFZ4SPV6KFQK6ZNUZFB5Y32OYFOM5YJ/
- https://www.chiark.greenend.org.uk/pipermail/adns-announce/2020/000004.html
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 73e1f9d3a44becc92c63e5b9cb582246a777acb34c46797604f40c4eadcbd89a
- Ingested
- 23 Sep 2026, 07:43:03 UTC
- Source record
- Official CVE record