CVE-2017-15705
Reported by apache · Published September 17, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| spamassassin | Amazon Linux | 3.4.0-4.amzn2 |
| spamassassin | Alpine | 3.4.3-r0, 3.4.2-r0 |
| spamassassin | apache | 3.4.2 |
| spamassassin | Ubuntu:18.04:LTS | 3.4.2-0ubuntu0.18.04.1 |
| spamassassin | Ubuntu:16.04:LTS | 3.4.2-0ubuntu0.16.04.1 |
| spamassassin | Ubuntu:14.04:LTS | 3.4.2-0ubuntu0.14.04.1 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache SpamAssassin | all modern versions before 3.4.2 |
| amazon:2 | spamassassin | 0 |
| alpine | spamassassin | 0, 0 |
| Apache Software Foundation | Apache SpamAssassin | 3.4.2 |
Timeline
- Sep 17, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 5, 2026 Security Advisory (7 in total, the first dated here)
- Oct 2, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2017-15705
vulnetix vdb fixes CVE-2017-15705
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2017-15705/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- USN-3811-2 vendor-advisoryx_refsource_UBUNTU
- USN-3811-1 vendor-advisoryx_refsource_UBUNTU
- GLSA-201812-07 vendor-advisoryx_refsource_GENTOO
- [announce] 20180916 [SECURITY] Apache SpamAssassin 3.4.2 resolves CVE-2017-15705, CVE-2016-1238, CVE-2018-11780 & CVE-2018-11781 mailing-listx_refsource_MLIST
- RHSA-2018:2916 vendor-advisoryx_refsource_REDHAT
- 105347 vdb-entryx_refsource_BID
- [debian-lts-announce] 20181113 [SECURITY] [DLA 1578-1] spamassassin security update mailing-listx_refsource_MLIST
- openSUSE-SU-2019:1831 vendor-advisoryx_refsource_SUSE