Bug 2018478 (CVE-2021-3917)

Summary: CVE-2021-3917 coreos-installer: restrict access permissions on /boot/ignition{,/config.ign}
Product: [Other] Security Response Reporter: Cedric Buissart <cbuissar>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: amurdaca, bgilbert, bgilbert, bmontgom, dornelas, dustymabe, eparis, jburrell, jligon, jokerman, jonathan, mrussell, nstielau, rhcos-triage, rust-sig, skunkerk, sponnaga, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: coreos-installer 0.10.0 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the coreos-installer, where it writes the Ignition config to the target system with world-readable access permissions. This flaw allows a local attacker to have read access to potentially sensitive data. The highest threat from this vulnerability is to confidentiality.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-30 09:52:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1989544, 2018889, 2021210, 2021285, 2021286, 2021287, 2021288    
Bug Blocks: 2018480    

Description Cedric Buissart 2021-10-29 12:51:12 UTC
coreos-installer did not have sufficiently restrictive permissions on directories /boot/ignition{,/config.ign}. A local attacker could use this flaw to have read access to potentially sensitive data.

Upstream fix :

Fixed in version 0.10.0

Comment 1 Cedric Buissart 2021-11-01 08:04:54 UTC
Created rust-coreos-installer tracking bugs for this issue:

Affects: fedora-all [bug 2018889]

Comment 4 juneau 2021-11-02 15:33:05 UTC
Setting OSD "notaffected" per https://bugzilla.redhat.com/show_bug.cgi?id=1989544#c3

Comment 7 errata-xmlrpc 2021-11-30 09:08:59 UTC
This issue has been addressed in the following products:

  Red Hat OpenShift Container Platform 4.8

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

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