Skip to content

Known exploited

CVE-2020-7247 on Debian 13: affected packages and fixed versions

1 package on Debian 13 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

PackageFixed inSeverityAdvisory
opensmtpd 6.6.2p1-1 Not rated none listed

Check a host

Show the installed version and compare with the table above:

dpkg-query -W -f='${Package} ${Version}\n' opensmtpd

Update to the fixed build:

sudo apt-get update && sudo apt-get install --only-upgrade opensmtpd

The fixed version may look older than the upstream release that fixed the bug. Debian 13 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.

Get started free Check one server now, no signup