VDB
CVE-2020-7247
CVE-2020-7247
PUBLISHED
CVSS 9.8 CRITICAL
Reported by mitre · Published January 29, 2020
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.
Risk scores
CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| arch | opensmtpd | 0 |
| alpine | opensmtpd | 0, 0 |
| n/a | n/a | * |
Timeline
- Jan 29, 2020 PoC Published (16 in total, the first dated here)
- Jan 29, 2020 CVE Published
- Jan 30, 2020 VulnCheck XDB Entry (13 in total, the first dated here)
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 25, 2022 CISA KEV Added
- Mar 25, 2022 VulnCheck KEV Exploitation
- Mar 7, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 7, 2026 Security Advisory (5 in total, the first dated here)
- Aug 29, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-7247
vulnetix vdb fixes CVE-2020-7247
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-7247/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_MISC
- 20200129 [SECURITY] [DSA 4611-1] opensmtpd security update mailing-listx_refsource_BUGTRAQ
- DSA-4611 vendor-advisoryx_refsource_DEBIAN
- x_refsource_MISC
- VU#390745 third-party-advisoryx_refsource_CERT-VN
- 20200131 LPE and RCE in OpenSMTPD (CVE-2020-7247) mailing-listx_refsource_FULLDISC
- x_refsource_MISC
- x_refsource_MISC
- USN-4268-1 vendor-advisoryx_refsource_UBUNTU
- FEDORA-2020-b92d7083ca vendor-advisoryx_refsource_FEDORA
- x_refsource_MISC
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-7247 advisory