<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:cpe="http://cpe.mitre.org/language/2.0" xmlns:cvrf="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/cvrf" xmlns:cvrf-common="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/common" xmlns:cvssv2="http://scap.nist.gov/schema/cvss-v2/1.0" xmlns:cvssv3="https://www.first.org/cvss/cvss-v3.0.xsd" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ns0="http://purl.org/dc/elements/1.1/" xmlns:prod="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/prod" xmlns:scap-core="http://scap.nist.gov/schema/scap-core/1.0" xmlns:sch="http://purl.oclc.org/dsdl/schematron" xmlns:vuln="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/cvrf">
  <DocumentTitle xml:lang="en">Security update for gdb</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2024:0319-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2024-02-20T16:52:21Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2024-02-20T16:52:21Z</InitialReleaseDate>
    <CurrentReleaseDate>2024-02-20T16:52:21Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf.pl</Engine>
      <Date>2017-02-24T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">Security update for gdb</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for gdb fixes the following issues:

- Drop libdebuginfod1 BuildRequires/Recommends. The former isn't
  needed because there's a build requirement on libdebuginfod-devel
  already, which will pull the shared library. And the latter,
  because it's bogus since RPM auto generated dependency will take
  care of that requirement.

gdb was released in 13.2:

* This version of GDB includes the following changes and enhancements:

  * Support for the following new targets has been added in both GDB and GDBserver:

        * GNU/Linux/LoongArch (gdbserver) loongarch*-*-linux*
        * GNU/Linux/CSKY (gdbserver) csky*-*linux* 

  * The Windows native target now supports target async.
  * Floating-point support has now been added on LoongArch GNU/Linux.
  * New commands:

        * set print nibbles [on|off]
        * show print nibbles

        * This controls whether the 'print/t' command will display binary values in groups of four bits, known as 'nibbles'. The default is 'off'.
          Various styling-related commands. See the gdb/NEWS file for more details.
          Various maintenance commands. These are normally aimed at GDB experts or developers. See the gdb/NEWS file for more details. 

  * Python API improvements:

          * New Python API for instruction disassembly.

          * The new attribute 'locations' of gdb.Breakpoint returns a list of gdb.BreakpointLocation objects specifying the locations where the breakpoint is inserted into the debuggee.
          * New Python type gdb.BreakpointLocation.
          * New function gdb.format_address(ADDRESS, PROGSPACE, ARCHITECTURE) that formats ADDRESS as 'address '
          * New function gdb.current_language that returns the name of the current language. Unlike gdb.parameter('language'), this will never return 'auto'.
          * New function gdb.print_options that returns a dictionary of the prevailing print options, in the form accepted by gdb.Value.format_string.
          * New method gdb.Frame.language that returns the name of the frame's language.
          * gdb.Value.format_string now uses the format provided by 'print', if it is called during a 'print' or other similar operation.
          * gdb.Value.format_string now accepts the 'summary' keyword. This can be used to request a shorter representation of a value, the way that 'set print frame-arguments scalars' does.
          * The gdb.register_window_type method now restricts the set of acceptable window names. The first character of a window's name must start with a character in the set [a-zA-Z], every subsequent character of a window's name must be in the set [-_.a-zA-Z0-9]. 
   * GDB/MI changes:

          * MI version 1 is deprecated, and will be removed in GDB 14.
          * The async record stating the stopped reason 'breakpoint-hit' now contains an optional field locno. 

   * Miscellaneous improvements:

          * gdb now supports zstd compressed debug sections (ELFCOMPRESS_ZSTD) for ELF.
          * New convenience variable $_inferior_thread_count contains the number of live threads in the current inferior.
          * New convenience variables $_hit_bpnum and $_hit_locno, set to the breakpoint number and the breakpoint location number of the breakpoint last hit.
          * The 'info breakpoints' now displays enabled breakpoint locations of disabled breakpoints as in the 'y-' state.
          * The format of 'disassemble /r' and 'record instruction-history /r' has changed to match the layout of GNU objdump when disassembling.

          * A new format '/b' has been introduce to provide the old behavior of '/r'.
          * The TUI no longer styles the source and assembly code highlighted by the current position indicator by default. You can however re-enable styling using the new 'set style tui-current-position' command.
          * It is now possible to use the 'document' command to document user-defined commands.
          * Support for memory tag data for AArch64 MTE. 

   * Support Removal notices:

          * DBX mode has been removed.
          * Support for building against Python version 2 has been removed. It is now only possible to build GDB against Python 3.
          * Support for the following commands has been removed:

          * set debug aix-solib on|off
          * show debug aix-solib
          * set debug solib-frv on|off
          * show debug solib-frv

          * Use the 'set/show debug solib' commands instead. 

