CVE-2020-7247 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 4, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
This CVE is in CISA's Known Exploited Vulnerabilities Catalog
Reference CISA's BOD 22-01 and Known Exploited Vulnerabilities Catalog for further guidance and requirements.
| Vulnerability Name | Date Added | Due Date | Required Action |
|---|---|---|---|
| OpenSMTPD Remote Code Execution Vulnerability | Mar 25, 2022 | Apr 15, 2022 | Apply updates per vendor instructions. |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-755 | Improper Handling of Exceptional Conditions | [email protected] |
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
| CWE-755 | Improper Handling of Exceptional Conditions | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| openbsd opensmtpd | 6.6 |
CPE
Remediation
| |
| debian debian linux | 9.0 10.0 |
CPE
Remediation
| |
| fedoraproject fedora | 32 |
CPE
Remediation
| |
| canonical ubuntu linux | 18.04 19.10 |
CPE
Remediation
| |
Change History
26 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 7, 2025 | Modified Analysis | [email protected] |
| Oct 22, 2025 | CVE Modified | CISA-ADP |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Oct 21, 2025 | CVE Modified | CISA-ADP |
| Apr 3, 2025 | Modified Analysis | [email protected] |
| Feb 4, 2025 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| Jul 16, 2024 | Modified Analysis | [email protected] |
| May 14, 2024 | CVE Modified | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Apr 29, 2022 | Modified Analysis | [email protected] |
| Jul 21, 2021 | CWE Remap | [email protected] |
| Apr 6, 2021 | CVE Modified | [email protected] |
| Mar 17, 2020 | CVE Modified | [email protected] |
| Feb 11, 2020 | CVE Modified | [email protected] |
| Feb 11, 2020 | CVE Modified | [email protected] |
| Feb 7, 2020 | CVE Modified | [email protected] |
| Feb 1, 2020 | CVE Modified | [email protected] |
| Jan 31, 2020 | CVE Modified | [email protected] |
| Jan 31, 2020 | Initial Analysis | [email protected] |
| Jan 30, 2020 | CVE Modified | [email protected] |
| Jan 30, 2020 | CVE Modified | [email protected] |
| Jan 30, 2020 | CVE Modified | [email protected] |
| Jan 29, 2020 | CVE Modified | [email protected] |