Upstream information

CVE-2017-9106 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 5
Vector AV:N/AC:L/Au:N/C:N/I:N/A:P
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact None
Integrity Impact None
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 7.5 7.5
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Access Vector Network Network
Access Complexity Low Low
Privileges Required None None
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact None None
Integrity Impact None None
Availability Impact High High
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1172265 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Container suse/sles12sp4:latest
Container suse/sles12sp5:latest
  • libadns1 >= 1.4-103.3.1
HPE Helion Openstack 8
  • adns >= 1.4-103.3.1
  • libadns1 >= 1.4-103.3.1
Patchnames:
HPE-Helion-OpenStack-8-2020-1612
SUSE Enterprise Storage 5
  • adns >= 1.4-103.3.1
  • libadns1 >= 1.4-103.3.1
Patchnames:
SUSE-Storage-5-2020-1612
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP1
  • adns >= 1.5.1-3.3.1
  • libadns-devel >= 1.5.1-3.3.1
  • libadns-devel-32bit >= 1.5.1-3.3.1
  • libadns1 >= 1.5.1-3.3.1
  • libadns1-32bit >= 1.5.1-3.3.1
Patchnames:
SUSE-SLE-Module-Development-Tools-OBS-15-SP1-2020-1613
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP2
  • adns >= 1.5.1-3.3.1
  • libadns-devel >= 1.5.1-3.3.1
  • libadns-devel-32bit >= 1.5.1-3.3.1
  • libadns1 >= 1.5.1-3.3.1
  • libadns1-32bit >= 1.5.1-3.3.1
Patchnames:
SUSE-SLE-Module-Development-Tools-OBS-15-SP2-2020-1613
SUSE Linux Enterprise Point of Sale 11 SP3
  • adns >= 1.4-75.3.1
  • libadns1 >= 1.4-75.3.1
Patchnames:
sleposp3-adns-14399
SUSE Linux Enterprise Point of Sale 12 SP2-CLIENT
  • adns >= 1.4-103.3.1
  • libadns1 >= 1.4-103.3.1
Patchnames:
SUSE-SLE-POS-12-SP2-CLIENT-2020-1612
SUSE Linux Enterprise Server 11 SP4-LTSS
SUSE Linux Enterprise Server for SAP Applications 11 SP4-LTSS
  • adns >= 1.4-75.3.1
  • libadns1 >= 1.4-75.3.1
Patchnames:
slessp4-adns-14399
SUSE Linux Enterprise Server 12 SP2-BCL
SUSE Linux Enterprise Server for SAP Applications 12 SP2-BCL
  • adns >= 1.4-103.3.1
  • libadns1 >= 1.4-103.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-BCL-2020-1612
SUSE Linux Enterprise Server 12 SP2-ESPOS
SUSE Linux Enterprise Server for SAP Applications 12 SP2-ESPOS
  • adns >= 1.4-103.3.1
  • libadns1 >= 1.4-103.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-ESPOS-2020-1612
SUSE Linux Enterprise Server 12 SP2-LTSS
SUSE Linux Enterprise Server for SAP Applications 12 SP2-LTSS
  • adns >= 1.4-103.3.1
  • libadns1 >= 1.4-103.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP2-2020-1612
SUSE Linux Enterprise Server 12 SP3-BCL
SUSE Linux Enterprise Server for SAP Applications 12 SP3-BCL
  • adns >= 1.4-103.3.1
  • libadns1 >= 1.4-103.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-BCL-2020-1612
SUSE Linux Enterprise Server 12 SP3-ESPOS
SUSE Linux Enterprise Server for SAP Applications 12 SP3-ESPOS
  • adns >= 1.4-103.3.1
  • libadns1 >= 1.4-103.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-ESPOS-2020-1612
SUSE Linux Enterprise Server 12 SP3-LTSS
SUSE Linux Enterprise Server for SAP Applications 12 SP3-LTSS
  • adns >= 1.4-103.3.1
  • libadns1 >= 1.4-103.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP3-2020-1612
