CVEfocus › CVE database › CVE-2020-1946

CVE-2020-1946Apache SpamAssassin has an OS Command Injection vulnerability

EPSS 5.9% (higher than 94% of CVEs)Published 2021-03-25Updated 2025-02-13Assigner: apache

In Apache SpamAssassin before 3.4.5, malicious rule configuration (.cf) files can be configured to run system commands without any output or errors. With this, exploits can be injected in a number of scenarios. In addition to upgrading to SA version 3.4.5, users should only use update channels or 3rd party .cf files from trusted places.

CWE-78

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

24Fixed
1Fix pending
2Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04spamassassinFixed3.4.4-1ubuntu1.1UBUNTU-CVE-2020-1946
Ubuntu 18.04spamassassinFixed3.4.2-0ubuntu0.18.04.5UBUNTU-CVE-2020-1946
Ubuntu 16.04spamassassinFixed3.4.2-0ubuntu0.16.04.5UBUNTU-CVE-2020-1946
Ubuntu 14.04spamassassinFix pending3.4.2-0ubuntu0.14.04.1+esm3 (Ubuntu Pro)UBUNTU-CVE-2020-1946
Debian 14spamassassinFixed3.4.5~pre1-1DEBIAN-CVE-2020-1946
Debian 13spamassassinFixed3.4.5~pre1-1DEBIAN-CVE-2020-1946
Debian 12spamassassinFixed3.4.5~pre1-1DEBIAN-CVE-2020-1946
Red Hat Enterprise Linux 9spamassassinNot affected
Red Hat Enterprise Linux 8spamassassinFixed0:3.4.4-4.el8RHSA-2021:4315
Red Hat Enterprise Linux 7spamassassinWill not fix
Will not fix
Red Hat Enterprise Linux 6spamassassinWill not fix
Out of support scope
AlmaLinux 8spamassassinFixed3.4.4-4.el8ALSA-2021:4315
Rocky Linux 8spamassassinFixed0:3.4.4-4.el8RLSA-2021:4315
Alpine Linux 3.24spamassassinFixed3.4.5-r0ALPINE-CVE-2020-1946
Alpine Linux 3.23spamassassinFixed3.4.5-r0ALPINE-CVE-2020-1946
Alpine Linux 3.22spamassassinFixed3.4.5-r0ALPINE-CVE-2020-1946
Alpine Linux 3.21spamassassinFixed3.4.5-r0ALPINE-CVE-2020-1946
Alpine Linux 3.20spamassassinFixed3.4.5-r0ALPINE-CVE-2020-1946
Alpine Linux 3.19spamassassinFixed3.4.5-r0ALPINE-CVE-2020-1946
Alpine Linux 3.18spamassassinFixed3.4.5-r0ALPINE-CVE-2020-1946
Alpine Linux 3.17spamassassinFixed3.4.5-r0ALPINE-CVE-2020-1946
Alpine Linux 3.16spamassassinFixed3.4.5-r0ALPINE-CVE-2020-1946
Alpine Linux 3.15spamassassinFixed3.4.5-r0ALPINE-CVE-2020-1946
Alpine Linux 3.14spamassassinFixed3.4.5-r0ALPINE-CVE-2020-1946
Alpine Linux 3.13spamassassinFixed3.4.5-r0ALPINE-CVE-2020-1946
Alpine Linux 3.12spamassassinFixed3.4.5-r0ALPINE-CVE-2020-1946
Alpine Linux 3.11spamassassinFixed3.4.5-r0ALPINE-CVE-2020-1946
Alpine Linux 3.10spamassassinFixed3.4.5-r0ALPINE-CVE-2020-1946

What the vendor says

As published in the CVE record by apache, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.