NewStart CGSL CORE 5.05 / MAIN 5.05 : perl Multiple Vulnerabilities (NS-SA-2021-0184)

high Nessus Plugin ID 154484
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 NewStart CGSL host is affected by multiple vulnerabilities.

Description

The remote NewStart CGSL host, running version CORE 5.05 / MAIN 5.05, has perl packages installed that are affected by multiple vulnerabilities:

- Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers have an integer overflow. (CVE-2020-10543)

- Perl before 5.30.3 has an integer overflow related to mishandling of a PL_regkind[OP(n)] == NOTHING situation. A crafted regular expression could lead to malformed bytecode with a possibility of instruction injection. (CVE-2020-10878)

- regcomp.c in Perl before 5.30.3 allows a buffer overflow via a crafted regular expression because of recursive S_study_chunk calls. (CVE-2020-12723)

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

Solution

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

See Also

http://security.gd-linux.com/info/CVE-2020-12723

http://security.gd-linux.com/notice/NS-SA-2021-0184

http://security.gd-linux.com/info/CVE-2020-10543

http://security.gd-linux.com/info/CVE-2020-10878

Plugin Details

Severity: High

ID: 154484

File Name: newstart_cgsl_NS-SA-2021-0184_perl.nasl

Version: 1.2

Type: local

Published: 10/27/2021

Updated: 10/27/2021

Dependencies: ssh_get_info.nasl

Risk Information

CVSS Score Source: CVE-2020-10878

VPR

Risk Factor: Medium

Score: 5.5

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

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

CVSS v3

Risk Factor: High

Base Score: 8.6

Temporal Score: 7.5

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

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

Vulnerability Information

CPE: cpe:2.3:o:zte:cgsl_main:5:*:*:*:*:*:*:*, cpe:2.3:o:zte:cgsl_core:5:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_core:perl:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_core:perl-cpan:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_core:perl-extutils-cbuilder:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_core:perl-extutils-embed:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_core:perl-extutils-install:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_core:perl-io-zlib:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_core:perl-locale-maketext-simple:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_core:perl-module-corelist:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_core:perl-module-loaded:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_core:perl-object-accessor:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_core:perl-package-constants:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_core:perl-pod-escapes:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_core:perl-time-piece:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_core:perl-core:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_core:perl-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_core:perl-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_core:perl-libs:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_core:perl-macros:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_core:perl-tests:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_main:perl:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_main:perl-cpan:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_main:perl-extutils-cbuilder:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_main:perl-extutils-embed:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_main:perl-extutils-install:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_main:perl-io-zlib:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_main:perl-locale-maketext-simple:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_main:perl-module-corelist:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_main:perl-module-loaded:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_main:perl-object-accessor:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_main:perl-package-constants:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_main:perl-pod-escapes:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_main:perl-time-piece:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_main:perl-core:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_main:perl-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_main:perl-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_main:perl-libs:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_main:perl-macros:*:*:*:*:*:*:*, p-cpe:2.3:a:zte:cgsl_main:perl-tests:*:*:*:*:*:*:*

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

Exploit Ease: No known exploits are available

Patch Publication Date: 9/24/2021

Vulnerability Publication Date: 6/2/2020

Reference Information

CVE: CVE-2020-10543, CVE-2020-10878, CVE-2020-12723

IAVA: 2020-A-0268, 2021-A-0030, 2021-A-0328