See the NEWS file for a more complete and detailed list of what this release includes. 
</Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="3" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">SUSE-2024-319,SUSE-SLE-SDK-12-SP5-2024-319,SUSE-SLE-SERVER-12-SP5-2024-319</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright SUSE LLC under the Creative Commons License 4.0 with Attribution (CC-BY-4.0)</DocumentDistribution>
  <DocumentReferences>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/update/announcement/2024/suse-su-20240319-1/</URL>
      <Description>Link for SUSE-SU-2024:0319-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2024-February/017848.html</URL>
      <Description>E-Mail link for SUSE-SU-2024:0319-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1068950</URL>
      <Description>SUSE Bug 1068950</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1081527</URL>
      <Description>SUSE Bug 1081527</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1211052</URL>
      <Description>SUSE Bug 1211052</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2017-16829/</URL>
      <Description>SUSE CVE CVE-2017-16829 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-7208/</URL>
      <Description>SUSE CVE CVE-2018-7208 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2022-48064/</URL>
      <Description>SUSE CVE CVE-2022-48064 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/prod">
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server 12 SP5">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server 12 SP5">
        <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP5" CPE="cpe:/o:suse:sles:12:sp5">SUSE Linux Enterprise Server 12 SP5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP5">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Server for SAP Applications 12 SP5">
        <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP5" CPE="cpe:/o:suse:sles_sap:12:sp5">SUSE Linux Enterprise Server for SAP Applications 12 SP5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE Linux Enterprise Software Development Kit 12 SP5">
      <Branch Type="Product Name" Name="SUSE Linux Enterprise Software Development Kit 12 SP5">
        <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP5" CPE="cpe:/o:suse:sle-sdk:12:sp5">SUSE Linux Enterprise Software Development Kit 12 SP5</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="gdb-13.2-2.23.1">
      <FullProductName ProductID="gdb-13.2-2.23.1">gdb-13.2-2.23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="gdb-32bit-13.2-2.23.1">
      <FullProductName ProductID="gdb-32bit-13.2-2.23.1">gdb-32bit-13.2-2.23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="gdb-64bit-13.2-2.23.1">
      <FullProductName ProductID="gdb-64bit-13.2-2.23.1">gdb-64bit-13.2-2.23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="gdb-testresults-13.2-2.23.1">
      <FullProductName ProductID="gdb-testresults-13.2-2.23.1">gdb-testresults-13.2-2.23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="gdbserver-13.2-2.23.1">
      <FullProductName ProductID="gdbserver-13.2-2.23.1">gdbserver-13.2-2.23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="gdbserver-32bit-13.2-2.23.1">
      <FullProductName ProductID="gdbserver-32bit-13.2-2.23.1">gdbserver-32bit-13.2-2.23.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="gdbserver-64bit-13.2-2.23.1">
      <FullProductName ProductID="gdbserver-64bit-13.2-2.23.1">gdbserver-64bit-13.2-2.23.1</FullProductName>
    </Branch>
    <Relationship ProductReference="gdb-13.2-2.23.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Server 12 SP5:gdb-13.2-2.23.1">gdb-13.2-2.23.1 as a component of SUSE Linux Enterprise Server 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="gdb-13.2-2.23.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Server for SAP Applications 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Server for SAP Applications 12 SP5:gdb-13.2-2.23.1">gdb-13.2-2.23.1 as a component of SUSE Linux Enterprise Server for SAP Applications 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="gdbserver-13.2-2.23.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP5:gdbserver-13.2-2.23.1">gdbserver-13.2-2.23.1 as a component of SUSE Linux Enterprise Software Development Kit 12 SP5</FullProductName>
    </Relationship>
    <Relationship ProductReference="gdbserver-32bit-13.2-2.23.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Linux Enterprise Software Development Kit 12 SP5">
      <FullProductName ProductID="SUSE Linux Enterprise Software Development Kit 12 SP5:gdbserver-32bit-13.2-2.23.1">gdbserver-32bit-13.2-2.23.1 as a component of SUSE Linux Enterprise Software Development Kit 12 SP5</FullProductName>
    </Relationship>
  </ProductTree>
  <vuln:Vulnerability xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">The _bfd_elf_parse_gnu_properties function in elf-properties.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.29.1, does not prevent negative pointers, which allows remote attackers to cause a denial of service (out-of-bounds read and application crash) or possibly have unspecified other impact via a crafted ELF file.</Note>
    </Notes>
    <CVE>CVE-2017-16829</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Server 12 SP5:gdb-13.2-2.23.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP5:gdb-13.2-2.23.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP5:gdbserver-13.2-2.23.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP5:gdbserver-32bit-13.2-2.23.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV2>
        <BaseScoreV2>2.1</BaseScoreV2>
        <VectorV2>AV:L/AC:L/Au:N/C:N/I:N/A:P</VectorV2>
      </ScoreSetV2>
      <ScoreSetV3>
        <BaseScoreV3>3.3</BaseScoreV3>
        <VectorV3>CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L</VectorV3>
      </ScoreSetV3>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2024/suse-su-20240319-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-16829.html</URL>
        <Description>CVE-2017-16829</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1068950</URL>
        <Description>SUSE Bug 1068950</Description>
      </Reference>
    </References>
  </vuln:Vulnerability>
  <vuln:Vulnerability xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">In the coff_pointerize_aux function in coffgen.c in the Binary File Descriptor (BFD) library (aka libbfd), as distributed in GNU Binutils 2.30, an index is not validated, which allows remote attackers to cause a denial of service (segmentation fault) or possibly have unspecified other impact via a crafted file, as demonstrated by objcopy of a COFF object.</Note>
    </Notes>
    <CVE>CVE-2018-7208</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Server 12 SP5:gdb-13.2-2.23.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP5:gdb-13.2-2.23.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP5:gdbserver-13.2-2.23.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP5:gdbserver-32bit-13.2-2.23.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV2>
        <BaseScoreV2>6.8</BaseScoreV2>
        <VectorV2>AV:N/AC:M/Au:N/C:P/I:P/A:P</VectorV2>
      </ScoreSetV2>
      <ScoreSetV3>
        <BaseScoreV3>3.3</BaseScoreV3>
        <VectorV3>CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L</VectorV3>
      </ScoreSetV3>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2024/suse-su-20240319-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-7208.html</URL>
        <Description>CVE-2018-7208</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1081527</URL>
        <Description>SUSE Bug 1081527</Description>
      </Reference>
    </References>
  </vuln:Vulnerability>
  <vuln:Vulnerability xmlns="http://docs.oasis-open.org/csaf/ns/csaf-cvrf/v1.2/vuln" Ordinal="3">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">GNU Binutils before 2.40 was discovered to contain an excessive memory consumption vulnerability via the function bfd_dwarf2_find_nearest_line_with_alt at dwarf2.c. The attacker could supply a crafted ELF file and cause a DNS attack.</Note>
    </Notes>
    <CVE>CVE-2022-48064</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Linux Enterprise Server 12 SP5:gdb-13.2-2.23.1</ProductID>
        <ProductID>SUSE Linux Enterprise Server for SAP Applications 12 SP5:gdb-13.2-2.23.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP5:gdbserver-13.2-2.23.1</ProductID>
        <ProductID>SUSE Linux Enterprise Software Development Kit 12 SP5:gdbserver-32bit-13.2-2.23.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSetV3>
        <BaseScoreV3>0</BaseScoreV3>
        <VectorV3>CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:N</VectorV3>
      </ScoreSetV3>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2024/suse-su-20240319-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2022-48064.html</URL>
        <Description>CVE-2022-48064</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1214619</URL>
        <Description>SUSE Bug 1214619</Description>
      </Reference>
    </References>
  </vuln:Vulnerability>
</cvrfdoc>
