cve.bz

CVE-2020-1946 OS Command Injection

9.8 criticalEPSS 5.9%

Critical (9.8). EPSS 5.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
5.9% (unchanged from 5.9% a week ago; 6.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-1946 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-1946?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-1946?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-1946 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache SpamAssassinfrom Apache SpamAssassin before 3.4.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9spamassassin3.4.2-1~deb9u4DLA-2615-1
Debian10spamassassin3.4.2-1+deb10u3DSA-4879-1
Debian12, 13, 14spamassassin3.4.5~pre1-1DEBIAN-CVE-2020-1946
Ubuntu16.04:LTSspamassassin3.4.2-0ubuntu0.16.04.5UBUNTU-CVE-2020-1946 USN-4899-1
Ubuntu18.04:LTSspamassassin3.4.2-0ubuntu0.18.04.5UBUNTU-CVE-2020-1946 USN-4899-1
Ubuntu20.04:LTSspamassassin3.4.4-1ubuntu1.1UBUNTU-CVE-2020-1946 USN-4899-1
UbuntuPro:14.04:LTSspamassassin3.4.2-0ubuntu0.14.04.1+esm3UBUNTU-CVE-2020-1946 USN-4899-2
Red Hatenterprise_linux:8::appstreamspamassassin, spamassassin-debuginfo, spamassassin-debugsource0:3.4.4-4.el8RHSA-2021:4315
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 8 morespamassassin3.4.5-12.10.1SUSE-SU-2021:1163-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 10 morespamassassin3.4.5-44.13.1SUSE-SU-2021:1152-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 morespamassassin3.4.5-7.14.1SUSE-SU-2021:1153-1
openSUSELeap 15.2spamassassin3.4.5-lp152.10.3.1openSUSE-SU-2021:0551-1
openSUSETumbleweedspamassassin3.4.6-71.3openSUSE-SU-2024:11395-1
AlmaLinux8spamassassin3.4.4-4.el8ALSA-2021:4315
Rocky Linux8spamassassin0:3.4.4-4.el8RLSA-2021:4315
Alpinev3.10, v3.11, v3.12 and 12 morespamassassin3.4.5-r0ALPINE-CVE-2020-1946

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

This vulnerability can only be exploited through a malicious rule configuration file. If you are using third-party rule configuration files, it is important to ensure they come only from trusted sources, or are inspected prior to deployment. Even in the absence of this vulnerability, malicious rule configurations could cause significant disruptions to email processed by SpamAssassin.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8spamassassin-0:3.4.4-4.el8Fixed 2021-11-09RHSA-2021:4315
Red Hat Enterprise Linux 6spamassassinOut of support scope
Red Hat Enterprise Linux 7spamassassinWill not fix
Red Hat Enterprise Linux 9spamassassinNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-1946.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON