CVE-2020-1946
Apache SpamAssassin has an OS Command Injection vulnerability
Reported by apache · Published March 25, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| spamassassin | Alpine | 3.4.5-r0 |
| spamassassin | Amazon Linux | 3.4.4-3.amzn2.0.1 |
| spamassassin | Arch Linux | 3.4.5-1 |
| spamassassin | Ubuntu:18.04:LTS | 3.4.2-0ubuntu0.18.04.5 |
| spamassassin | Ubuntu:Pro:14.04:LTS | 3.4.2-0ubuntu0.14.04.1+esm3 |
| spamassassin | Ubuntu:20.04:LTS | 3.4.4-1ubuntu1.1 |
| Apache SpamAssassin | Apache Software Foundation | 3.4.5 |
| spamassassin | Ubuntu:16.04:LTS | 3.4.2-0ubuntu0.16.04.5 |
| spamassassin | apache | 3.4.5 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache SpamAssassin | Apache SpamAssassin |
| alpine | spamassassin | 0 |
| amazon:2 | spamassassin | 0 |
| Apache Software Foundation | Apache SpamAssassin | * |
| arch | spamassassin | 0 |
Timeline
- Dec 31, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 6, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 6, 2026 Security Advisory (6 in total, the first dated here)
- Sep 3, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-1946
vulnetix vdb fixes CVE-2020-1946
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-1946/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- DSA-4879 vendor-advisoryx_refsource_DEBIAN
- FEDORA-2021-bf06dcffa8 vendor-advisoryx_refsource_FEDORA
- [debian-lts-announce] 20210401 [SECURITY] [DLA 2615-1] spamassassin security update mailing-listx_refsource_MLIST
- FEDORA-2021-90e915cc4f vendor-advisoryx_refsource_FEDORA
- FEDORA-2021-5a4377797c vendor-advisoryx_refsource_FEDORA
- GLSA-202105-26 vendor-advisoryx_refsource_GENTOO