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.

This update for unrar to version 5.6.1 fixes several issues.

These security issues were fixed:

- CVE-2017-12938: Prevent 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 (bsc#1054038).
- CVE-2017-12940: Prevent out-of-bounds read in the EncodeFileName::Decode call within the Archive::ReadHeader15 function (bsc#1054038).
- CVE-2017-12941: Prevent an out-of-bounds read in the Unpack::Unpack20 function (bsc#1054038).
- CVE-2017-12942: Prevent a buffer overflow in the Unpack::LongLZ function (bsc#1054038).
- CVE-2017-20006: Fixed heap-based buffer overflow in Unpack:CopyString (bsc#1187974).

These non-security issues were fixed:

- Added extraction support for .LZ archives created by Lzip compressor
- Enable unpacking of files in ZIP archives compressed with XZ algorithm and encrypted with AES
- Added support for PAX extended headers inside of TAR archive
- If RAR recovery volumes (.rev files) are present in the same folder as usual RAR volumes, archive test command verifies .rev contents after completing testing .rar files
- By default unrar skips symbolic links with absolute paths in link target when extracting unless -ola command line switch is specified
- Added support for AES-NI CPU instructions
- Support for a new RAR 5.0 archiving format
- Wildcard exclusion mask for folders
- Prevent conditional jumps depending on uninitialised values (bsc#1046882)

Tenable has extracted the preceding description block directly from the SUSE security advisory.

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.5

Type: Local

Agent: unix

Published: 8/26/2021

Updated: 6/25/2026

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Tenable Cloud Security, Tenable Self-Hosted Container Security, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.12

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:unrar, p-cpe:/a:novell:suse_linux:libunrar-devel, p-cpe:/a:novell:suse_linux:libunrar5_6_1

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