CVEfocus › CVE database › CVE-2017-15705

CVE-2017-15705

CVSS 5.3 MediumEPSS 7.8% (higher than 95% of CVEs)Published 2018-09-17Updated 2024-09-16Assigner: apache

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.

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

24Fixed
2Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04spamassassinFixed3.4.2-0ubuntu0.18.04.1UBUNTU-CVE-2017-15705
Ubuntu 16.04spamassassinFixed3.4.2-0ubuntu0.16.04.1UBUNTU-CVE-2017-15705
Ubuntu 14.04spamassassinFixed3.4.2-0ubuntu0.14.04.1UBUNTU-CVE-2017-15705
Debian 14spamassassinFixed3.4.2-1DEBIAN-CVE-2017-15705
Debian 13spamassassinFixed3.4.2-1DEBIAN-CVE-2017-15705
Debian 12spamassassinFixed3.4.2-1DEBIAN-CVE-2017-15705
Red Hat Enterprise Linux 8spamassassinNot affected
Red Hat Enterprise Linux 7spamassassinFixed0:3.4.0-4.el7_5RHSA-2018:2916
Red Hat Enterprise Linux 6spamassassinWill not fix
Will not fix
Red Hat Enterprise Linux 5spamassassinWill not fix
Will not fix
Alpine Linux 3.24spamassassinFixed3.4.2-r0ALPINE-CVE-2017-15705
Alpine Linux 3.23spamassassinFixed3.4.2-r0ALPINE-CVE-2017-15705
Alpine Linux 3.22spamassassinFixed3.4.2-r0ALPINE-CVE-2017-15705
Alpine Linux 3.21spamassassinFixed3.4.2-r0ALPINE-CVE-2017-15705
Alpine Linux 3.20spamassassinFixed3.4.2-r0ALPINE-CVE-2017-15705
Alpine Linux 3.19spamassassinFixed3.4.2-r0ALPINE-CVE-2017-15705
Alpine Linux 3.18spamassassinFixed3.4.2-r0ALPINE-CVE-2017-15705
Alpine Linux 3.17spamassassinFixed3.4.2-r0ALPINE-CVE-2017-15705
Alpine Linux 3.16spamassassinFixed3.4.2-r0ALPINE-CVE-2017-15705
Alpine Linux 3.15spamassassinFixed3.4.2-r0ALPINE-CVE-2017-15705
Alpine Linux 3.14spamassassinFixed3.4.2-r0ALPINE-CVE-2017-15705
Alpine Linux 3.13spamassassinFixed3.4.2-r0ALPINE-CVE-2017-15705
Alpine Linux 3.12spamassassinFixed3.4.2-r0ALPINE-CVE-2017-15705
Alpine Linux 3.11spamassassinFixed3.4.2-r0ALPINE-CVE-2017-15705
Alpine Linux 3.10spamassassinFixed3.4.2-r0ALPINE-CVE-2017-15705
Alpine Linux 3.9spamassassinFixed3.4.2-r0ALPINE-CVE-2017-15705
Alpine Linux 3.8spamassassinFixed3.4.3-r0ALPINE-CVE-2017-15705

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.