NewStart CGSL MAIN 6.02 : glib2 Multiple Vulnerabilities (NS-SA-2022-0053)

high Nessus Plugin ID 160863


The remote NewStart CGSL host is affected by multiple vulnerabilities.


The remote NewStart CGSL host, running version MAIN 6.02, has glib2 packages installed that are affected by multiple vulnerabilities:

- The keyfile settings backend in GNOME GLib (aka glib2.0) before 2.60.0 creates directories using g_file_make_directory_with_parents (kfsb->dir, NULL, NULL) and files using g_file_replace_contents (kfsb->file, contents, length, NULL, FALSE, G_FILE_CREATE_REPLACE_DESTINATION, NULL, NULL, NULL).
Consequently, it does not properly restrict directory (and file) permissions. Instead, for directories, 0777 permissions are used; for files, default file permissions are used. This is similar to CVE-2019-12450. (CVE-2019-13012)

- An issue was discovered in GNOME GLib before 2.66.6 and 2.67.x before 2.67.3. The function g_bytes_new has an integer overflow on 64-bit platforms due to an implicit cast from 64 bits to 32 bits. The overflow could potentially lead to memory corruption. (CVE-2021-27219)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.


Upgrade the vulnerable CGSL glib2 packages. Note that updated packages may not be available yet. Please contact ZTE for more information.

See Also

Plugin Details

Severity: High

ID: 160863

File Name: newstart_cgsl_NS-SA-2022-0053_glib2.nasl

Version: 1.2

Type: local

Published: 5/10/2022

Updated: 5/10/2022

Risk Information


Risk Factor: Medium

Score: 4.4


Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

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

CVSS Score Source: CVE-2019-13012


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:H/A:N

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

Vulnerability Information

CPE: p-cpe:/a:zte:cgsl_main:glib2, p-cpe:/a:zte:cgsl_main:glib2-debuginfo, p-cpe:/a:zte:cgsl_main:glib2-debugsource, p-cpe:/a:zte:cgsl_main:glib2-devel, p-cpe:/a:zte:cgsl_main:glib2-devel-debuginfo, p-cpe:/a:zte:cgsl_main:glib2-fam, p-cpe:/a:zte:cgsl_main:glib2-fam-debuginfo, p-cpe:/a:zte:cgsl_main:glib2-static, p-cpe:/a:zte:cgsl_main:glib2-tests, p-cpe:/a:zte:cgsl_main:glib2-tests-debuginfo, cpe:/o:zte:cgsl_main:6

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

Exploit Ease: No known exploits are available

Patch Publication Date: 5/8/2022

Vulnerability Publication Date: 6/28/2019

Reference Information

CVE: CVE-2019-13012, CVE-2021-27219