EulerOS 2.0 SP9 : numpy (EulerOS-SA-2022-1453)

medium Nessus Plugin ID 159794

Synopsis

The remote EulerOS host is missing multiple security updates.

Description

According to the versions of the numpy package installed, the EulerOS installation on the remote host is affected by the following vulnerabilities :

- ** DISPUTED ** Null Pointer Dereference vulnerability exists in numpy.sort in NumPy < and 1.19 in the PyArray_DescrNew function due to missing return-value validation, which allows attackers to conduct DoS attacks by repetitively creating sort arrays. NOTE: While correct that validation is missing, an error can only occur due to an exhaustion of memory. If the user can exhaust memory, they are already privileged.
Further, it should be practically impossible to construct an attack which can target the memory exhaustion to occur at exactly this place. (CVE-2021-41495)

- ** DISPUTED ** Buffer overflow in the array_from_pyobj function of fortranobject.c in NumPy < 1.19, which allows attackers to conduct a Denial of Service attacks by carefully constructing an array with negative values. NOTE: The vendor does not agree this is a vulnerability; the negative dimensions can only be created by an already privileged user (or internally). (CVE-2021-41496)

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

Solution

Update the affected numpy packages.

See Also

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

Plugin Details

Severity: Medium

ID: 159794

File Name: EulerOS_SA-2022-1453.nasl

Version: 1.5

Type: local

Published: 4/18/2022

Updated: 11/1/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Low

Base Score: 3.5

Temporal Score: 2.9

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

CVSS Score Source: CVE-2021-41495

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5.1

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

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

CVSS Score Source: CVE-2021-41496

Vulnerability Information

CPE: p-cpe:/a:huawei:euleros:python3-numpy, cpe:/o:huawei:euleros:2.0

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

Excluded KB Items: Host/EulerOS/uvp_version

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/18/2022

Vulnerability Publication Date: 12/17/2021

Reference Information

CVE: CVE-2021-41495, CVE-2021-41496