CVE-2017-15705
publishedspamassassin: Certain unclosed tags in crafted emails allow for scan timeouts and result in denial of service
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Apache Software Foundation | — | Apache SpamAssassinall modern versions before 3.4.2 | Affected | Not stated | apache |
| Amazon Linux | AL2 | Release evaluationALAS2-2018-1103 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | spamassassin | Fixed | 3.4.2-r0 | Package fix record |
| Debian | jessie | spamassassin | Advisory build | 3.4.2-0+deb8u1 | DLA-1578-1 |
| Oracle Linux | 7 | spamassassinaarch64 | Advisory build | 0:3.4.0-4.el7_5 | ELSA-2018-2916 |
| Red Hat Enterprise Linux | RHEL-7 | spamassassinaarch64 | Advisory build | 3.4.0-4.el7_5 | RHSA-2018:2916 |
| SUSE / openSUSE | SLE-12-SP4 | perl-Mail-SpamAssassinaarch64 | Advisory build | 3.4.2-44.3.1 | SUSE-SU-2019:1961-1 |
| Ubuntu | bionic | sa-compile | Advisory build | 3.4.2-0ubuntu0.18.04.1 | USN-3811-1 |
Show 77 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | spamassassini686 | Listed in advisory | Not stated | ALAS2-2018-1103 |
| Alpine Linux | v3.10 | spamassassin | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.11 | spamassassin | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.12 | spamassassin | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.13 | spamassassin | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.14 | spamassassin | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.15 | spamassassin | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.16 | spamassassin | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.17 | spamassassin | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.18 | spamassassin | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.19 | spamassassin | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.20 | spamassassin | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.21 | spamassassin | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.22 | spamassassin | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.23 | spamassassin | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.24 | spamassassin | Fixed | 3.4.2-r0 | Package fix record |
| Alpine Linux | v3.8 | spamassassin | Fixed | 3.4.3-r0 | Package fix record |
| Alpine Linux | v3.9 | spamassassin | Fixed | 3.4.2-r0 | Package fix record |
| Oracle Linux | 7 | spamassassinx86_64 | Advisory build | 0:3.4.0-4.el7_5 | ELSA-2018-2916 |
| Red Hat Enterprise Linux | RHEL-7 | spamassassinppc64 | Advisory build | 3.4.0-4.el7_5 | RHSA-2018:2916 |
| Red Hat Enterprise Linux | RHEL-7 | spamassassinppc64le | Advisory build | 3.4.0-4.el7_5 | RHSA-2018:2916 |
| Red Hat Enterprise Linux | RHEL-7 | spamassassins390x | Advisory build | 3.4.0-4.el7_5 | RHSA-2018:2916 |
| Red Hat Enterprise Linux | RHEL-7 | spamassassinsrc | Advisory build | 3.4.0-4.el7_5 | RHSA-2018:2916 |
| Red Hat Enterprise Linux | RHEL-7 | spamassassinx86_64 | Advisory build | 3.4.0-4.el7_5 | RHSA-2018:2916 |
| Red Hat Enterprise Linux | RHEL-7 | spamassassin-debuginfoaarch64 | Advisory build | 3.4.0-4.el7_5 | RHSA-2018:2916 |
| Red Hat Enterprise Linux | RHEL-7 | spamassassin-debuginfoppc64 | Advisory build | 3.4.0-4.el7_5 | RHSA-2018:2916 |
| Red Hat Enterprise Linux | RHEL-7 | spamassassin-debuginfoppc64le | Advisory build | 3.4.0-4.el7_5 | RHSA-2018:2916 |
| Red Hat Enterprise Linux | RHEL-7 | spamassassin-debuginfos390x | Advisory build | 3.4.0-4.el7_5 | RHSA-2018:2916 |
| Red Hat Enterprise Linux | RHEL-7 | spamassassin-debuginfox86_64 | Advisory build | 3.4.0-4.el7_5 | RHSA-2018:2916 |
| SUSE / openSUSE | SLE-12-SP4 | perl-Mail-SpamAssassinppc64le | Advisory build | 3.4.2-44.3.1 | SUSE-SU-2019:1961-1 |
| SUSE / openSUSE | SLE-12-SP4 | perl-Mail-SpamAssassins390x | Advisory build | 3.4.2-44.3.1 | SUSE-SU-2019:1961-1 |
| SUSE / openSUSE | SLE-12-SP4 | perl-Mail-SpamAssassinx86_64 | Advisory build | 3.4.2-44.3.1 | SUSE-SU-2019:1961-1 |
| SUSE / openSUSE | SLE-12-SP4 | spamassassinaarch64 | Advisory build | 3.4.2-44.3.1 | SUSE-SU-2019:1961-1 |
| SUSE / openSUSE | SLE-12-SP4 | spamassassinppc64le | Advisory build | 3.4.2-44.3.1 | SUSE-SU-2019:1961-1 |
| SUSE / openSUSE | SLE-12-SP4 | spamassassins390x | Advisory build | 3.4.2-44.3.1 | SUSE-SU-2019:1961-1 |
| SUSE / openSUSE | SLE-12-SP4 | spamassassinx86_64 | Advisory build | 3.4.2-44.3.1 | SUSE-SU-2019:1961-1 |
| SUSE / openSUSE | SLE-15 | perl-Mail-SpamAssassinaarch64 | Advisory build | 3.4.2-7.4.1 | SUSE-SU-2019:2011-1 |
| SUSE / openSUSE | SLE-15 | perl-Mail-SpamAssassinppc64le | Advisory build | 3.4.2-7.4.1 | SUSE-SU-2019:2011-1 |
| SUSE / openSUSE | SLE-15 | perl-Mail-SpamAssassins390x | Advisory build | 3.4.2-7.4.1 | SUSE-SU-2019:2011-1 |
| SUSE / openSUSE | SLE-15 | perl-Mail-SpamAssassinx86_64 | Advisory build | 3.4.2-7.4.1 | SUSE-SU-2019:2011-1 |
| SUSE / openSUSE | SLE-15 | perl-Mail-SpamAssassin-Plugin-iXhash2aarch64 | Advisory build | 2.05-7.4.1 | SUSE-SU-2019:2011-1 |
| SUSE / openSUSE | SLE-15 | perl-Mail-SpamAssassin-Plugin-iXhash2ppc64le | Advisory build | 2.05-7.4.1 | SUSE-SU-2019:2011-1 |
| SUSE / openSUSE | SLE-15 | perl-Mail-SpamAssassin-Plugin-iXhash2s390x | Advisory build | 2.05-7.4.1 | SUSE-SU-2019:2011-1 |
| SUSE / openSUSE | SLE-15 | perl-Mail-SpamAssassin-Plugin-iXhash2x86_64 | Advisory build | 2.05-7.4.1 | SUSE-SU-2019:2011-1 |
| SUSE / openSUSE | SLE-15 | spamassassinaarch64 | Advisory build | 3.4.2-7.4.1 | SUSE-SU-2019:2011-1 |
| SUSE / openSUSE | SLE-15 | spamassassinppc64le | Advisory build | 3.4.2-7.4.1 | SUSE-SU-2019:2011-1 |
| SUSE / openSUSE | SLE-15 | spamassassins390x | Advisory build | 3.4.2-7.4.1 | SUSE-SU-2019:2011-1 |
| SUSE / openSUSE | SLE-15 | spamassassinx86_64 | Advisory build | 3.4.2-7.4.1 | SUSE-SU-2019:2011-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | perl-Mail-SpamAssassinx86_64 | Advisory build | 3.4.2-lp150.6.3.1 | OPENSUSE-SU-2019:1831-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | perl-Mail-SpamAssassin-Plugin-iXhash2x86_64 | Advisory build | 2.05-lp150.6.3.1 | OPENSUSE-SU-2019:1831-1 |
| SUSE / openSUSE | openSUSE-Leap-15.0 | spamassassinx86_64 | Advisory build | 3.4.2-lp150.6.3.1 | OPENSUSE-SU-2019:1831-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Mail-SpamAssassinaarch64 | Advisory build | 3.4.6-71.3 | OPENSUSE-SU-2024:11395-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Mail-SpamAssassinppc64le | Advisory build | 3.4.6-71.3 | OPENSUSE-SU-2024:11395-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Mail-SpamAssassins390x | Advisory build | 3.4.6-71.3 | OPENSUSE-SU-2024:11395-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Mail-SpamAssassinx86_64 | Advisory build | 3.4.6-71.3 | OPENSUSE-SU-2024:11395-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Mail-SpamAssassin-Plugin-iXhash2aarch64 | Advisory build | 2.05-71.3 | OPENSUSE-SU-2024:11395-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Mail-SpamAssassin-Plugin-iXhash2ppc64le | Advisory build | 2.05-71.3 | OPENSUSE-SU-2024:11395-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Mail-SpamAssassin-Plugin-iXhash2s390x | Advisory build | 2.05-71.3 | OPENSUSE-SU-2024:11395-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | perl-Mail-SpamAssassin-Plugin-iXhash2x86_64 | Advisory build | 2.05-71.3 | OPENSUSE-SU-2024:11395-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spamassassinaarch64 | Advisory build | 3.4.6-71.3 | OPENSUSE-SU-2024:11395-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spamassassinppc64le | Advisory build | 3.4.6-71.3 | OPENSUSE-SU-2024:11395-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spamassassins390x | Advisory build | 3.4.6-71.3 | OPENSUSE-SU-2024:11395-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spamassassinx86_64 | Advisory build | 3.4.6-71.3 | OPENSUSE-SU-2024:11395-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spamassassin-spamcaarch64 | Advisory build | 3.4.6-71.3 | OPENSUSE-SU-2024:11395-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spamassassin-spamcppc64le | Advisory build | 3.4.6-71.3 | OPENSUSE-SU-2024:11395-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spamassassin-spamcs390x | Advisory build | 3.4.6-71.3 | OPENSUSE-SU-2024:11395-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | spamassassin-spamcx86_64 | Advisory build | 3.4.6-71.3 | OPENSUSE-SU-2024:11395-1 |
| Ubuntu | bionic | spamassassin | Advisory build | 3.4.2-0ubuntu0.18.04.1 | USN-3811-1 |
| Ubuntu | bionic | spamc | Advisory build | 3.4.2-0ubuntu0.18.04.1 | USN-3811-1 |
| Ubuntu | trusty | sa-compile | Advisory build | 3.4.2-0ubuntu0.14.04.1 | USN-3811-1 |
| Ubuntu | trusty | spamassassin | Advisory build | 3.4.2-0ubuntu0.14.04.1 | USN-3811-1 |
| Ubuntu | trusty | spamc | Advisory build | 3.4.2-0ubuntu0.14.04.1 | USN-3811-1 |
| Ubuntu | xenial | sa-compile | Advisory build | 3.4.2-0ubuntu0.16.04.1 | USN-3811-1 |
| Ubuntu | xenial | spamassassin | Advisory build | 3.4.2-0ubuntu0.16.04.1 | USN-3811-1 |
| Ubuntu | xenial | spamc | Advisory build | 3.4.2-0ubuntu0.16.04.1 | USN-3811-1 |
| Amazon Linux | AL2 | spamassassinsrc | Listed in advisory | Not stated | ALAS2-2018-1103 |
| Amazon Linux | AL2 | spamassassinx86_64 | Listed in advisory | Not stated | ALAS2-2018-1103 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Apache Software Foundation | Apache SpamAssassin | all modern versions before 3.4.2 (affected) | apache · cna |
Weaknesses
1- Denial of Service
References
8- openSUSE-SU-2019:1831 http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00002.html
- 105347 http://www.securityfocus.com/bid/105347
- RHSA-2018:2916 https://access.redhat.com/errata/RHSA-2018:2916
- [announce] 20180916 [SECURITY] Apache SpamAssassin 3.4.2 resolves CVE-2017-15705, CVE-2016-1238, CVE-2018-11780 & CVE-2018-11781 https://lists.apache.org/thread.html/7f6a16bc0fd0fd5e67c7fd95bd655069a2ac7d1f88e42d3c853e601c%40%3Cannounce.apache.org%3E
- [debian-lts-announce] 20181113 [SECURITY] [DLA 1578-1] spamassassin security update https://lists.debian.org/debian-lts-announce/2018/11/msg00016.html
- GLSA-201812-07 https://security.gentoo.org/glsa/201812-07
- USN-3811-1 https://usn.ubuntu.com/3811-1/
- USN-3811-2 https://usn.ubuntu.com/3811-2/
Provider assertions
2apache · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- bb8d2da094b04f6a457af2ea0e4062057092cdcae9f728fada168a5eff102c07
- Ingested
- 23 Sep 2026, 07:42:10 UTC
- Source record
- Official CVE record