Skip to content

Known exploited

Is your fleet exposed to CVE-2020-7247?

OpenSMTPD Remote Code Execution Vulnerability. CVE-2020-7247 is in CISA's catalog of vulnerabilities known to be exploited, and it affects packages on 4 Linux releases that SysWard tracks. A host is exposed while it has a build older than the fixed version for its release.

Added to CISA's catalog
March 25, 2022
Due date for US federal agencies
April 15, 2022
Used in ransomware
Not known
Affected software
OpenBSD OpenSMTPD

What it is

smtp_mailaddr in smtp_session.c in OpenSMTPD, as used in OpenBSD and other products, allows remote attackers to execute arbitrary commands as root via a crafted SMTP session.

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.

From a distribution's security advisory

CISA's required action: Apply updates per vendor instructions.

Affected Linux releases

Pick your release for the full list of affected packages and the commands to check and update a host.

ReleaseAffected packagesFixed in
Debian 11 opensmtpd 6.6.2p1-1
Debian 12 opensmtpd 6.6.2p1-1
Debian 13 opensmtpd 6.6.2p1-1
Arch Linux opensmtpd 6.6.2p1-1

Releases not listed either are not affected, are past their vendor's support, or are not ones SysWard has security data for.

Why the version number alone can mislead

Long-lived distributions fix a vulnerability in the version they already ship and raise only their own build number. Comparing your package's upstream version with the release where the project fixed the bug gives the wrong answer in both directions. Compare against the fixed build for your release, which is what the release pages list.

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.

Get started free Check one server now, no signup