CERTsSecurity

gdb: CVSS (Max): 3.3

===========================================================================
AUSCERT External Security Bulletin Redistribution

ESB-2024.1937
Security update for gdb
28 March 2024

===========================================================================

AusCERT Security Bulletin Summary
———————————

Product: gdb
Publisher: SUSE
Operating System: SUSE
Resolution: Patch/Upgrade
CVE Names: CVE-2022-48064 CVE-2017-16829 CVE-2018-7208

Original Bulletin:
https://www.suse.com/support/update/announcement/2024/suse-su-20240898-1

Comment: CVSS (Max): 3.3 CVE-2018-7208 (CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L)
CVSS Source: SUSE
Calculator: https://www.first.org/cvss/calculator/3.0#CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

– ————————–BEGIN INCLUDED TEXT——————–

Security update for gdb

Announcement ID: SUSE-SU-2024:0898-1
Rating: moderate
o bsc#1068950
o bsc#1081527
References: o bsc#1211052
o jsc#PED-6584

o CVE-2017-16829
Cross-References: o CVE-2018-7208
o CVE-2022-48064

o CVE-2017-16829 ( SUSE ): 3.3 CVSS:3.0/AV:L/AC:L/PR:N/UI:R
/S:U/C:N/I:N/A:L
o CVE-2017-16829 ( NVD ): 7.8 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/
S:U/C:H/I:H/A:H
o CVE-2018-7208 ( SUSE ): 3.3 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/
S:U/C:N/I:N/A:L
CVSS scores: o CVE-2018-7208 ( NVD ): 7.8 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/
S:U/C:H/I:H/A:H
o CVE-2022-48064 ( SUSE ): 0.0 CVSS:3.1/AV:L/AC:L/PR:N/UI:R
/S:U/C:N/I:N/A:N
o CVE-2022-48064 ( NVD ): 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/
S:U/C:N/I:N/A:H

o Development Tools Module 15-SP5
o openSUSE Leap 15.4
o openSUSE Leap 15.5
o SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4
o SUSE Linux Enterprise Desktop 15 SP5
o SUSE Linux Enterprise High Performance Computing 15 SP4
o SUSE Linux Enterprise High Performance Computing 15 SP5
Affected o SUSE Linux Enterprise High Performance Computing ESPOS 15
Products: SP4
o SUSE Linux Enterprise High Performance Computing LTSS 15
SP4
o SUSE Linux Enterprise Real Time 15 SP5
o SUSE Linux Enterprise Server 15 SP4
o SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4
o SUSE Linux Enterprise Server 15 SP5
o SUSE Linux Enterprise Server for SAP Applications 15 SP4
o SUSE Linux Enterprise Server for SAP Applications 15 SP5

An update that solves three vulnerabilities and contains one feature can now be
installed.

Description:

This update for gdb fixes the following issues:

o 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:

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

o 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*

o The Windows native target now supports target async.

o Floating-point support has now been added on LoongArch GNU/Linux.
o 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.

o 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.
o 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.

o 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.

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like
YaST online_update or “zypper patch”.
Alternatively you can run the command listed for your product:

o openSUSE Leap 15.4
zypper in -t patch SUSE-2024-898=1
o openSUSE Leap 15.5
zypper in -t patch openSUSE-SLE-15.5-2024-898=1
o Development Tools Module 15-SP5
zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP5-2024-898=1
o SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4
zypper in -t patch SUSE-SLE-Product-HPC-15-SP4-ESPOS-2024-898=1
o SUSE Linux Enterprise High Performance Computing LTSS 15 SP4
zypper in -t patch SUSE-SLE-Product-HPC-15-SP4-LTSS-2024-898=1
o SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4
zypper in -t patch SUSE-SLE-Product-SLED-15-SP4-LTSS-2024-898=1
o SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4
zypper in -t patch SUSE-SLE-Product-SLES-15-SP4-LTSS-2024-898=1
o SUSE Linux Enterprise Server for SAP Applications 15 SP4
zypper in -t patch SUSE-SLE-Product-SLES_SAP-15-SP4-2024-898=1

