CVE-2017-15705

Source
https://nvd.nist.gov/vuln/detail/CVE-2017-15705
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-15705.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-15705
Related
Published
2018-09-17T14:29:00Z
Modified
2024-12-05T15:15:50.531361Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
[none]
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.

References

Affected packages

Alpine:v3.10 / spamassassin

Package

Name
spamassassin
Purl
pkg:apk/alpine/spamassassin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2-r0

Affected versions

3.*

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

Alpine:v3.11 / spamassassin

Package

Name
spamassassin
Purl
pkg:apk/alpine/spamassassin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2-r0

Affected versions

3.*

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

Alpine:v3.12 / spamassassin

Package

Name
spamassassin
Purl
pkg:apk/alpine/spamassassin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2-r0

Affected versions

3.*

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

Alpine:v3.13 / spamassassin

Package

Name
spamassassin
Purl
pkg:apk/alpine/spamassassin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2-r0

Affected versions

3.*

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

Alpine:v3.14 / spamassassin

Package

Name
spamassassin
Purl
pkg:apk/alpine/spamassassin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2-r0

Affected versions

3.*

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

Alpine:v3.15 / spamassassin

Package

Name
spamassassin
Purl
pkg:apk/alpine/spamassassin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2-r0

Affected versions

3.*

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

Alpine:v3.16 / spamassassin

Package

Name
spamassassin
Purl
pkg:apk/alpine/spamassassin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2-r0

Affected versions

3.*

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

Alpine:v3.17 / spamassassin

Package

Name
spamassassin
Purl
pkg:apk/alpine/spamassassin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2-r0

Affected versions

3.*

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

Alpine:v3.18 / spamassassin

Package

Name
spamassassin
Purl
pkg:apk/alpine/spamassassin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2-r0

Affected versions

3.*

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

Alpine:v3.19 / spamassassin

Package

Name
spamassassin
Purl
pkg:apk/alpine/spamassassin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2-r0

Affected versions

3.*

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

Alpine:v3.20 / spamassassin

Package

Name
spamassassin
Purl
pkg:apk/alpine/spamassassin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2-r0

Affected versions

3.*

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

Alpine:v3.21 / spamassassin

Package

Name
spamassassin
Purl
pkg:apk/alpine/spamassassin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2-r0

Affected versions

3.*

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

Alpine:v3.8 / spamassassin

Package

Name
spamassassin
Purl
pkg:apk/alpine/spamassassin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.3-r0

Affected versions

3.*

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

Alpine:v3.9 / spamassassin

Package

Name
spamassassin
Purl
pkg:apk/alpine/spamassassin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2-r0

Affected versions

3.*

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

Debian:11 / spamassassin

Package

Name
spamassassin
Purl
pkg:deb/debian/spamassassin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / spamassassin

Package

Name
spamassassin
Purl
pkg:deb/debian/spamassassin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / spamassassin

Package

Name
spamassassin
Purl
pkg:deb/debian/spamassassin?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/apache/spamassassin

Affected ranges

Type
GIT
Repo
https://github.com/apache/spamassassin
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed