CVE-2017-15705: A denial of service vulnerability was identified that exists in Apache SpamAssassin before 3.4.2.
Noroxi assessment
Priority: Monitor (action score 23/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 7.8% (FIRST EPSS); higher than 94.7% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: spamassassin (Alpine:v3.10) 3.4.2-r0; spamassassin (Alpine:v3.8) 3.4.3-r0; spamassassin (Debian:12) 3.4.2-1.
Low priority for now. Upgrade to spamassassin (Alpine:v3.10) 3.4.2-r0; spamassassin (Alpine:v3.8) 3.4.3-r0; spamassassin (Debian:12) 3.4.2-1 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Sep 17, 2018
- Updated
- Jun 16, 2026
- EPSS
- 7.8% · 94th percentile
- CWE
- CWE-20
Report tools
Action score
23
Low priority for now.
- CVSS
- 21 / 40 · 5.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 7.8%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| apache | spamassassin | cpe:2.3:a:apache:spamassassin |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux eus | cpe:2.3:o:redhat:enterprise_linux_eus |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
Versions reported by the vendor
Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.
Apache Software Foundation Apache SpamAssassin
- all modern versions before 3.4.2affected
Affected versions · NVD (10)
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- 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
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | spamassassin | before 3.4.2-r0 | 3.4.2-r0 |
| Alpine:v3.8 | spamassassin | before 3.4.3-r0 | 3.4.3-r0 |
| Debian:12 | spamassassin | before 3.4.2-1 | 3.4.2-1 |
| Debian:8 | spamassassin | before 3.4.2-0+deb8u1 | 3.4.2-0+deb8u1 |
| openSUSE:Leap 15.0 | spamassassin | before 3.4.2-lp150.6.3.1 | 3.4.2-lp150.6.3.1 |
| openSUSE:Tumbleweed | spamassassin | before 3.4.6-71.3 | 3.4.6-71.3 |
| Red Hat:enterprise_linux:7::client | spamassassin | before 0:3.4.0-4.el7_5 | 0:3.4.0-4.el7_5 |
| Red Hat:enterprise_linux:7::client | spamassassin-debuginfo | before 0:3.4.0-4.el7_5 | 0:3.4.0-4.el7_5 |
| SUSE:Linux Enterprise Desktop 12 SP4 | spamassassin | before 3.4.2-44.3.1 | 3.4.2-44.3.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 | spamassassin | before 3.4.2-7.4.1 | 3.4.2-7.4.1 |
Same product
apache: all recordsOther highest-scoring records for the same primary product.
- CVE-2006-2447SpamAssassin before 3.1.3, when running with vpopmail and the paranoid (-P) switch, allows remote attackers to execute arbitrary commands…43Plan
- CVE-2018-11780A potential Remote Code Execution bug exists with the PDFInfo plugin in Apache SpamAssassin before 3.4.2.42Plan
- CVE-2020-1946Apache SpamAssassin has an OS Command Injection vulnerability41Plan
Published before and after this one in the same product
- ← EarlierCVE-2005-3351Nov 20, 2005 · SpamAssassin 3.0.4 allows attackers to bypass spam detection via an e-mail with a large number of recipients ("To" addresses), which…22Monitor
- ← EarlierCVE-2007-0451Feb 16, 2007 · Apache SpamAssassin before 3.1.8 allows remote attackers to cause a denial of service via long URLs in malformed HTML, which triggers…19Monitor
- Later →CVE-2018-11781Sep 17, 2018 · Apache SpamAssassin 3.4.2 fixes a local user code injection in the meta rule syntax.31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:spamassassin | 3.4.2-r0 · Alpine:v3.10 | Package registry (OSV) |
| debian:spamassassin | 3.4.2-1 · Debian:12 | Package registry (OSV) |
| opensuse:spamassassin | 3.4.2-lp150.6.3.1 · openSUSE:Leap 15.0 | Package registry (OSV) |
| red hat:spamassassin | 0:3.4.0-4.el7_5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:spamassassin-debuginfo | 0:3.4.0-4.el7_5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:spamassassin | 3.4.2-44.3.1 · SUSE:Linux Enterprise Desktop 12 SP4 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- low · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- Low
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- www.securityfocus.com/bid/105347
- access.redhat.com/errata/RHSA-2018:2916
- lists.apache.org/thread.html/7f6a16bc0fd0fd5e67c7fd95bd655069a2ac7d1f88e42d3c853e601c%40%3Cannounce.apache.org%3E
- lists.debian.org/debian-lts-announce/2018/11/msg00016.html
- security.gentoo.org/glsa/201812-07
- usn.ubuntu.com/3811-1/
- usn.ubuntu.com/3811-2/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.