Package List:

o openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64 i586)
gdb-debugsource-13.2-150400.15.14.1
gdbserver-debuginfo-13.2-150400.15.14.1
gdb-13.2-150400.15.14.1
gdb-debuginfo-13.2-150400.15.14.1
gdbserver-13.2-150400.15.14.1
o openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64 i586 nosrc)
gdb-testresults-13.2-150400.15.14.4
o openSUSE Leap 15.4 (aarch64_ilp32)
gdb-64bit-13.2-150400.15.14.1
gdbserver-64bit-debuginfo-13.2-150400.15.14.1
gdb-64bit-debuginfo-13.2-150400.15.14.1
gdbserver-64bit-13.2-150400.15.14.1
o openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64)
gdb-debugsource-13.2-150400.15.14.1
gdbserver-debuginfo-13.2-150400.15.14.1
gdb-13.2-150400.15.14.1
gdb-debuginfo-13.2-150400.15.14.1
gdbserver-13.2-150400.15.14.1
o openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64 nosrc)
gdb-testresults-13.2-150400.15.14.4
o Development Tools Module 15-SP5 (aarch64 ppc64le s390x x86_64)
gdb-debugsource-13.2-150400.15.14.1
gdbserver-debuginfo-13.2-150400.15.14.1
gdb-13.2-150400.15.14.1
gdb-debuginfo-13.2-150400.15.14.1
gdbserver-13.2-150400.15.14.1
o SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (aarch64
x86_64)
gdb-debugsource-13.2-150400.15.14.1
gdbserver-debuginfo-13.2-150400.15.14.1
gdb-13.2-150400.15.14.1
gdb-debuginfo-13.2-150400.15.14.1
gdbserver-13.2-150400.15.14.1
o SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (aarch64
x86_64)
gdb-debugsource-13.2-150400.15.14.1
gdbserver-debuginfo-13.2-150400.15.14.1
gdb-13.2-150400.15.14.1
gdb-debuginfo-13.2-150400.15.14.1
gdbserver-13.2-150400.15.14.1
o SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (x86_64)
gdb-debugsource-13.2-150400.15.14.1
gdbserver-debuginfo-13.2-150400.15.14.1
gdb-13.2-150400.15.14.1
gdb-debuginfo-13.2-150400.15.14.1
gdbserver-13.2-150400.15.14.1
o SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (aarch64 ppc64le s390x
x86_64)
gdb-debugsource-13.2-150400.15.14.1
gdbserver-debuginfo-13.2-150400.15.14.1
gdb-13.2-150400.15.14.1
gdb-debuginfo-13.2-150400.15.14.1
gdbserver-13.2-150400.15.14.1
o SUSE Linux Enterprise Server for SAP Applications 15 SP4 (ppc64le x86_64)
gdb-debugsource-13.2-150400.15.14.1
gdbserver-debuginfo-13.2-150400.15.14.1
gdb-13.2-150400.15.14.1
gdb-debuginfo-13.2-150400.15.14.1
gdbserver-13.2-150400.15.14.1

References:

o https://www.suse.com/security/cve/CVE-2017-16829.html
o https://www.suse.com/security/cve/CVE-2018-7208.html
o https://www.suse.com/security/cve/CVE-2022-48064.html
o https://bugzilla.suse.com/show_bug.cgi?id=1068950
o https://bugzilla.suse.com/show_bug.cgi?id=1081527
o https://bugzilla.suse.com/show_bug.cgi?id=1211052
o https://jira.suse.com/browse/PED-6584

– ————————–END INCLUDED TEXT———————-

You have received this e-mail bulletin as a result of your organisation’s
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT’s members. As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation’s
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin. It may
not be updated when updates to the original are made. If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author’s website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above. If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile: (07) 3365 7031
Telephone: (07) 3365 4417 (International: +61 7 3365 4417)
AusCERT personnel answer during Queensland business hours
which are GMT+10:00 (AEST).
On call after hours for member emergencies only.
===========================================================================Security BulletinsRead More