Bug 1911293 (CVE-2020-35680)

Summary: CVE-2020-35680 opensmtpd: NULL pointer dereference via a crafted pattern of client activity
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: denis
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-12-28 18:27:38 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: 1911294, 1911295    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2020-12-28 15:22:45 UTC
smtpd/lka_filter.c in OpenSMTPD before 6.8.0p1, in certain configurations, allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted pattern of client activity, because the filter state machine does not properly maintain the I/O channel between the SMTP engine and the filters layer.

Reference:
https://www.mail-archive.com/misc@opensmtpd.org/msg05188.html

Upstream patch:
https://github.com/openbsd/src/commit/6c3220444ed06b5796dedfd53a0f4becd903c0d1

Comment 1 Guilherme de Almeida Suckevicz 2020-12-28 15:23:02 UTC
Created opensmtpd tracking bugs for this issue:

Affects: epel-all [bug 1911295]
Affects: fedora-all [bug 1911294]

Comment 2 Product Security DevOps Team 2020-12-28 18:27:38 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.