MCrypt: User-assisted execution of arbitrary code — GLSA 201405-19

Multiple vulnerabilities have been found in MCrypt, allowing attackers to execute arbitrary code or cause Denial of Service.

Affected Packages

app-crypt/mcrypt on all architectures
Affected versions < 2.6.8-r2
Unaffected versions >= 2.6.8-r2

Background

MCrypt is a replacement of the old unix crypt(1) utility.

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

Release Date
May 18, 2014

Latest Revision
May 18, 2014: 1

Severity
normal

Exploitable
remote

Bugzilla entries