CVE-2020-1946Apache SpamAssassin has an OS Command Injection vulnerability
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 20.04 | spamassassin | Fixed | 3.4.4-1ubuntu1.1 | UBUNTU-CVE-2020-1946 |
| Ubuntu 18.04 | spamassassin | Fixed | 3.4.2-0ubuntu0.18.04.5 | UBUNTU-CVE-2020-1946 |
| Ubuntu 16.04 | spamassassin | Fixed | 3.4.2-0ubuntu0.16.04.5 | UBUNTU-CVE-2020-1946 |
| Ubuntu 14.04 | spamassassin | Fix pending | 3.4.2-0ubuntu0.14.04.1+esm3 (Ubuntu Pro) | UBUNTU-CVE-2020-1946 |
| Debian 14 | spamassassin | Fixed | 3.4.5~pre1-1 | DEBIAN-CVE-2020-1946 |
| Debian 13 | spamassassin | Fixed | 3.4.5~pre1-1 | DEBIAN-CVE-2020-1946 |
| Debian 12 | spamassassin | Fixed | 3.4.5~pre1-1 | DEBIAN-CVE-2020-1946 |
| Red Hat Enterprise Linux 9 | spamassassin | Not affected | ||
| Red Hat Enterprise Linux 8 | spamassassin | Fixed | 0:3.4.4-4.el8 | RHSA-2021:4315 |
| Red Hat Enterprise Linux 7 | spamassassin | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 6 | spamassassin | Will not fix Out of support scope | ||
| AlmaLinux 8 | spamassassin | Fixed | 3.4.4-4.el8 | ALSA-2021:4315 |
| Rocky Linux 8 | spamassassin | Fixed | 0:3.4.4-4.el8 | RLSA-2021:4315 |
| Alpine Linux 3.24 | spamassassin | Fixed | 3.4.5-r0 | ALPINE-CVE-2020-1946 |
| Alpine Linux 3.23 | spamassassin | Fixed | 3.4.5-r0 | ALPINE-CVE-2020-1946 |
| Alpine Linux 3.22 | spamassassin | Fixed | 3.4.5-r0 | ALPINE-CVE-2020-1946 |
| Alpine Linux 3.21 | spamassassin | Fixed | 3.4.5-r0 | ALPINE-CVE-2020-1946 |
| Alpine Linux 3.20 | spamassassin | Fixed | 3.4.5-r0 | ALPINE-CVE-2020-1946 |
| Alpine Linux 3.19 | spamassassin | Fixed | 3.4.5-r0 | ALPINE-CVE-2020-1946 |
| Alpine Linux 3.18 | spamassassin | Fixed | 3.4.5-r0 | ALPINE-CVE-2020-1946 |
| Alpine Linux 3.17 | spamassassin | Fixed | 3.4.5-r0 | ALPINE-CVE-2020-1946 |
| Alpine Linux 3.16 | spamassassin | Fixed | 3.4.5-r0 | ALPINE-CVE-2020-1946 |
| Alpine Linux 3.15 | spamassassin | Fixed | 3.4.5-r0 | ALPINE-CVE-2020-1946 |
| Alpine Linux 3.14 | spamassassin | Fixed | 3.4.5-r0 | ALPINE-CVE-2020-1946 |
| Alpine Linux 3.13 | spamassassin | Fixed | 3.4.5-r0 | ALPINE-CVE-2020-1946 |
| Alpine Linux 3.12 | spamassassin | Fixed | 3.4.5-r0 | ALPINE-CVE-2020-1946 |
| Alpine Linux 3.11 | spamassassin | Fixed | 3.4.5-r0 | ALPINE-CVE-2020-1946 |
| Alpine Linux 3.10 | spamassassin | Fixed | 3.4.5-r0 | ALPINE-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.
- Apache Software Foundation Apache SpamAssassin: affected: Apache SpamAssassin to before 3.4.5; fixed in
3.4.5
Vendor advisories:
- https://www.debian.org/security/2021/dsa-4879 (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202105-26 (vendor-advisory)
References
- https://s.apache.org/3r1wh
- https://www.debian.org/security/2021/dsa-4879
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7V2SBVTKVLFFT36ECJQ7TQ7KAQCQZDRZ/
- https://lists.debian.org/debian-lts-announce/2021/04/msg00000.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JFBFRIG5TX23NF4ND6OAKKY7I6TLRCCP/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NKAXYBKBMQOLIW6UKASJCAZRBOIYS4RL/
- https://security.gentoo.org/glsa/202105-26
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.