EulerOS 2.0 SP8 : elfutils (EulerOS-SA-2019-2102)

medium Nessus Plugin ID 130811

Synopsis

The remote EulerOS host is missing multiple security updates.

Description

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

- An invalid memory address dereference was discovered in dwfl_segment_report_module.c in libdwfl in elfutils through v0.174. The vulnerability allows attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by consider_notes.(CVE-2018-18310)

- An Invalid Memory Address Dereference exists in the function elf_end in libelf in elfutils through v0.174.
Although eu-size is intended to support ar files inside ar files, handle_ar in size.c closes the outer ar file before handling all inner entries. The vulnerability allows attackers to cause a denial of service (application crash) with a crafted ELF file.(CVE-2018-18520)

- Divide-by-zero vulnerabilities in the function arlib_add_symbols() in arlib.c in elfutils 0.174 allow remote attackers to cause a denial of service (application crash) with a crafted ELF file, as demonstrated by eu-ranlib, because a zero sh_entsize is mishandled.(CVE-2018-18521)

- An attempted excessive memory allocation was discovered in the function read_long_names in elf_begin.c in libelf in elfutils 0.174. Remote attackers could leverage this vulnerability to cause a denial-of-service via crafted elf input, which leads to an out-of-memory exception. NOTE: The maintainers believe this is not a real issue, but instead a 'warning caused by ASAN because the allocation is big.
By setting ASAN_OPTIONS=allocator_may_return_null=1 and running the reproducer, nothing happens.'(CVE-2019-7148)

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 elfutils packages.

See Also

http://www.nessus.org/u?542cbd17

Plugin Details

Severity: Medium

ID: 130811

File Name: EulerOS_SA-2019-2102.nasl

Version: 1.9

Type: local

Published: 11/12/2019

Updated: 4/12/2024

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.4

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

CVSS Score Source: CVE-2019-7148

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/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:huawei:euleros:elfutils, p-cpe:/a:huawei:euleros:elfutils-default-yama-scope, p-cpe:/a:huawei:euleros:elfutils-devel, p-cpe:/a:huawei:euleros:elfutils-devel-static, p-cpe:/a:huawei:euleros:elfutils-libelf, p-cpe:/a:huawei:euleros:elfutils-libelf-devel, p-cpe:/a:huawei:euleros:elfutils-libelf-devel-static, p-cpe:/a:huawei:euleros:elfutils-libs, cpe:/o:huawei:euleros:2.0

Required KB Items: Host/local_checks_enabled, 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: 10/27/2019

Reference Information

CVE: CVE-2018-18310, CVE-2018-18520, CVE-2018-18521, CVE-2019-7148