RAR: Format string and buffer overflow vulnerabilities

Security Team  Contact Address

Updated November 13, 2005

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200511-10 / rar
Release Date November 13, 2005
Latest Revision November 13, 2005: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
app-arch/rar < 3.5.1 >= 3.5.1 All supported architectures

Related bugreports: #111926

Synopsis

RAR contains a format string error and a buffer overflow vulnerability that may be used to execute arbitrary code.

2.  Impact Information

Background

RAR is a powerful archive manager that can decompress RAR, ZIP and other files, and can create new archives in RAR and ZIP file format.

Description

Tan Chew Keong reported about two vulnerabilities found in RAR:

Impact

A remote attacker could exploit these vulnerabilities by enticing a user to:

When the user performs these actions, the arbitrary code of the attacker's choice will be executed.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All RAR users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=app-arch/rar-3.5.1"

4.  References