-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change /boot/ignition/config.ign
permissions to 0600 and delete it after provisioning
#889
Comments
Thanks for reporting this. coreos-installer change in coreos/coreos-installer#571. |
Given that we only leave the Ignition config in the |
Or we do this as part of https://github.com/coreos/ignition/blob/main/systemd/ignition-firstboot-complete.service. That's the source of truth for whether Ignition has completed, and it already has |
This was discussed in today's meeting:
|
Also
|
/boot/ignition/config.ign
permissions 0644 to 0600/boot/ignition/config.ign
permissions to 0600 and delete it after provisioning
Once we're done provisioning, nuke any baked Ignition config since it may contain secrets. We nuke the whole dir in the name of keeping `/boot` neat and tidy. Part of coreos/fedora-coreos-tracker#889.
Actions:
|
On subsequent boots, if /boot/ignition is present, remove it. This fixes up old nodes with a world-readable Ignition config in /boot. coreos/fedora-coreos-tracker#889
Once we're done provisioning, nuke any baked Ignition config since it may contain secrets. We nuke the whole dir in the name of keeping `/boot` neat and tidy. Part of coreos/fedora-coreos-tracker#889.
coreos-status text for #829: https://hackmd.io/0_DtZQLhSxCjzaszinudqg |
Maybe include something in the text about the issue being resolved if you are following the latest updates etc.. and maybe mention what version the issue was fixed in. |
Updated to address comments |
Looks mostly good to me. Maybe only add a little extra here highlighting "no action required": New installations starting from version 34.20210611.3.0 (stable) and 34.20210611.2.0 (testing) and later are unaffected. If you have automatic updates enabled all existing systems have been automatically fixed on bootup after the update to those versions and no action is required. Also, should we mention the |
Thanks, updated. I've also merged all |
See also coreos/fedora-coreos-config#1134 |
(Belatedly) added a description of this issue to the draft coreos-status post in https://hackmd.io/0_DtZQLhSxCjzaszinudqg. |
The fix for this went into next stream release |
The fix for this went into testing stream release |
The fix for this went into stable stream release |
Seems to work well. Tested with new instances and old instances updated. The For me, this issue is more than solved :) |
This is now CVE-2021-3917. |
coreos-status post sent! |
On subsequent boots, if /boot/ignition is present, remove it. This fixes up old nodes with a world-readable Ignition config in /boot. coreos/fedora-coreos-tracker#889
Once we're done provisioning, nuke any baked Ignition config since it may contain secrets. We nuke the whole dir in the name of keeping `/boot` neat and tidy. Part of coreos/fedora-coreos-tracker#889.
On subsequent boots, if /boot/ignition is present, remove it. This fixes up old nodes with a world-readable Ignition config in /boot. coreos/fedora-coreos-tracker#889
Once we're done provisioning, nuke any baked Ignition config since it may contain secrets. We nuke the whole dir in the name of keeping `/boot` neat and tidy. Part of coreos/fedora-coreos-tracker#889.
In the ignition file sometimes contains secrets and the best option maybe for this is denied access to unauthorized users.
The only way to access has to be through
sudo
or with the root account.The text was updated successfully, but these errors were encountered: