OpenBSD · OpenSMTPD · CWE-755 · CWE-78 · published 2020-01-29

CVE-2020-7247OpenSMTPD Remote Code Execution Vulnerability

This week Known exploited in the wild.

CVE-2020-7247 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2022-03-25. EPSS estimates a 99% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This OpenSMTPD vulnerability: CVSS 9.8 (v3.1), attacks can be automated, a successful attack gives total control of the component. Patched packages are out for Debian and Ubuntu. US federal agencies must remediate by 2022-04-15. Patch this week.

Share this

Remediation#

CISA required action: Apply updates per vendor instructions. (federal due date 2022-04-15)

Linux distribution packages

If you run the distro’s package rather than an upstream build, this is the version to look for.

DistroReleasePackageStatus
Debian13 trixieopensmtpdFixed in 6.6.2p1-1
12 bookwormopensmtpdFixed in 6.6.2p1-1
Ubuntu18.04 LTSopensmtpdFixed in 6.0.3p1-1ubuntu0.1

From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.

Patch events

  1. This weekExploited (KEV)CISA due 2022-04-15

    Other softwareOpenBSD OpenSMTPD

    Remote Code ExecutionCVE-2020-7247

    Why: Known exploited in the wild.

Exploit intelligence#

SignalValueSource
Known exploitedYes, added 2022-03-25CISA KEV
Ransomware useUnknownCISA KEV
EPSS (30-day exploitation probability)99% (100th pct)FIRST EPSS v2026.06.15
CVSS base score9.8 (v3.1)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA / CISA ADP
SSVC exploitationactiveCISA Vulnrichment
SSVC automatableYesCISA Vulnrichment
SSVC technical impacttotalCISA Vulnrichment

Weakness: CWE-755: Improper Handling of Exceptional Conditions · CWE-78: Improper Neutralization of Special Elements used in an OS Command

More from this vendor: all OpenBSD vulnerabilities · recent KEV additions

Affected versions (from the CVE record)#

Description (from the CVE record)#

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.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →