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

Severity:normal
Title:MCrypt: User-assisted execution of arbitrary code
Date:05/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 Architecture(s)
app-crypt/mcrypt < 2.6.8-r2 >= 2.6.8-r2 All supported architectures

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

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 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!