Vulnerability · Published Mar 25, 2021 · Assigned by apache
CVE-2020-1946Apache SpamAssassin has an OS Command Injection vulnerability
Critical 9.8
In plain English
A critical-severity OS command injection in Apache SpamAssassin from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 6.1% (higher than 93% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | spamassassin | 3.4.4-4.el8 | ALSA-2021:4315 |
| Alpine:v3.20 | spamassassin | 3.4.5-r0 | ALPINE-CVE-2020-1946 |
| Alpine:v3.21 | spamassassin | 3.4.5-r0 | ALPINE-CVE-2020-1946 |
| Alpine:v3.22 | spamassassin | 3.4.5-r0 | ALPINE-CVE-2020-1946 |
| Alpine:v3.23 | spamassassin | 3.4.5-r0 | ALPINE-CVE-2020-1946 |
| Alpine:v3.24 | spamassassin | 3.4.5-r0 | ALPINE-CVE-2020-1946 |
| Debian:12 | spamassassin | 3.4.5~pre1-1 | DEBIAN-CVE-2020-1946 |
| Debian:13 | spamassassin | 3.4.5~pre1-1 | DEBIAN-CVE-2020-1946 |
| Debian:14 | spamassassin | 3.4.5~pre1-1 | DEBIAN-CVE-2020-1946 |
| Rocky Linux:8 | spamassassin | 0:3.4.4-4.el8 | RLSA-2021:4315 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache SpamAssassin | Apache SpamAssassin – before 3.4.5 |
Weakness: CWE-78
References
- https://s.apache.org/3r1wh x_refsource_MISC
- DSA-4879 vendor-advisory, x_refsource_DEBIAN
- FEDORA-2021-bf06dcffa8 vendor-advisory, x_refsource_FEDORA
- [debian-lts-announce] 20210401 [SECURITY] [DLA 2615-1] spamassassin security update mailing-list, x_refsource_MLIST
- FEDORA-2021-90e915cc4f vendor-advisory, x_refsource_FEDORA
- FEDORA-2021-5a4377797c vendor-advisory, x_refsource_FEDORA
- GLSA-202105-26 vendor-advisory, x_refsource_GENTOO