SUSE Linux Enterprise Server 12 SP4
SUSE Linux Enterprise Server for SAP Applications 12 SP4
  • adns >= 1.4-103.3.1
  • libadns1 >= 1.4-103.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP4-2020-1612
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12 SP5
  • adns >= 1.4-103.3.1
  • libadns1 >= 1.4-103.3.1
Patchnames:
SUSE-SLE-SERVER-12-SP5-2020-1612
SUSE Linux Enterprise Server for SAP Applications 12 SP2
  • adns >= 1.4-103.3.1
  • libadns1 >= 1.4-103.3.1
Patchnames:
SUSE-SLE-SAP-12-SP2-2020-1612
SUSE Linux Enterprise Server for SAP Applications 12 SP3
  • adns >= 1.4-103.3.1
  • libadns1 >= 1.4-103.3.1
Patchnames:
SUSE-SLE-SAP-12-SP3-2020-1612
SUSE Linux Enterprise Software Development Kit 12 SP4
  • adns >= 1.4-103.3.1
  • libadns-devel >= 1.4-103.3.1
Patchnames:
SUSE-SLE-SDK-12-SP4-2020-1612
SUSE Linux Enterprise Software Development Kit 12 SP5
  • adns >= 1.4-103.3.1
  • libadns-devel >= 1.4-103.3.1
Patchnames:
SUSE-SLE-SDK-12-SP5-2020-1612
SUSE OpenStack Cloud 7
  • adns >= 1.4-103.3.1
  • libadns1 >= 1.4-103.3.1
Patchnames:
SUSE-OpenStack-Cloud-7-2020-1612
SUSE OpenStack Cloud 8
  • adns >= 1.4-103.3.1
  • libadns1 >= 1.4-103.3.1
Patchnames:
SUSE-OpenStack-Cloud-8-2020-1612
SUSE OpenStack Cloud Crowbar 8
  • adns >= 1.4-103.3.1
  • libadns1 >= 1.4-103.3.1
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-8-2020-1612
openSUSE Leap 15.1
  • adns >= 1.5.1-lp151.3.3.1
  • adns-debuginfo >= 1.5.1-lp151.3.3.1
  • adns-debugsource >= 1.5.1-lp151.3.3.1
  • libadns-devel >= 1.5.1-lp151.3.3.1
  • libadns-devel-32bit >= 1.5.1-lp151.3.3.1
  • libadns1 >= 1.5.1-lp151.3.3.1
  • libadns1-32bit >= 1.5.1-lp151.3.3.1
  • libadns1-32bit-debuginfo >= 1.5.1-lp151.3.3.1
  • libadns1-debuginfo >= 1.5.1-lp151.3.3.1
Patchnames:
openSUSE-2020-827


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
SUSE CaaS Platform 3.0 adns Ignore
SUSE Container as a Service Platform 1.0 adns Affected
SUSE Container as a Service Platform 2.0 adns Ignore
SUSE Linux Enterprise High Performance Computing 12 SP4 adns Released
SUSE Linux Enterprise High Performance Computing 12 SP5 adns Released
SUSE Linux Enterprise Server 11 SP3 adns Released
SUSE Linux Enterprise Server 11 SP4 LTSS adns Released
SUSE Linux Enterprise Server 12 SP1 LTSS adns Ignore
SUSE Linux Enterprise Server 12 SP2 BCL adns Released
SUSE Linux Enterprise Server 12 SP2 LTSS adns Released
SUSE Linux Enterprise Server 12 SP3 BCL adns Released
SUSE Linux Enterprise Server 12 SP3 LTSS adns Released
SUSE Linux Enterprise Server 12 SP4 adns Released
SUSE Linux Enterprise Server 12 SP5 adns Released
SUSE Linux Enterprise Server for SAP Applications 12 SP2 adns Released
SUSE Linux Enterprise Server for SAP Applications 12 SP3 adns Released
SUSE Linux Enterprise Server for SAP Applications 12 SP4 adns Released
SUSE Linux Enterprise Server for SAP Applications 12 SP5 adns Released
SUSE Linux Enterprise Software Development Kit 12 SP4 adns Released
SUSE Linux Enterprise Software Development Kit 12 SP5 adns Released