MCrypt: User-assisted execution of arbitrary code
Gentoo Linux Security Advisory
||GLSA 201405-19 / mcrypt
||May 18, 2014
||May 18, 2014: 1
All supported architectures
Multiple vulnerabilities have been found in MCrypt, allowing
attackers to execute arbitrary code or cause Denial of Service.
MCrypt is a replacement of the old unix crypt(1) utility.
Multiple vulnerabilities have been discovered in MCrypt:
- A boundary error in MCrypt could cause a stack-based buffer overflow
- MCrypt contains multiple format string errors (CVE-2012-4426).
- MCrypt does not properly handle long file names, which could cause a
stack-based buffer overflow (CVE-2012-4527).
A remote attacker could entice a user to open a specially crafted file
using MCrypt, possibly resulting in execution of arbitrary code with the
privileges of the process or a Denial of Service condition.
There is no known workaround at this time.
All MCrypt users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-crypt/mcrypt-2.6.8-r2"