GLSA 201401-19: GMime: Arbitrary code execution

Severity:normal
Title:GMime: Arbitrary code execution
Date:01/21/2014
Bugs: #308051
ID:201401-19

Synopsis

A buffer overflow error in GMime might allow remote attackers to execute arbitrary code or cause a Denial of Service condition.

Background

GMime is a C/C++ library which may be used for the creation and parsing of messages using the Multipurpose Internet Mail Extension (MIME).

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-libs/gmime < 2.4.15 >= 2.4.15 All supported architectures

Description

GMime contains a buffer overflow flaw in the GMIME_UUENCODE_LEN macro in gmime/gmime-encodings.h.

Impact

A context-dependent attacker could possibly execute arbitrary code or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

GMime 2.4.x users on the PPC64 architecture should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=dev-libs/gmime-2.4.17"
    

GMime 2.4.x users on other architectures should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=dev-libs/gmime-2.4.15"

GMime 2.2.x users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=dev-libs/gmime-2.2.26"

Packages which depend on this library may need to be recompiled. Tools such as revdep-rebuild may assist in identifying some of these packages.

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201401-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!