Vulnerability · Published Feb 25, 2020 · Assigned by mitre
CVE-2020-8794
Critical 9.8
In plain English
A critical-severity security flaw in the opensmtpd-extras package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 88.9% (higher than 99.8% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)88.9%top 0.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Metasploit
Official description
OpenSMTPD before 6.6.4 allows remote code execution because of an out-of-bounds read in mta_io in mta_session.c for multi-line replies. Although this vulnerability affects the client side of OpenSMTPD, it is possible to attack a server because the server code launches the client code during bounce handling.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | opensmtpd-extras | 6.6.4-r0 | ALPINE-CVE-2020-8794 |
| Debian:12 | opensmtpd | 6.6.4p1-1 | DEBIAN-CVE-2020-8794 |
| Debian:13 | opensmtpd | 6.6.4p1-1 | DEBIAN-CVE-2020-8794 |
| Debian:14 | opensmtpd | 6.6.4p1-1 | DEBIAN-CVE-2020-8794 |
Affected products (as reported)
References
- https://www.openbsd.org/security.html x_refsource_MISC
- https://www.openwall.com/lists/oss-security/2020/02/24/5 x_refsource_MISC
- [oss-security] 20200226 Re: LPE and RCE in OpenSMTPD's default install (CVE-2020-8794) mailing-list, x_refsource_MLIST
- DSA-4634 vendor-advisory, x_refsource_DEBIAN
- 20200227 LPE and RCE in OpenSMTPD's default install (CVE-2020-8794) mailing-list, x_refsource_FULLDISC
- [oss-security] 20200301 Re: LPE and RCE in OpenSMTPD's default install (CVE-2020-8794) mailing-list, x_refsource_MLIST
- [oss-security] 20200301 Re: LPE and RCE in OpenSMTPD's default install (CVE-2020-8794) mailing-list, x_refsource_MLIST
- http://packetstormsecurity.com/files/156633/OpenSMTPD-Out-Of-Bounds-Read-Local-Privilege-Escalation.html x_refsource_MISC
- FEDORA-2020-b92d7083ca vendor-advisory, x_refsource_FEDORA
- USN-4294-1 vendor-advisory, x_refsource_UBUNTU
- [oss-security] 20210504 21Nails: Multiple vulnerabilities in Exim mailing-list, x_refsource_MLIST