openSUSE Security Update : glib2 (openSUSE-2021-406)

high Nessus Plugin ID 147779

Language:

New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote openSUSE host is missing a security update.

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)

This update was imported from the SUSE:SLE-15-SP2:Update update project.

Solution

Update the affected glib2 packages.

See Also

https://bugzilla.opensuse.org/show_bug.cgi?id=1182328

https://bugzilla.opensuse.org/show_bug.cgi?id=1182362

Plugin Details

Severity: High

ID: 147779

File Name: openSUSE-2021-406.nasl

Version: 1.2

Type: local

Agent: unix

Published: 3/15/2021

Updated: 3/17/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

Temporal Vector: E:U/RL:OF/RC:C

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:novell:opensuse:gio-branding-upstream, p-cpe:/a:novell:opensuse:glib2-debugsource, p-cpe:/a:novell:opensuse:glib2-devel, p-cpe:/a:novell:opensuse:glib2-devel-32bit, p-cpe:/a:novell:opensuse:glib2-devel-32bit-debuginfo, p-cpe:/a:novell:opensuse:glib2-devel-debuginfo, p-cpe:/a:novell:opensuse:glib2-devel-static, p-cpe:/a:novell:opensuse:glib2-lang, p-cpe:/a:novell:opensuse:glib2-tests, p-cpe:/a:novell:opensuse:glib2-tests-debuginfo, p-cpe:/a:novell:opensuse:glib2-tools, p-cpe:/a:novell:opensuse:glib2-tools-32bit, p-cpe:/a:novell:opensuse:glib2-tools-32bit-debuginfo, p-cpe:/a:novell:opensuse:glib2-tools-debuginfo, p-cpe:/a:novell:opensuse:libgio-2_0-0, p-cpe:/a:novell:opensuse:libgio-2_0-0-32bit, p-cpe:/a:novell:opensuse:libgio-2_0-0-32bit-debuginfo, p-cpe:/a:novell:opensuse:libgio-2_0-0-debuginfo, p-cpe:/a:novell:opensuse:libgio-fam, p-cpe:/a:novell:opensuse:libgio-fam-32bit, p-cpe:/a:novell:opensuse:libgio-fam-32bit-debuginfo, p-cpe:/a:novell:opensuse:libgio-fam-debuginfo, p-cpe:/a:novell:opensuse:libglib-2_0-0, p-cpe:/a:novell:opensuse:libglib-2_0-0-32bit, p-cpe:/a:novell:opensuse:libglib-2_0-0-32bit-debuginfo, p-cpe:/a:novell:opensuse:libglib-2_0-0-debuginfo, p-cpe:/a:novell:opensuse:libgmodule-2_0-0, p-cpe:/a:novell:opensuse:libgmodule-2_0-0-32bit, p-cpe:/a:novell:opensuse:libgmodule-2_0-0-32bit-debuginfo, p-cpe:/a:novell:opensuse:libgmodule-2_0-0-debuginfo, p-cpe:/a:novell:opensuse:libgobject-2_0-0, p-cpe:/a:novell:opensuse:libgobject-2_0-0-32bit, p-cpe:/a:novell:opensuse:libgobject-2_0-0-32bit-debuginfo, p-cpe:/a:novell:opensuse:libgobject-2_0-0-debuginfo, p-cpe:/a:novell:opensuse:libgthread-2_0-0, p-cpe:/a:novell:opensuse:libgthread-2_0-0-32bit, p-cpe:/a:novell:opensuse:libgthread-2_0-0-32bit-debuginfo, p-cpe:/a:novell:opensuse:libgthread-2_0-0-debuginfo, cpe:/o:novell:opensuse:15.2

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

Exploit Ease: No known exploits are available

Patch Publication Date: 3/14/2021

Vulnerability Publication Date: 2/15/2021

Reference Information

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