SUSE SLED12 / SLES12 Security Update : unrar (SUSE-SU-2021:2834-1)

critical Nessus Plugin ID 152833

Language:

Synopsis

The remote SUSE host is missing one or more security updates.

Description

The remote SUSE Linux SLED12 / SLES12 / SLES_SAP12 host has packages installed that are affected by multiple vulnerabilities as referenced in the SUSE-SU-2021:2834-1 advisory.

- A VMSF_DELTA memory corruption was discovered in unrar before 5.5.5, as used in Sophos Anti-Virus Threat Detection Engine before 3.37.2 and other products, that can lead to arbitrary code execution. An integer overflow can be caused in DataSize+CurChannel. The result is a negative value of the DestPos variable, which allows the attacker to write out of bounds when setting Mem[DestPos]. (CVE-2012-6706)

- UnRAR before 5.5.7 allows remote attackers to bypass a directory-traversal protection mechanism via vectors involving a symlink to the . directory, a symlink to the .. directory, and a regular file.
(CVE-2017-12938)

- libunrar.a in UnRAR before 5.5.7 has an out-of-bounds read in the EncodeFileName::Decode call within the Archive::ReadHeader15 function. (CVE-2017-12940)

- libunrar.a in UnRAR before 5.5.7 has an out-of-bounds read in the Unpack::Unpack20 function.
(CVE-2017-12941)

- libunrar.a in UnRAR before 5.5.7 has a buffer overflow in the Unpack::LongLZ function. (CVE-2017-12942)

- UnRAR 5.6.1.2 and 5.6.1.3 has a heap-based buffer overflow in Unpack::CopyString (called from Unpack::Unpack5 and CmdExtract::ExtractCurrentFile). (CVE-2017-20006)

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

Solution

Update the affected libunrar-devel, libunrar5_6_1 and / or unrar packages.

See Also

https://bugzilla.suse.com/1046882

https://bugzilla.suse.com/1054038

https://bugzilla.suse.com/1187974

https://www.suse.com/security/cve/CVE-2012-6706

https://www.suse.com/security/cve/CVE-2017-12938

https://www.suse.com/security/cve/CVE-2017-12940

https://www.suse.com/security/cve/CVE-2017-12941

https://www.suse.com/security/cve/CVE-2017-12942

https://www.suse.com/security/cve/CVE-2017-20006

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

Plugin Details

Severity: Critical

ID: 152833

File Name: suse_SU-2021-2834-1.nasl

Version: 1.4

Type: local

Agent: unix

Published: 8/26/2021

Updated: 7/13/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2012-6706

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

CVSS Score Source: CVE-2017-12942

Vulnerability Information

CPE: cpe:/o:novell:suse_linux:12, p-cpe:/a:novell:suse_linux:libunrar5_6_1, p-cpe:/a:novell:suse_linux:libunrar-devel, p-cpe:/a:novell:suse_linux:unrar

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/25/2021

Vulnerability Publication Date: 6/22/2017

Reference Information

CVE: CVE-2012-6706, CVE-2017-12938, CVE-2017-12940, CVE-2017-12941, CVE-2017-12942, CVE-2017-20006

SuSE: SUSE-SU-2021:2834-1