The receive_msg function in receive.c in the SMTP daemon in Exim 4.88 and 4.89 allows remote attackers to execute arbitrary code or cause a denial of service (use-after-free) via vectors involving BDAT commands.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
http://www.securitytracker.com/id/1039872 | vdb entry third party advisory |
https://lists.exim.org/lurker/message/20171125.034842.d1d75cac.en.html | mailing list |
https://git.exim.org/exim.git/commit/4090d62a4b25782129cc1643596dc2f6e8f63bde | patch |
http://openwall.com/lists/oss-security/2017/11/25/3 | mailing list |
https://github.com/LetUsFsck/PoC-Exploit-Mirror/tree/master/CVE-2017-16944 | exploit |
http://openwall.com/lists/oss-security/2017/11/25/1 | mailing list |
https://git.exim.org/exim.git/commitdiff/4e6ae6235c68de243b1c2419027472d7659aa2b4 | patch |
http://openwall.com/lists/oss-security/2017/11/25/2 | mailing list |
https://www.debian.org/security/2017/dsa-4053 | third party advisory vendor advisory |
https://bugs.exim.org/show_bug.cgi?id=2199 | issue tracking exploit |
http://www.openwall.com/lists/oss-security/2021/05/04/7 | mailing list |