CVE-2020-7247
opensmtpd - security update
9.8
CRITICAL
CVSS 3.1
⚠ KEVEPSS 94.1%
Description
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.
How to fix CVE-2020-7247
To remediate CVE-2020-7247, upgrade the affected package to a fixed version below.
- —upgrade to 6.6.2p1-r0 or later
- —upgrade to 6.6.2p1-1 or later
- —upgrade to 6.0.2p1-2+deb9u2 or later
Is CVE-2020-7247 being exploited?
Yes — CVE-2020-7247 is on the CISA Known Exploited Vulnerabilities (KEV) catalog. Patch immediately.
Affected packages (3)
- from 0, < 6.6.2p1-r0
- from 0, < 6.6.2p1-1
- from 0, < 6.0.2p1-2+deb9u2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |