GLSA-201708-05 : RAR and UnRAR: User-assisted execution of arbitrary code

Critical Nessus Plugin ID 102617


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-201708-05 (RAR and UnRAR: User-assisted execution of arbitrary code)

A VMSF_DELTA memory corruption was discovered in which an integer overflow can be caused in DataSize+CurChannel. The result is a negative value of the “DestPos” variable which allows writing out of bounds when setting Mem[DestPos].
Impact :

A remote attacker, by enticing a user to open a specially crafted archive, could execute arbitrary code with the privileges of the process.
Workaround :

There is no known workaround at this time.


All RAR users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-arch/rar-5.5.0_beta4_p20170628' All UnRAR users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=app-arch/unrar-5.5.5'

See Also

Plugin Details

Severity: Critical

ID: 102617

File Name: gentoo_GLSA-201708-05.nasl

Version: $Revision: 3.2 $

Type: local

Published: 2017/08/21

Modified: 2018/01/26

Dependencies: 12634

Risk Information

Risk Factor: Critical


Base Score: 10

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


Base Score: 9.8

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:rar, p-cpe:/a:gentoo:linux:unrar, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2017/08/21

Reference Information

CVE: CVE-2012-6706

GLSA: 201708-05