CVE-2020-7247
Summary
| CVE | CVE-2020-7247 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2020-01-29 16:15:00 UTC |
| Updated | 2023-11-07 03:25:00 UTC |
| 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. |
Risk And Classification
EPSS: 0.940760000 probability, percentile 0.999030000 (date 2026-04-01)
CISA KEV: Listed on 2022-03-25; due 2022-04-15; ransomware use Unknown
Problem Types: CWE-78 | CWE-755
CISA Known Exploited Vulnerability
| Vendor | OpenBSD |
|---|---|
| Product | OpenSMTPD |
| Name | OpenSMTPD Remote Code Execution Vulnerability |
| Required Action | Apply updates per vendor instructions. |
| Notes | https://nvd.nist.gov/vuln/detail/CVE-2020-7247 |
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Canonical | Ubuntu Linux | 18.04 | All | All | All |
| Operating System | Canonical | Ubuntu Linux | 19.10 | All | All | All |
| Operating System | Debian | Debian Linux | 10.0 | All | All | All |
| Operating System | Debian | Debian Linux | 9.0 | All | All | All |
| Operating System | Debian | Debian Linux | 10.0 | All | All | All |
| Operating System | Debian | Debian Linux | 9.0 | All | All | All |
| Operating System | Fedoraproject | Fedora | 32 | All | All | All |
| Application | Openbsd | Opensmtpd | 6.6 | All | All | All |
| Application | Openbsd | Opensmtpd | 6.6 | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Debian -- Security Information -- DSA-4611-1 opensmtpd | DEBIAN | www.debian.org | Third Party Advisory |
| Full Disclosure: LPE and RCE in OpenSMTPD (CVE-2020-7247) | FULLDISC | seclists.org | |
| OpenSMTPD 6.6.1 Local Privilege Escalation ≈ Packet Storm | MISC | packetstormsecurity.com | |
| [SECURITY] Fedora 32 Update: opensmtpd-6.6.4p1-2.fc32 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org | ||
| USN-4268-1: OpenSMTPD vulnerability | Ubuntu security notices | UBUNTU | usn.ubuntu.com | |
| [SECURITY] Fedora 32 Update: opensmtpd-6.6.4p1-2.fc32 - package-announce - Fedora Mailing-Lists | FEDORA | lists.fedoraproject.org | |
| OpenSMTPD 6.6.2 Remote Code Execution ≈ Packet Storm | MISC | packetstormsecurity.com | Third Party Advisory |
| OpenSMTPD MAIL FROM Remote Code Execution ≈ Packet Storm | MISC | packetstormsecurity.com | |
| OpenBSD OpenSMTPD Privilege Escalation / Code Execution ≈ Packet Storm | MISC | packetstormsecurity.com | Exploit, Third Party Advisory, VDB Entry |
| oss-security - LPE and RCE in OpenSMTPD (CVE-2020-7247) | MISC | www.openwall.com | Exploit, Mailing List, Third Party Advisory |
| OpenBSD OpenSMTPD 6.6 Remote Code Execution ≈ Packet Storm | MISC | packetstormsecurity.com | |
| VU#390745 - OpenSMTPD vulnerable to local privilege escalation and remote code execution | CERT-VN | www.kb.cert.org | |
| OpenBSD Security | CONFIRM | www.openbsd.org | Patch, Vendor Advisory |
| Bugtraq: [SECURITY] [DSA 4611-1] opensmtpd security update | BUGTRAQ | seclists.org | Third Party Advisory |
| Fix a security vulnerability discovered by Qualys which can lead to a · openbsd/src@9dcfda0 · GitHub | CONFIRM | github.com | Patch, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
| CISA Known Exploited Vulnerabilities catalog | CISA | www.cisa.gov | kev |
No vendor comments have been submitted for this CVE.