OS Command Injection in SpamAssassin - CVE-2020-1931

 

OS Command Injection in SpamAssassin - CVE-2020-1931

Published: February 2, 2020


Vulnerability identifier: #VU24820
CSH Severity: Medium
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-1931
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

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
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-1931

Install updates from vendor's website.

SpamAssassin - update to 3.4.3
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

External References

Related Security Bulletins