Code injection in Mutt - CVE-2020-14954
Published: July 1, 2020
Vulnerability identifier: #VU29425
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-14954
CWE-ID: CWE-74
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a spoofing attack.
The vulnerability exists due to insecure implementation of the STARTTLS buffering for IMAP, SMTP, and POP3 protocols. A remote attacker can inject arbitrary data into the TLS context during MitM attack, e.g. perform a response injection attack.
Affected software
Mutt
Gentoo Linux
Debian Linux
Opensuse
openEuler
Fedora
mutt
mutt-debuginfo
mutt-debugsource
mutt-help
neomutt (Debian package)
Gentoo Linux
Debian Linux
Opensuse
openEuler
Fedora
mutt
mutt-debuginfo
mutt-debugsource
mutt-help
neomutt (Debian package)
How to mitigate CVE-2020-14954
Install updates from vendor's website.
Mutt - update to 1.14.4
mutt - addressed in versions 1.14.5-1.fc31, 1.14.5-1.fc32
mutt - update to 2.1.3-1
mutt-debuginfo - update to 2.1.3-1
mutt-debugsource - update to 2.1.3-1
mutt-help - update to 2.1.3-1
neomutt (Debian package) - update to 20180716+dfsg.1-1+deb10u1
mutt - addressed in versions 1.14.5-1.fc31, 1.14.5-1.fc32
mutt - update to 2.1.3-1
mutt-debuginfo - update to 2.1.3-1
mutt-debugsource - update to 2.1.3-1
mutt-help - update to 2.1.3-1
neomutt (Debian package) - update to 20180716+dfsg.1-1+deb10u1
External References
- http://lists.mutt.org/pipermail/mutt-announce/Week-of-Mon-20200615/000023.html
- http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00064.html
- http://lists.opensuse.org/opensuse-security-announce/2020-06/msg00070.html
- http://www.mutt.org/
- https://github.com/neomutt/neomutt/commit/fb013ec666759cb8a9e294347c7b4c1f597639cc
- https://github.com/neomutt/neomutt/releases/tag/20200619
- https://gitlab.com/muttmua/mutt/-/commit/c547433cdf2e79191b15c6932c57f1472bfb5ff4
- https://gitlab.com/muttmua/mutt/-/issues/248
- https://www.debian.org/security/2020/dsa-4707
- https://www.debian.org/security/2020/dsa-4708