UBUNTU-CVE-2017-15705 (CVE-2017-15705)
Vulnerability from osv_ubuntu – Published: 2018-09-17 00:00 – Updated: 2026-11-24 09:42 – Source websiteA 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.
| Ecosystem | Package | Version |
|---|---|---|
| Ubuntu:14.04:LTS |
spamassassin
pkg:deb/ubuntu/spamassassin@3.4.2-0ubuntu0.14.04.1?arch=source&distro=trusty
|
Affected: < 3.4.2-0ubuntu0.14.04.1 (ecosystem)
3.3.2-6ubuntu23.3.2-8ubuntu13.3.2-8ubuntu23.4.0-13.4.0-1ubuntu13.4.0-1ubuntu23.4.0-1ubuntu2.1
|
| Ubuntu:16.04:LTS |
spamassassin
pkg:deb/ubuntu/spamassassin@3.4.2-0ubuntu0.16.04.1?arch=source&distro=xenial
|
Affected: < 3.4.2-0ubuntu0.16.04.1 (ecosystem)
3.4.1-13.4.1-23.4.1-3
|
| Ubuntu:18.04:LTS |
spamassassin
pkg:deb/ubuntu/spamassassin@3.4.2-0ubuntu0.18.04.1?arch=source&distro=bionic
|
Affected: < 3.4.2-0ubuntu0.18.04.1 (ecosystem)
3.4.1-73.4.1-83.4.1-8build1
|
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "sa-compile",
"binary_version": "3.4.2-0ubuntu0.14.04.1"
},
{
"binary_name": "spamassassin",
"binary_version": "3.4.2-0ubuntu0.14.04.1"
},
{
"binary_name": "spamc",
"binary_version": "3.4.2-0ubuntu0.14.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:14.04:LTS",
"name": "spamassassin",
"purl": "pkg:deb/ubuntu/spamassassin@3.4.2-0ubuntu0.14.04.1?arch=source\u0026distro=trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.4.2-0ubuntu0.14.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.3.2-6ubuntu2",
"3.3.2-8ubuntu1",
"3.3.2-8ubuntu2",
"3.4.0-1",
"3.4.0-1ubuntu1",
"3.4.0-1ubuntu2",
"3.4.0-1ubuntu2.1"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "sa-compile",
"binary_version": "3.4.2-0ubuntu0.16.04.1"
},
{
"binary_name": "spamassassin",
"binary_version": "3.4.2-0ubuntu0.16.04.1"
},
{
"binary_name": "spamc",
"binary_version": "3.4.2-0ubuntu0.16.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:16.04:LTS",
"name": "spamassassin",
"purl": "pkg:deb/ubuntu/spamassassin@3.4.2-0ubuntu0.16.04.1?arch=source\u0026distro=xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.4.2-0ubuntu0.16.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.4.1-1",
"3.4.1-2",
"3.4.1-3"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "sa-compile",
"binary_version": "3.4.2-0ubuntu0.18.04.1"
},
{
"binary_name": "spamassassin",
"binary_version": "3.4.2-0ubuntu0.18.04.1"
},
{
"binary_name": "spamc",
"binary_version": "3.4.2-0ubuntu0.18.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "spamassassin",
"purl": "pkg:deb/ubuntu/spamassassin@3.4.2-0ubuntu0.18.04.1?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.4.2-0ubuntu0.18.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.4.1-7",
"3.4.1-8",
"3.4.1-8build1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2017-15705",
"modified": "2026-11-24T09:42:00Z",
"published": "2018-09-17T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2017-15705"
},
{
"type": "REPORT",
"url": "https://www.openwall.com/lists/oss-security/2018/09/16/1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3811-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-3811-2"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2017-15705"
}
],
"related": [
"USN-3811-1",
"USN-3811-2"
],
"schema_version": "1.9.2",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
"source": "NVD",
"type": "CVSS_V3"
},
{
"score": "medium",
"source": "SELF",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2017-15705"
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.