A denial of service vulnerability was identified that exists in Apache SpamAssassin before 3.4.2. The vulnerability arises with certain unclosed tags in emails that cause markup to be handled incorrectly leading to scan timeouts. In Apache SpamAssassin, using HTML::Parser, we setup an object and hook into the begin and end tag event handlers In both cases, the "open" event is immediately followed by a "close" event - even if the tag *does not* close in the HTML being parsed. Because of this, we are missing the "text" event to deal with the object normally. This can cause carefully crafted emails that might take more scan time than expected leading to a Denial of Service. The issue is possibly a bug or design decision in HTML::Parser that specifically impacts the way Apache SpamAssassin uses the module with poorly formed html. The exploit has been seen in the wild but not believed to have been purposefully part of a Denial of Service attempt. We are concerned that there may be attempts to abuse the vulnerability in the future.
CVSS Details
- CVSS 3.1 Base Score: 5.3
- CVSS 3.0 Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | alpine-linux-upgrade-spamassassin | Aug 22, 2024 | Sep 17, 2018 | |
| Amazon Linux Ami 2 | amazon-linux-ami-2-upgrade-spamassassinamazon-linux-ami-2-upgrade-spamassassin-debuginfo | Apr 27, 2020 | Sep 17, 2018 | |
| Amazon_linux | — | amazon-linux-upgrade-spamassassin | Oct 19, 2018 | Sep 17, 2018 |
| Centos_linux | — | centos-upgrade-spamassassincentos-upgrade-spamassassin-debuginfo | Oct 17, 2018 | Sep 17, 2018 |
| Debian | debian-upgrade-spamassassin | Feb 19, 2019 | Sep 17, 2018 | |
| Freebsd | freebsd-upgrade-package-spamassassin | Sep 27, 2018 | Sep 26, 2018 | |
| Gentoo Linux | gentoo-linux-upgrade-mail-filter-spamassassin | Dec 17, 2018 | Sep 17, 2018 | |
| Oracle_linux | — | oracle-linux-upgrade-spamassassin | Jul 21, 2020 | Sep 17, 2018 |
| Redhat_linux | no-fix-redhat-rpm-packageredhat-upgrade-spamassassinredhat-upgrade-spamassassin-debuginfo | Oct 12, 2018 | Sep 17, 2018 | |
| Suse | — | suse-upgrade-perl-mail-spamassassinsuse-upgrade-perl-mail-spamassassin-plugin-ixhash2suse-upgrade-spamassassin | Jul 25, 2019 | Sep 17, 2018 |
| Ubuntu | ubuntu-upgrade-spamassassin | Nov 14, 2018 | Sep 17, 2018 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub