{"id":"ALPINE-CVE-2017-15705","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.","modified":"2025-12-03T22:38:53.830667Z","published":"2018-09-17T14:29:00.293Z","upstream":["CVE-2017-15705"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2017-15705"}],"affected":[{"package":{"name":"spamassassin","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/spamassassin?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.3.0-r1","3.3.1-r0","3.3.1-r1","3.3.1-r2","3.3.1-r3","3.3.1-r4","3.3.1-r5","3.3.1-r6","3.3.1-r7","3.3.1-r8","3.3.1-r9","3.3.2-r0","3.3.2-r1","3.4.0-r0","3.4.0-r1","3.4.0-r2","3.4.1-r0","3.4.1-r1","3.4.1-r2","3.4.1-r3","3.4.1-r4","3.4.1-r5","3.4.1-r6","3.4.1-r7","3.4.1-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-15705.json"}},{"package":{"name":"spamassassin","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/spamassassin?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.3.0-r1","3.3.1-r0","3.3.1-r1","3.3.1-r2","3.3.1-r3","3.3.1-r4","3.3.1-r5","3.3.1-r6","3.3.1-r7","3.3.1-r8","3.3.1-r9","3.3.2-r0","3.3.2-r1","3.4.0-r0","3.4.0-r1","3.4.0-r2","3.4.1-r0","3.4.1-r1","3.4.1-r2","3.4.1-r3","3.4.1-r4","3.4.1-r5","3.4.1-r6","3.4.1-r7","3.4.1-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-15705.json"}},{"package":{"name":"spamassassin","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/spamassassin?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.3.0-r1","3.3.1-r0","3.3.1-r1","3.3.1-r2","3.3.1-r3","3.3.1-r4","3.3.1-r5","3.3.1-r6","3.3.1-r7","3.3.1-r8","3.3.1-r9","3.3.2-r0","3.3.2-r1","3.4.0-r0","3.4.0-r1","3.4.0-r2","3.4.1-r0","3.4.1-r1","3.4.1-r2","3.4.1-r3","3.4.1-r4","3.4.1-r5","3.4.1-r6","3.4.1-r7","3.4.1-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-15705.json"}},{"package":{"name":"spamassassin","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/spamassassin?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.3.0-r1","3.3.1-r0","3.3.1-r1","3.3.1-r2","3.3.1-r3","3.3.1-r4","3.3.1-r5","3.3.1-r6","3.3.1-r7","3.3.1-r8","3.3.1-r9","3.3.2-r0","3.3.2-r1","3.4.0-r0","3.4.0-r1","3.4.0-r2","3.4.1-r0","3.4.1-r1","3.4.1-r2","3.4.1-r3","3.4.1-r4","3.4.1-r5","3.4.1-r6","3.4.1-r7","3.4.1-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-15705.json"}},{"package":{"name":"spamassassin","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/spamassassin?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.3.0-r1","3.3.1-r0","3.3.1-r1","3.3.1-r2","3.3.1-r3","3.3.1-r4","3.3.1-r5","3.3.1-r6","3.3.1-r7","3.3.1-r8","3.3.1-r9","3.3.2-r0","3.3.2-r1","3.4.0-r0","3.4.0-r1","3.4.0-r2","3.4.1-r0","3.4.1-r1","3.4.1-r2","3.4.1-r3","3.4.1-r4","3.4.1-r5","3.4.1-r6","3.4.1-r7","3.4.1-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-15705.json"}},{"package":{"name":"spamassassin","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/spamassassin?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.3.0-r1","3.3.1-r0","3.3.1-r1","3.3.1-r2","3.3.1-r3","3.3.1-r4","3.3.1-r5","3.3.1-r6","3.3.1-r7","3.3.1-r8","3.3.1-r9","3.3.2-r0","3.3.2-r1","3.4.0-r0","3.4.0-r1","3.4.0-r2","3.4.1-r0","3.4.1-r1","3.4.1-r2","3.4.1-r3","3.4.1-r4","3.4.1-r5","3.4.1-r6","3.4.1-r7","3.4.1-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-15705.json"}},{"package":{"name":"spamassassin","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/spamassassin?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.3.0-r1","3.3.1-r0","3.3.1-r1","3.3.1-r2","3.3.1-r3","3.3.1-r4","3.3.1-r5","3.3.1-r6","3.3.1-r7","3.3.1-r8","3.3.1-r9","3.3.2-r0","3.3.2-r1","3.4.0-r0","3.4.0-r1","3.4.0-r2","3.4.1-r0","3.4.1-r1","3.4.1-r2","3.4.1-r3","3.4.1-r4","3.4.1-r5","3.4.1-r6","3.4.1-r7","3.4.1-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-15705.json"}},{"package":{"name":"spamassassin","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/spamassassin?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.3.0-r1","3.3.1-r0","3.3.1-r1","3.3.1-r2","3.3.1-r3","3.3.1-r4","3.3.1-r5","3.3.1-r6","3.3.1-r7","3.3.1-r8","3.3.1-r9","3.3.2-r0","3.3.2-r1","3.4.0-r0","3.4.0-r1","3.4.0-r2","3.4.1-r0","3.4.1-r1","3.4.1-r2","3.4.1-r3","3.4.1-r4","3.4.1-r5","3.4.1-r6","3.4.1-r7","3.4.1-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-15705.json"}},{"package":{"name":"spamassassin","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/spamassassin?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.3.0-r1","3.3.1-r0","3.3.1-r1","3.3.1-r2","3.3.1-r3","3.3.1-r4","3.3.1-r5","3.3.1-r6","3.3.1-r7","3.3.1-r8","3.3.1-r9","3.3.2-r0","3.3.2-r1","3.4.0-r0","3.4.0-r1","3.4.0-r2","3.4.1-r0","3.4.1-r1","3.4.1-r2","3.4.1-r3","3.4.1-r4","3.4.1-r5","3.4.1-r6","3.4.1-r7","3.4.1-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-15705.json"}},{"package":{"name":"spamassassin","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/spamassassin?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.3.0-r1","3.3.1-r0","3.3.1-r1","3.3.1-r2","3.3.1-r3","3.3.1-r4","3.3.1-r5","3.3.1-r6","3.3.1-r7","3.3.1-r8","3.3.1-r9","3.3.2-r0","3.3.2-r1","3.4.0-r0","3.4.0-r1","3.4.0-r2","3.4.1-r0","3.4.1-r1","3.4.1-r2","3.4.1-r3","3.4.1-r4","3.4.1-r5","3.4.1-r6","3.4.1-r7","3.4.1-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-15705.json"}},{"package":{"name":"spamassassin","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/spamassassin?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.3.0-r1","3.3.1-r0","3.3.1-r1","3.3.1-r2","3.3.1-r3","3.3.1-r4","3.3.1-r5","3.3.1-r6","3.3.1-r7","3.3.1-r8","3.3.1-r9","3.3.2-r0","3.3.2-r1","3.4.0-r0","3.4.0-r1","3.4.0-r2","3.4.1-r0","3.4.1-r1","3.4.1-r2","3.4.1-r3","3.4.1-r4","3.4.1-r5","3.4.1-r6","3.4.1-r7","3.4.1-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-15705.json"}},{"package":{"name":"spamassassin","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/spamassassin?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.3.0-r1","3.3.1-r0","3.3.1-r1","3.3.1-r2","3.3.1-r3","3.3.1-r4","3.3.1-r5","3.3.1-r6","3.3.1-r7","3.3.1-r8","3.3.1-r9","3.3.2-r0","3.3.2-r1","3.4.0-r0","3.4.0-r1","3.4.0-r2","3.4.1-r0","3.4.1-r1","3.4.1-r2","3.4.1-r3","3.4.1-r4","3.4.1-r5","3.4.1-r6","3.4.1-r7","3.4.1-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-15705.json"}},{"package":{"name":"spamassassin","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/spamassassin?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.3.0-r1","3.3.1-r0","3.3.1-r1","3.3.1-r2","3.3.1-r3","3.3.1-r4","3.3.1-r5","3.3.1-r6","3.3.1-r7","3.3.1-r8","3.3.1-r9","3.3.2-r0","3.3.2-r1","3.4.0-r0","3.4.0-r1","3.4.0-r2","3.4.1-r0","3.4.1-r1","3.4.1-r2","3.4.1-r3","3.4.1-r4","3.4.1-r5","3.4.1-r6","3.4.1-r7","3.4.1-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-15705.json"}},{"package":{"name":"spamassassin","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/spamassassin?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.3.0-r1","3.3.1-r0","3.3.1-r1","3.3.1-r2","3.3.1-r3","3.3.1-r4","3.3.1-r5","3.3.1-r6","3.3.1-r7","3.3.1-r8","3.3.1-r9","3.3.2-r0","3.3.2-r1","3.4.0-r0","3.4.0-r1","3.4.0-r2","3.4.1-r0","3.4.1-r1","3.4.1-r2","3.4.1-r3","3.4.1-r4","3.4.1-r5","3.4.1-r6","3.4.1-r7","3.4.1-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-15705.json"}},{"package":{"name":"spamassassin","ecosystem":"Alpine:v3.8","purl":"pkg:apk/alpine/spamassassin?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.3-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.3.0-r1","3.3.1-r0","3.3.1-r1","3.3.1-r2","3.3.1-r3","3.3.1-r4","3.3.1-r5","3.3.1-r6","3.3.1-r7","3.3.1-r8","3.3.1-r9","3.3.2-r0","3.3.2-r1","3.4.0-r0","3.4.0-r1","3.4.0-r2","3.4.1-r0","3.4.1-r1","3.4.1-r2","3.4.1-r3","3.4.1-r4","3.4.1-r5","3.4.1-r6","3.4.1-r7","3.4.1-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-15705.json"}},{"package":{"name":"spamassassin","ecosystem":"Alpine:v3.9","purl":"pkg:apk/alpine/spamassassin?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2-r0"}]}],"versions":["3.2.5-r0","3.2.5-r1","3.3.0-r1","3.3.1-r0","3.3.1-r1","3.3.1-r2","3.3.1-r3","3.3.1-r4","3.3.1-r5","3.3.1-r6","3.3.1-r7","3.3.1-r8","3.3.1-r9","3.3.2-r0","3.3.2-r1","3.4.0-r0","3.4.0-r1","3.4.0-r2","3.4.1-r0","3.4.1-r1","3.4.1-r2","3.4.1-r3","3.4.1-r4","3.4.1-r5","3.4.1-r6","3.4.1-r7","3.4.1-r8"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2017-15705.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}