p PatchFirst

CVE-2017-15705

CVE-2017-15705

CVSS 5.3 · Medium · EPSS 7.9% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

apk list -I -o spamassassin

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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
Updated

Fixes in distributions

  • RHSA-2018:2916 · Red Hat Enterprise Linux 7 client, Red Hat Enterprise Linux 7 server, Red Hat Enterprise Linux 7 workstation ·
  • openSUSE-SU-2024:11395-1 · openSUSE Tumbleweed ·
  • openSUSE-SU-2019:1831-1 · openSUSE Leap 15.0 ·
  • SUSE-SU-2019:2011-1 · SUSE Linux Enterprise Module for Basesystem 15, SUSE Linux Enterprise Module for Development Tools 15 ·
  • SUSE-SU-2019:1961-1 · SUSE Linux Enterprise Desktop 12 SP4, SUSE Linux Enterprise Server 12 SP4, SUSE Linux Enterprise Server for SAP Applications 12 SP4 ·
  • DLA-1578-1 · Debian 8 ·
  • USN-3811-1 · Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS ·

Stack: system

Affected products and versions

  • apache spamassassin

    Versions
    • all modern versions before 3.4.2: Affected

    No fix published

  • spamassassin Alpine 3.10

    Affected ranges
    • ECOSYSTEM: < 3.4.2-r0

    Update to 3.4.2-r0

  • spamassassin Alpine 3.11

    Affected ranges
    • ECOSYSTEM: < 3.4.2-r0

    Update to 3.4.2-r0

  • spamassassin Alpine 3.12

    Affected ranges
    • ECOSYSTEM: < 3.4.2-r0

    Update to 3.4.2-r0

  • spamassassin Alpine 3.13

    Affected ranges
    • ECOSYSTEM: < 3.4.2-r0

    Update to 3.4.2-r0

  • spamassassin Alpine 3.14

    Affected ranges
    • ECOSYSTEM: < 3.4.2-r0

    Update to 3.4.2-r0

  • spamassassin Alpine 3.15

    Affected ranges
    • ECOSYSTEM: < 3.4.2-r0

    Update to 3.4.2-r0

  • spamassassin Alpine 3.16

    Affected ranges
    • ECOSYSTEM: < 3.4.2-r0

    Update to 3.4.2-r0

  • spamassassin Alpine 3.17

    Affected ranges
    • ECOSYSTEM: < 3.4.2-r0

    Update to 3.4.2-r0

  • spamassassin Alpine 3.18

    Affected ranges
    • ECOSYSTEM: < 3.4.2-r0

    Update to 3.4.2-r0

  • spamassassin Alpine 3.19

    Affected ranges
    • ECOSYSTEM: < 3.4.2-r0

    Update to 3.4.2-r0

  • spamassassin Alpine 3.20

    Affected ranges
    • ECOSYSTEM: < 3.4.2-r0

    Update to 3.4.2-r0

  • spamassassin Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 3.4.2-r0

    Update to 3.4.2-r0

  • spamassassin Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 3.4.2-r0

    Update to 3.4.2-r0

  • spamassassin Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 3.4.2-r0

    Update to 3.4.2-r0

  • spamassassin Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 3.4.2-r0

    Update to 3.4.2-r0

  • spamassassin Alpine 3.8

    Affected ranges
    • ECOSYSTEM: < 3.4.3-r0

    Update to 3.4.3-r0

  • spamassassin Alpine 3.9

    Affected ranges
    • ECOSYSTEM: < 3.4.2-r0

    Update to 3.4.2-r0

  • spamassassin Debian 12

    Affected ranges
    • ECOSYSTEM: < 3.4.2-1

    Update to 3.4.2-1

  • spamassassin Debian 13

    Affected ranges
    • ECOSYSTEM: < 3.4.2-1

    Update to 3.4.2-1

  • spamassassin Debian 14

    Affected ranges
    • ECOSYSTEM: < 3.4.2-1

    Update to 3.4.2-1

  • spamassassin Ubuntu 14.04 LTS

    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
    All versions (7)
    • 3.4.0-1ubuntu2.1
    Affected ranges
    • ECOSYSTEM: < 3.4.2-0ubuntu0.14.04.1

    Update to 3.4.2-0ubuntu0.14.04.1

  • spamassassin Ubuntu 16.04 LTS

    Versions
    • 3.4.1-1
    • 3.4.1-2
    • 3.4.1-3
    Affected ranges
    • ECOSYSTEM: < 3.4.2-0ubuntu0.16.04.1

    Update to 3.4.2-0ubuntu0.16.04.1

  • spamassassin Ubuntu 18.04 LTS

    Versions
    • 3.4.1-7
    • 3.4.1-8
    • 3.4.1-8build1
    Affected ranges
    • ECOSYSTEM: < 3.4.2-0ubuntu0.18.04.1

    Update to 3.4.2-0ubuntu0.18.04.1

Original sources

Check your server →