Skip to content
OpenAdvisories
Unscored CVE-2017-15705 EUVD-2017-7138GHSA-m63q-qrvc-wwrm

A denial of service vulnerability was identified that exists in Apache SpamAssassin before 3.4.2. The vulnerability arises with certain unc…

Published Sep 17, 2018 · Updated Sep 16, 2024 · Assigned by apache

Description

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.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache SpamAssassin all modern versions before 3.4.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 spamassassin 3.4.2-1 —
Debian 13 spamassassin 3.4.2-1 —
Debian 12 spamassassin 3.4.2-1 —
Debian 8 spamassassin 3.4.2-0+deb8u1 DLA-1578-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS spamassassin 3.4.2-0ubuntu0.18.04.1 USN-3811-1
Ubuntu 16.04 LTS spamassassin 3.4.2-0ubuntu0.16.04.1 USN-3811-1
Ubuntu 14.04 LTS spamassassin 3.4.2-0ubuntu0.14.04.1 USN-3811-1
ReleasePackageFixed inAdvisory
RHEL 7 spamassassin 3.4.0-4.el7_5 RHSA-2018:2916
ReleasePackageFixed inAdvisory
SLES 15 spamassassin 3.4.2-7.4.1 SUSE-SU-2019:2011-1
SLES 12 SP4 spamassassin 3.4.2-44.3.1 SUSE-SU-2019:1961-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP4 spamassassin 3.4.2-44.3.1 SUSE-SU-2019:1961-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed spamassassin 3.4.6-71.3 openSUSE-SU-2024:11395-1
openSUSE Leap 15.0 spamassassin 3.4.2-lp150.6.3.1 openSUSE-SU-2019:1831-1
ReleasePackageFixed inAdvisory
Alpine v3.24 spamassassin 3.4.2-r0 —
Alpine v3.23 spamassassin 3.4.2-r0 —
Alpine v3.22 spamassassin 3.4.2-r0 —
Alpine v3.21 spamassassin 3.4.2-r0 —
Alpine v3.20 spamassassin 3.4.2-r0 —
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 spamassassin 3.4.2-r0 —
Alpine v3.18 spamassassin 3.4.2-r0 —
Alpine v3.17 spamassassin 3.4.2-r0 —
Alpine v3.16 spamassassin 3.4.2-r0 —
Alpine v3.15 spamassassin 3.4.2-r0 —
Alpine v3.14 spamassassin 3.4.2-r0 —
Alpine v3.13 spamassassin 3.4.2-r0 —
Alpine v3.12 spamassassin 3.4.2-r0 —
Alpine v3.11 spamassassin 3.4.2-r0 —
Alpine v3.10 spamassassin 3.4.2-r0 —
Alpine v3.9 spamassassin 3.4.2-r0 —
Alpine v3.8 spamassassin 3.4.3-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 spamassassin 3.4.0-4.amzn2 ALAS2-2018-1103

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 spamassassin 3.4.0-4.el7_5 ELSA-2018-2916

Advisories 9

References