SUSE SLED15 / SLES15 Security Update : glib2 (SUSE-SU-2021:0778-1)

high Nessus Plugin ID 147796

Language:

Synopsis

The remote SUSE host is missing one or more security updates.

Description

This update for glib2 fixes the following issues :

CVE-2021-27218: g_byte_array_new_take takes a gsize as length but stores in a guint, this patch will refuse if the length is larger than guint. (bsc#1182328)

CVE-2021-27219: g_memdup takes a guint as parameter and sometimes leads into an integer overflow, so add a g_memdup2 function which uses gsize to replace it. (bsc#1182362)

Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or 'zypper patch'.

Alternatively you can run the command listed for your product :

SUSE MicroOS 5.0 :

zypper in -t patch SUSE-SUSE-MicroOS-5.0-2021-778=1

SUSE Linux Enterprise Module for Basesystem 15-SP3 :

zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP3-2021-778=1

SUSE Linux Enterprise Module for Basesystem 15-SP2 :

zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP2-2021-778=1

See Also

https://bugzilla.suse.com/show_bug.cgi?id=1182328

https://bugzilla.suse.com/show_bug.cgi?id=1182362

https://www.suse.com/security/cve/CVE-2021-27218/

https://www.suse.com/security/cve/CVE-2021-27219/

http://www.nessus.org/u?e9ff18cc

Plugin Details

Severity: High

ID: 147796

File Name: suse_SU-2021-0778-1.nasl

Version: 1.3

Type: local

Agent: unix

Published: 3/15/2021

Updated: 1/9/2024

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2021-27219

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:novell:suse_linux:glib2-debugsource, p-cpe:/a:novell:suse_linux:glib2-devel, p-cpe:/a:novell:suse_linux:glib2-devel-debuginfo, p-cpe:/a:novell:suse_linux:glib2-tools, p-cpe:/a:novell:suse_linux:glib2-tools-debuginfo, p-cpe:/a:novell:suse_linux:libgio-2_0, p-cpe:/a:novell:suse_linux:libgio-2_0-0, p-cpe:/a:novell:suse_linux:libgio-2_0-0-32bit-debuginfo, p-cpe:/a:novell:suse_linux:libgio-2_0-0-debuginfo, p-cpe:/a:novell:suse_linux:libglib-2_0, p-cpe:/a:novell:suse_linux:libglib-2_0-0, p-cpe:/a:novell:suse_linux:libglib-2_0-0-32bit-debuginfo, p-cpe:/a:novell:suse_linux:libglib-2_0-0-debuginfo, p-cpe:/a:novell:suse_linux:libgmodule-2_0, p-cpe:/a:novell:suse_linux:libgmodule-2_0-0, p-cpe:/a:novell:suse_linux:libgmodule-2_0-0-32bit-debuginfo, p-cpe:/a:novell:suse_linux:libgmodule-2_0-0-debuginfo, p-cpe:/a:novell:suse_linux:libgobject-2_0, p-cpe:/a:novell:suse_linux:libgobject-2_0-0, p-cpe:/a:novell:suse_linux:libgobject-2_0-0-32bit-debuginfo, p-cpe:/a:novell:suse_linux:libgobject-2_0-0-debuginfo, p-cpe:/a:novell:suse_linux:libgthread-2_0, p-cpe:/a:novell:suse_linux:libgthread-2_0-0-debuginfo, cpe:/o:novell:suse_linux:15

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/SuSE/release, Host/SuSE/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/12/2021

Vulnerability Publication Date: 2/15/2021

Reference Information

CVE: CVE-2021-27218, CVE-2021-27219