Bug 1911496 (CVE-2020-35766)

Summary: CVE-2020-35766 opendkim: allows local users to gain privileges via a symlink attack against the /tmp/testkeys file
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: anon.amish, matt, tkorbar
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-30 00: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: 1911498, 1911497    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2020-12-29 19:21:10 UTC
The test suite in libopendkim in OpenDKIM through 2.10.3 allows local users to gain privileges via a symlink attack against the /tmp/testkeys file (related to t-testdata.h, t-setup.c, and t-cleanup.c). NOTE: this is applicable to persons who choose to engage in the "A number of self-test programs are included here for unit-testing the library" situation.

https://github.com/trusteddomainproject/OpenDKIM/issues/113

Comment 1 Guilherme de Almeida Suckevicz 2020-12-29 19:21:27 UTC
Created opendkim tracking bugs for this issue:

Affects: epel-all [bug 1911498]
Affects: fedora-all [bug 1911497]

Comment 2 Product Security DevOps Team 2020-12-30 00: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.