CVE-2017-15705: Input Validation

Published Sep 17, 2018
·
Updated

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.

Other sources

Apache SpamAssassin before version 3.4.2 is vulnerable to a denial of service in the handling of crafted email. The vulnerability arises with certain unclosed tags in emails that cause markup to be handled incorrectly leading to scan timeouts.

External Reference:

https://mail-archives.apache.org/modmbox/spamassassin-announce/201809.mbox/raw/%3Cc57c0f41-742c-3c3e-249c-ae2614bf0d7d%40apache.org%3E/

Red Hat

Affected Software

12 affected componentsFixes available
redhat/spamassassin<3.4.2
3.4.2
Apache SpamAssassin<3.4.2
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Debian Debian Linux=8.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Eus=7.5
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Workstation=7.0
debian/spamassassin
3.4.6-14.0.1-1~deb12u14.0.1-54.0.2-4

Event History

Sep 17, 2018
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
DescriptionWeakness
Feb 19, 2026
Data Sourced
via Ubuntu·09:28 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·09:28 PM
Description
Feb 28, 2026
Data Sourced
via Debian·09:34 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2017-15705?

CVE-2017-15705 has a severity rating that indicates it can lead to denial of service conditions.

2

How do I fix CVE-2017-15705?

To fix CVE-2017-15705, update Apache SpamAssassin to version 3.4.2 or later.

3

Which versions of Apache SpamAssassin are affected by CVE-2017-15705?

Apache SpamAssassin versions before 3.4.2 are affected by CVE-2017-15705.

4

What type of vulnerability is CVE-2017-15705?

CVE-2017-15705 is a denial of service vulnerability that causes scan timeouts.

5

Is CVE-2017-15705 related to email processing?

Yes, CVE-2017-15705 is related to the handling of markup in HTML emails by Apache SpamAssassin.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203