Bug 1934261 (CVE-2021-20269)

Summary: CVE-2021-20269 kexec-tools: incorrect permissions on kdump dmesg file
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: bdettelb, bhe, bhu, kdump-bugs, kernel-mgr, qzhao, ruyang, tomckay, williams, wmealing
Target Milestone: ---Keywords: Reopened, Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the permissions of a log file created by kexec-tools. This flaw allows a local unprivileged user to read this file and leak kernel internal information from a previous panic. The highest threat from this vulnerability is to confidentiality.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 19:22:39 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: 1937605, 1937611, 1937612, 1937613, 1937614, 1938165    
Bug Blocks: 1934262, 1972610    

Description Guilherme de Almeida Suckevicz 2021-03-02 19:17:21 UTC
When there is a crash on the system, kdump generates the dmesg file with incorrect permissions.

Comment 3 Wade Mealing 2021-03-11 06:26:49 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1937605]

Comment 5 Wade Mealing 2021-03-11 07:00:30 UTC
Created kexec-tools tracking bugs for this issue:

Affects: fedora-all [bug 1937614]

Comment 9 RaTasha Tillery-Smith 2021-03-11 13:06:06 UTC
Mitigation:

The kexec service can be disabled until the kexec-tools package are updated on the system. No reboot is required for these changes to take effect.

Comment 13 errata-xmlrpc 2021-11-09 18:38:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:4404 https://access.redhat.com/errata/RHSA-2021:4404

Comment 14 Product Security DevOps Team 2021-11-09 19:22:36 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-20269