Created mutt tracking bugs for this issue:
Affects: fedora-all [bug 1710398]
Comment 2Huzaifa S. Sidhpurwala
2019-05-20 04:34:05 UTC
Analysis:
RFC 2231 (https://tools.ietf.org/html/rfc2231) corresponds to parsing MIME parameters and encoded extensions. The flaw could be exploited by a specially crafted (spam) email header. The effects depend on the value passed to atoi and its implementation.
Testing this on Red Hat Enterprise Linux as follows yields no crash:
[huzaifas@babylon ~]$ cat a.c
#include<stdlib.h>
void main(void)
{
atoi("999999999999999999999999999999");
}
[huzaifas@babylon ~]$ gcc a.c
[huzaifas@babylon ~]$ ./a.out
[huzaifas@babylon ~]$
So its quite possible that the impact is really minimal or a very long string is required to be parsed.
Comment 4Huzaifa S. Sidhpurwala
2019-05-20 04:52:56 UTC