CVE-2014-0467: Buffer Overflow
Buffer overflow in copy.c in Mutt before 1.5.23 allows remote attackers to cause a denial of service (crash) via a crafted RFC2047 header line, related to address expansion.
Other sources
The Debian DSA-2874-1 security advisory (http://www.debian.org/security/2014/dsa-2874) corrected an overflow in the mutt mail reader. Analysis of the crash reveals this is likely a heap-based buffer overflow in the muttcopyhdr() function. Opening a specially-crafted mail message could cause mutt to crash or, potentially, execute arbitrary code. The fix looks to be as follows:
+diff -r 3d5e23a66a1a -r 9bf7593e3c08 copy.c +--- a/copy.c Thu Oct 24 09:55:36 2013 -0700 ++++ b/copy.c Tue Mar 11 09:40:09 2014 -0700 +@@ -254,6 +254,7 @@ + { + if (!addressheaderdecode (&thisone)) + rfc2047decode (&thisone); ++ thisonelen = muttstrlen (thisone); + } + + if (!headers[x]) +
(Note as this is copied from the Debian diff, it is actually a one line change of "thisonelen = muttstrlen (thisone);")
From brief testing on Red Hat Enterprise Linux 6, the message's headers had to be viewed (via the "h" command) in order to trigger the issue.
Original report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708731
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/muttto a version that resolves this vulnerability.Fixed in 2.0.5-4.1+deb11u3Fixed in 2.2.12-0.1~deb12u1Fixed in 2.2.9-1+deb12u1Fixed in 2.2.13-1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 1.5.23Patch DSA-2874-1
Event History
Frequently Asked Questions
What is the severity of CVE-2014-0467?
CVE-2014-0467 has been classified as a denial of service vulnerability due to a buffer overflow issue.
How do I fix CVE-2014-0467?
To fix CVE-2014-0467, upgrade your Mutt installation to version 1.5.23 or later.
Which versions of Mutt are affected by CVE-2014-0467?
Versions of Mutt prior to 1.5.23, including all versions up to and including 1.5.22, are affected by CVE-2014-0467.
Can CVE-2014-0467 be exploited remotely?
Yes, CVE-2014-0467 can be exploited remotely through crafted RFC2047 header lines.
What are the potential consequences of CVE-2014-0467?
The potential consequences of CVE-2014-0467 include application crashes and denial of service for users of affected Mutt versions.