Gentoo Linux Security Advisory 201405-19 - Multiple vulnerabilities have been found in MCrypt, allowing attackers to execute arbitrary code or cause Denial of Service. Versions less than 2.6.8-r2 are affected.
acfc23d623fcfd04590fc6005aa75082db03dd2551cb88ac87bad7cf8ae3e53d
Content-Type: multipart/alternative;
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 201405-19
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: MCrypt: User-assisted execution of arbitrary code
Date: May 18, 2014
Bugs: #434112, #440778
ID: 201405-19
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
Multiple vulnerabilities have been found in MCrypt, allowing attackers
to execute arbitrary code or cause Denial of Service.
Background
==========
MCrypt is a replacement of the old unix crypt(1) utility.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 app-crypt/mcrypt < 2.6.8-r2 >= 2.6.8-r2
Description
===========
Multiple vulnerabilities have been discovered in MCrypt:
* A boundary error in MCrypt could cause a stack-based buffer overflow
(CVE-2012-4409).
* 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).
Impact
======
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.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All MCrypt users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=app-crypt/mcrypt-2.6.8-r2"
References
==========
[ 1 ] CVE-2012-4409
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4409
[ 2 ] CVE-2012-4426
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4426
[ 3 ] CVE-2012-4527
http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-4527
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-201405-19.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 2014 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.
http://creativecommons.org/licenses/by-sa/2.5