Bug 1911289 (CVE-2020-35679)

Summary: CVE-2020-35679 opensmtpd: memory leak via messages to an instance that performs many regex lookups due to a missing regfree call
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:36 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: 1911290, 1911291    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2020-12-28 15:19:16 UTC
smtpd/table.c in OpenSMTPD before 6.8.0p1 lacks a certain regfree, which might allow attackers to trigger a "very significant" memory leak via messages to an instance that performs many regex lookups.

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

Upstream patch:
https://github.com/openbsd/src/commit/79a034b4aed29e965f45a13409268290c9910043

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

Affects: epel-all [bug 1911291]
Affects: fedora-all [bug 1911290]

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