Home / mailings [gentoo-announce] [ GLSA 201405-19 ] MCrypt: User-assisted execution of arbitrary code
Posted on 18 May 2014
Gentoo-announceThis is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--BPLbDf19IERe16UTl10ui4r23HBV1nBu8
Content-Type: multipart/alternative;
boundary="------------010001020309080002070704"
This is a multi-part message in MIME format.
--------------010001020309080002070704
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
--------------010001020309080002070704
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO=-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<pre style="color: rgb(0, 0, 0); font-style: normal; font-variant: =normal; font-weight: normal; letter-spacing: normal; line-height: normal;= orphans: auto; text-align: start; text-indent: 0px; text-transform: none=; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-w=rap: break-word; white-space: pre-wrap;">- - - - - - - - - - - - - - - - =- - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 201405-19
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
<a class="moz-txt-link-free=text" href="http://security.gentoo.org/">http://security.gentoo.org/</a=>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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
<a class="moz-txt-link-freetext" href="http://nvd.nist.gov/nvd.=cfm?cvename=CVE-2012-4409">http://nvd.nist.gov/nvd.cfm?cvename=CVE-20=12-4409</a>
[ 2 ] CVE-2012-4426
<a class="moz-txt-link-freetext" href="http://nvd.nist.gov/nvd.=cfm?cvename=CVE-2012-4426">http://nvd.nist.gov/nvd.cfm?cvename=CVE-20=12-4426</a>
[ 3 ] CVE-2012-4527
<a class="moz-txt-link-freetext" href="http://nvd.nist.gov/nvd.=cfm?cvename=CVE-2012-4527">http://nvd.nist.gov/nvd.cfm?cvename=CVE-20=12-4527</a>
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
<a class="moz-txt-link-freetext" href="http://security.gentoo.org/gl=sa/glsa-201405-19.xml">http://security.gentoo.org/glsa/glsa-201405-19.xml=</a>
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
<a class="moz-txt-link-abbreviated" href="mailto:security@gentoo.org"=>security@gentoo.org</a> or alternatively, you may file a bug at
<a class="moz-txt-link-freetext" href="https://bugs.gentoo.org">https=://bugs.gentoo.org</a>.
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.
<a class="moz-txt-link-freetext" href="http://creativecommons.org/lic=enses/by-sa/2.5">http://creativecommons.org/licenses/by-sa/2.5</a></pre>
</body>
</html>
--------------010001020309080002070704--
--BPLbDf19IERe16UTl10ui4r23HBV1nBu8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"