OS Command Injection in SpamAssassin - CVE-2020-1930
Published: February 2, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to insufficient sanitization of nefarious rule configuration (.cf) files. A remote attacker can supply a specially crafted .cf file and execute arbitrary OS commands on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
spamassassin (Alpine package)
spamassassin (Debian package)
spamassassin (Red Hat package)
spamassassin
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Opensuse
Fedora
How to mitigate CVE-2020-1930
spamassassin (Alpine package) - update to 3.4.4-r0
spamassassin (Debian package) - addressed in versions 3.4.2-1+deb10u2, 3.4.2-1~deb9u3
spamassassin (Red Hat package) - update to 3.4.2-10.el8
spamassassin - addressed in versions 3.4.4-1.fc30, 3.4.4-1.fc31