cve.bz

CVE-2017-15705 Improper Input Validation

5.3 mediumEPSS 7.8%

Medium (5.3). EPSS 7.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.0

5.3 medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
7.8% (unchanged from 7.9% a week ago; 7.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2017-15705 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2017-15705?via=ask-ai-copy and https://cve.bz/cve/CVE-2017-15705?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2017-15705 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
apache:spamassassinbefore 3.4.2
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
debian:debian_linux8.0
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_eus7.5
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_workstation7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8spamassassin3.4.2-0+deb8u1DLA-1578-1
Debian12, 13, 14spamassassin3.4.2-1DEBIAN-CVE-2017-15705
Ubuntu14.04:LTSspamassassin3.4.2-0ubuntu0.14.04.1UBUNTU-CVE-2017-15705 USN-3811-1
Ubuntu16.04:LTSspamassassin3.4.2-0ubuntu0.16.04.1UBUNTU-CVE-2017-15705 USN-3811-1
Ubuntu18.04:LTSspamassassin3.4.2-0ubuntu0.18.04.1UBUNTU-CVE-2017-15705 USN-3811-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationspamassassin, spamassassin-debuginfo0:3.4.0-4.el7_5RHSA-2018:2916
SUSELinux Enterprise Desktop 12 SP4, Linux Enterprise Server 12 SP4, Linux Enterprise Server for SAP Applications 12 SP4spamassassin3.4.2-44.3.1SUSE-SU-2019:1961-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Development Tools 15spamassassin3.4.2-7.4.1SUSE-SU-2019:2011-1
openSUSELeap 15.0spamassassin3.4.2-lp150.6.3.1openSUSE-SU-2019:1831-1
openSUSETumbleweedspamassassin3.4.6-71.3openSUSE-SU-2024:11395-1
Alpinev3.8spamassassin3.4.3-r0ALPINE-CVE-2017-15705
Alpinev3.9, v3.10, v3.11 and 13 morespamassassin3.4.2-r0ALPINE-CVE-2017-15705

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7spamassassin-0:3.4.0-4.el7_5Fixed 2018-10-11RHSA-2018:2916
Red Hat Enterprise Linux 5spamassassinWill not fix
Red Hat Enterprise Linux 6spamassassinWill not fix
Red Hat Enterprise Linux 8spamassassinNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2017-15705.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON