Bug 1806877 (CVE-2020-8794)

Summary: CVE-2020-8794 opensmtpd: An out-of-bounds read could lead to remote code execution
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: denis, security-response-team, yozone
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-03 04:31:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1809060, 1809061    
Bug Blocks:    

Description Marian Rehak 2020-02-25 09:07:34 UTC
An out-of-bounds read introduced in commit 80c6a60c, "when peer outputs a multi-line response ..." could lead to remote code execution either
as root, after May 2018 (commit a8e22235, "switch smtpd to new grammar"); or as any non-root user, before May 2018.

Upstream advisory:

https://www.openwall.com/lists/oss-security/2020/02/24/5

Comment 1 Marian Rehak 2020-03-02 11:14:13 UTC
Created opensmtpd tracking bugs for this issue:

Affects: epel-all [bug 1809061]
Affects: fedora-all [bug 1809060]

Comment 2 Product Security DevOps Team 2020-03-03 04:31:58 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.