OS command injection in Apache SpamAssassin
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 fixed, 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-78.
Summary
A command execution issue was found in Apache SpamAssassin prior to 3.4.3. Carefully crafted nefarious rule configuration (.cf) files can be configured to run system commands similar to CVE-2018-11805. With this bug unpatched, exploits can be injected in a number of scenarios including the same privileges as spamd is run which may be elevated though doing so remotely is difficult. In addition to upgrading to SA 3.4.4, we again recommend that users should only use update channels or 3rd party .cf files from trusted places. If you cannot upgrade, do not use 3rd party rulesets, do not use sa-compile and do not run spamd as an account with elevated privileges.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
- Fix · CNA Apache SpamAssassin (Apache Software Foundation) Fixed in 3.4.3
Red Hat 1 advisory
- RHSA-2020:4625 Released 2020-11-04 · Red Hat rating Moderatespamassassin security update
- Red Hat Enterprise Linux AppStream (v. 8) spamassassin-3.4.2-10.el8
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Apache SpamAssassin — FEDORA-2020-24dac7d890
2 records Highest priority Priority MEDIUM 2 MEDIUM
Other records, highest priority first
- TI-2020-01855 OS command injection in Apache SpamAssassinPriority MEDIUM 45
- Advisory ·
Apache SpamAssassin — FEDORA-2020-bd20036cdc
2 records Highest priority Priority MEDIUM 2 MEDIUM
Other records, highest priority first
- TI-2020-01855 OS command injection in Apache SpamAssassinPriority MEDIUM 45
Show 3 more groups
- Advisory ·
Apache SpamAssassin — USN-4265-1
2 records Highest priority Priority MEDIUM 2 MEDIUM
Other records, highest priority first
- TI-2020-01855 OS command injection in Apache SpamAssassinPriority MEDIUM 45
- Advisory ·
Apache SpamAssassin — USN-4265-2
2 records Highest priority Priority MEDIUM 2 MEDIUM
Other records, highest priority first
- TI-2020-01855 OS command injection in Apache SpamAssassinPriority MEDIUM 45
- Advisory ·
Apache SpamAssassin — DSA-4615
2 records Highest priority Priority MEDIUM 2 MEDIUM
Other records, highest priority first
- TI-2020-01855 OS command injection in Apache SpamAssassinPriority MEDIUM 45
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2020:4625 |
Timeline
- 2026-10-02 Threatist record created from CVE-2020-1930
- 2026-10-03 Alias added: GHSA-pxq8-92ff-q845
References
Advisory 6
Other 4
- https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7648
- [announce] 20200130 [CVE-2020-1930] Apache SpamAssassin Nefarious rule configuration (.cf) files can be configured to run system commands
- 20200203 [SECURITY] [DSA 4615-1] spamassassin security update
- [debian-lts-announce] 20200218 [SECURITY] [DLA 2107-1] spamassassin security update
More Apache Spamassassin vulnerabilities
- TI-2006-02383 SpamAssassin before 3.1.3, when running with vpopmail and the paranoid (-P) switch… CVSS 2.0MEDIUM 5.1
- TI-2018-08437 A potential Remote Code Execution bug exists with the PDFInfo plugin in Apache SpamAssassin before 3.4.2. CVSS 3.0CRITICAL 9.8
- TI-2020-01870 Apache SpamAssassin has an OS Command Injection vulnerability CVSS 3.1CRITICAL 9.8
- TI-2020-01855 OS command injection in Apache SpamAssassin CVSS 3.1HIGH 8.1
- TI-2019-09265 Uncontrolled resource consumption in Apache SpamAssassin CVSS 3.1HIGH 7.5
- TI-2018-08438 Apache SpamAssassin 3.4.2 fixes a local user code injection in the meta rule syntax. CVSS 3.0HIGH 7.8
Sources
- CVE-2020-1930 · CVE Program
- CVE-2020-1930 · NVD
- FIRST EPSS
- GHSA-pxq8-92ff-q845 · GitHub Advisory Database · CC BY 4.0
- CVE-2020-1930 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences