{"id":"CVE-2021-3917","aliases":["CVE-2021-3917","GHSA-862g-9h5m-m3qv"],"related":[],"kind":"vulnerability","state":"published","title":"coreos-installer < 0.10.0 writes world-readable Ignition config to installed system","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\nOn systems installed with coreos-installer before 0.10.0, the user-provided Ignition config was written to `/boot/ignition/config.ign` with world-readable permissions, granting unprivileged users access to any secrets included in the config.\n\nDefault configurations of Fedora CoreOS and RHEL CoreOS do not include any unprivileged user accounts.  In addition, instances launched from a cloud image, and systems provisioned with the `ignition.config.url` kernel argument, do not use the `config.ign` file and are unaffected.\n\n### Patches\ncoreos-installer 0.10.0 and later [writes](https://github.com/coreos/coreos-installer/pull/571) the Ignition config with restricted permissions.\n\n### Workarounds\n\nOn Fedora CoreOS systems installed from version 34.20210711.3.0 (stable), 34.20210711.2.0 (testing), 34.20210711.1.1 (next) and later, the `/boot/ignition` directory and its contents are removed after provisioning is complete. All Fedora CoreOS systems that have updated to these versions or later have automatically removed the `/boot/ignition` directory and no action is required.\n\nOn other systems, `/boot/ignition/config.ign` can be removed manually, as it is not used after provisioning is complete:\n\n```\nsudo mount -o remount,rw /boot\nsudo rm -rf /boot/ignition\n```\n\n### References\nFor more information, see https://github.com/coreos/fedora-coreos-tracker/issues/889.\n\n### For more information\nIf you have any questions or comments about this advisory, [open an issue in coreos-installer](https://github.com/coreos/coreos-installer/issues/new/choose) or email the CoreOS [development mailing list](https://lists.fedoraproject.org/archives/list/coreos@lists.fedoraproject.org/).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha encontrado un fallo en coreos-installer, que escribe la configuración de Ignition en el sistema de destino con permisos de acceso de lectura general. Este fallo permite a un atacante local tener acceso de lectura a datos potencialmente confidenciales. La mayor amenaza de esta vulnerabilidad es la confidencialidad.","source":"nvd"}],"published":"2021-11-08T18:01:13.000Z","modified":"2026-06-17T04:05:59.160Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-276"],"affected":[{"ranges":[{"version":"Fixed in coreos-installer 0.10.0","status":"affected"}],"product":"coreos-installer","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.10.0"}],"ecosystem":"crates.io","package":"coreos-installer","purl":"pkg:cargo/coreos-installer","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.10.0"}],"vendor":"redhat","product":"coreos-installer","cpe":"cpe:2.3:a:redhat:coreos-installer:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/coreos/fedora-coreos-tracker/issues/889","tags":["issue-tracking","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/coreos/coreos-installer/commit/2a36405339c87b16ed6c76e91ad5b76638fbdb0c","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2018478","tags":["issue-tracking","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3917","tags":["patch","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/coreos/coreos-installer/security/advisories/GHSA-862g-9h5m-m3qv","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3917","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/coreos/coreos-installer","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/coreos/coreos-installer/releases/tag/v0.10.0","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3917","url":"https://www.cve.org/CVERecord?id=CVE-2021-3917","licence":"CVE Terms of Use","modified":"2024-08-03T17:09:09.604Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-862g-9h5m-m3qv","url":"https://github.com/advisories/GHSA-862g-9h5m-m3qv","licence":"CC-BY-4.0","modified":"2023-11-08T04:06:32.214Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3917","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3917","licence":"Public domain","modified":"2026-06-17T04:05:59.160Z"}],"updatedAt":"2026-11-25T22:58:07.775Z","epss":{"score":0.00235,"percentile":0.15533,"date":"2026-12-01T12:00:22.000Z"}}