Known exploited
CVE-2020-7247 on Arch Linux: affected packages and fixed versions
1 package on Arch Linux is affected by CVE-2020-7247 (OpenSMTPD Remote Code Execution Vulnerability). A host is fixed once the package is at the version below or newer.
This vulnerability is known to be exploited. CISA added it to its catalog on March 25, 2022, with a remediation date of April 15, 2022 for US federal agencies.
Affected packages
| Package | Fixed in | Severity | Advisory |
|---|---|---|---|
opensmtpd |
6.6.2p1-1 |
Critical | ASA-202001-6 |
Check a host
Show the installed version and compare with the table above:
pacman -Q opensmtpd
Update to the fixed build:
sudo pacman -Syu
The fixed version may look older than the upstream release that fixed the bug. Arch Linux carries the fix in the version it already ships.
What it is
smtp_mailaddr in smtp_session.c in OpenSMTPD 6.6, as used in OpenBSD 6.6 and other products, allows remote attackers to execute arbitrary commands as root via a crafted SMTP session, as demonstrated by shell metacharacters in a MAIL FROM field. This affects the "uncommented" default configuration. The issue exists because of an incorrect return value upon failure of input validation.
CVE-2020-7247 on other releases
Know which of your hosts are affected
SysWard's agent reports the packages installed on each server and matches them against each distribution's own security data, so you see which hosts still have a vulnerable build, and can patch them from the same screen. Free for five servers.