GLSA 200702-04: RAR, UnRAR: Buffer overflow

Severity:normal
Title:RAR, UnRAR: Buffer overflow
Date:02/13/2007
Bugs: #166440
ID:200702-04

Synopsis

RAR and UnRAR contain a buffer overflow allowing the execution of arbitrary code.

Background

RAR and UnRAR provide command line interfaces for compressing and decompressing RAR files.

Affected packages

Package Vulnerable Unaffected Architecture(s)
app-arch/rar < 3.7.0_beta1 >= 3.7.0_beta1 All supported architectures
app-arch/unrar < 3.7.3 >= 3.7.3 All supported architectures

Description

RAR and UnRAR contain a boundary error when processing password-protected archives that could result in a stack-based buffer overflow.

Impact

A remote attacker could entice a user to process a specially crafted password-protected archive and execute arbitrary code with the rights of the user uncompressing the archive.

Workaround

There is no known workaround at this time.

Resolution

All UnRAR users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-arch/unrar-3.7.3"

All RAR users should upgrade to the latest version:

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

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200702-04.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!