{"answers":{"affected":"3 open source packages ship an affected version, including coreos-installer. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-20319 in the wild and no public exploit code.","fix":"Upgrade coreos-installer to 0.10.1 or later.","what":"CVE-2021-20319 is a high-severity vulnerability in coreos-installer, published on 4 Mar 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-20319 and fix it if it is affected.\n\nWhat it is: CVE-2021-20319 is a high-severity vulnerability in coreos-installer, published on 4 Mar 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-20319 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- coreos-installer (crates.io): affected all versions; fixed in 0.10.1\n- coreos-installer (crates.io): affected all versions; fixed in 0.10.1\n- coreos-installer (crates.io): affected from 0.0.0-0; fixed in 0.10.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-20319/ (Markdown: https://insights.sbomify.com/CVE-2021-20319/index.md)","id":"CVE-2021-20319","markdown":"https://insights.sbomify.com/CVE-2021-20319/index.md","name":"CVE-2021-20319","record":{"aliases":["GHSA-3r3g-g73x-g593","RHSA-2021:3926","RHSA-2021:3930","RHSA-2021:3934","RHSA-2021:4008","RUSTSEC-2022-0103"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"CoreOS installer","requires_auth":"none","summary":"Attackers can bypass signature verification in coreos-installer to install unsigned content, gaining full access to the node.","user_interaction":"required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"coreos-installer","vendor":"redhat"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"description":"An improper signature verification vulnerability was found in coreos-installer. A specially crafted gzip installation image can bypass the image signature verification and as a consequence can lead to the installation of unsigned content. An attacker able to modify the original installation image can write arbitrary data, and achieve full access to the node being installed.","ecosystems":["Red Hat:openshift:4.6::el8","Red Hat:openshift:4.7::el8","Red Hat:openshift:4.8::el8","Red Hat:openshift:4.9::el8","crates.io"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"coreos-installer improperly verifies GPG signature when decompressing gzipped artifact","id":"CVE-2021-20319","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"crates.io","product":null,"products":[],"type":"security_feature_bypass","year":"2021"},"n_packages":23,"n_references":3,"next":{"headline":"Information disclosure in kernel","id":"CVE-2021-20320"},"packages":[{"ecosystem":"crates.io","fixed":["0.10.1"],"introduced":["0"],"last_affected":[],"package":"coreos-installer","purl":null,"source":"GHSA-3r3g-g73x-g593"},{"ecosystem":"crates.io","fixed":["0.10.1"],"introduced":["0"],"last_affected":[],"package":"coreos-installer","purl":"pkg:cargo/coreos-installer","source":"GHSA-3r3g-g73x-g593"},{"ecosystem":"crates.io","fixed":["0.10.1"],"introduced":["0.0.0-0"],"last_affected":[],"package":"coreos-installer","purl":"pkg:cargo/coreos-installer","source":"RUSTSEC-2022-0103"},{"ecosystem":"Red Hat:openshift:4.6::el8","fixed":["0:0.6.0-4.rhaos4.6.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer","purl":"pkg:rpm/redhat/coreos-installer","source":"RHSA-2021:4008"},{"ecosystem":"Red Hat:openshift:4.6::el8","fixed":["0:0.6.0-4.rhaos4.6.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer-bootinfra","purl":"pkg:rpm/redhat/coreos-installer-bootinfra","source":"RHSA-2021:4008"},{"ecosystem":"Red Hat:openshift:4.6::el8","fixed":["0:0.6.0-4.rhaos4.6.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer-bootinfra-debuginfo","purl":"pkg:rpm/redhat/coreos-installer-bootinfra-debuginfo","source":"RHSA-2021:4008"},{"ecosystem":"Red Hat:openshift:4.6::el8","fixed":["0:0.6.0-4.rhaos4.6.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer-debuginfo","purl":"pkg:rpm/redhat/coreos-installer-debuginfo","source":"RHSA-2021:4008"},{"ecosystem":"Red Hat:openshift:4.6::el8","fixed":["0:0.6.0-4.rhaos4.6.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer-debugsource","purl":"pkg:rpm/redhat/coreos-installer-debugsource","source":"RHSA-2021:4008"},{"ecosystem":"Red Hat:openshift:4.7::el8","fixed":["0:0.8.0-4.rhaos4.7.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer","purl":"pkg:rpm/redhat/coreos-installer","source":"RHSA-2021:3930"},{"ecosystem":"Red Hat:openshift:4.7::el8","fixed":["0:0.8.0-4.rhaos4.7.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer-bootinfra","purl":"pkg:rpm/redhat/coreos-installer-bootinfra","source":"RHSA-2021:3930"},{"ecosystem":"Red Hat:openshift:4.7::el8","fixed":["0:0.8.0-4.rhaos4.7.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer-bootinfra-debuginfo","purl":"pkg:rpm/redhat/coreos-installer-bootinfra-debuginfo","source":"RHSA-2021:3930"},{"ecosystem":"Red Hat:openshift:4.7::el8","fixed":["0:0.8.0-4.rhaos4.7.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer-debuginfo","purl":"pkg:rpm/redhat/coreos-installer-debuginfo","source":"RHSA-2021:3930"},{"ecosystem":"Red Hat:openshift:4.7::el8","fixed":["0:0.8.0-4.rhaos4.7.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer-debugsource","purl":"pkg:rpm/redhat/coreos-installer-debugsource","source":"RHSA-2021:3930"},{"ecosystem":"Red Hat:openshift:4.8::el8","fixed":["0:0.9.0-7.rhaos4.8.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer","purl":"pkg:rpm/redhat/coreos-installer","source":"RHSA-2021:3926"},{"ecosystem":"Red Hat:openshift:4.8::el8","fixed":["0:0.9.0-7.rhaos4.8.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer-bootinfra","purl":"pkg:rpm/redhat/coreos-installer-bootinfra","source":"RHSA-2021:3926"},{"ecosystem":"Red Hat:openshift:4.8::el8","fixed":["0:0.9.0-7.rhaos4.8.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer-bootinfra-debuginfo","purl":"pkg:rpm/redhat/coreos-installer-bootinfra-debuginfo","source":"RHSA-2021:3926"},{"ecosystem":"Red Hat:openshift:4.8::el8","fixed":["0:0.9.0-7.rhaos4.8.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer-debuginfo","purl":"pkg:rpm/redhat/coreos-installer-debuginfo","source":"RHSA-2021:3926"},{"ecosystem":"Red Hat:openshift:4.8::el8","fixed":["0:0.9.0-7.rhaos4.8.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer-debugsource","purl":"pkg:rpm/redhat/coreos-installer-debugsource","source":"RHSA-2021:3926"},{"ecosystem":"Red Hat:openshift:4.9::el8","fixed":["0:0.10.1-1.rhaos4.9.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer","purl":"pkg:rpm/redhat/coreos-installer","source":"RHSA-2021:3934"},{"ecosystem":"Red Hat:openshift:4.9::el8","fixed":["0:0.10.1-1.rhaos4.9.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer-bootinfra","purl":"pkg:rpm/redhat/coreos-installer-bootinfra","source":"RHSA-2021:3934"},{"ecosystem":"Red Hat:openshift:4.9::el8","fixed":["0:0.10.1-1.rhaos4.9.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer-bootinfra-debuginfo","purl":"pkg:rpm/redhat/coreos-installer-bootinfra-debuginfo","source":"RHSA-2021:3934"},{"ecosystem":"Red Hat:openshift:4.9::el8","fixed":["0:0.10.1-1.rhaos4.9.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer-debuginfo","purl":"pkg:rpm/redhat/coreos-installer-debuginfo","source":"RHSA-2021:3934"},{"ecosystem":"Red Hat:openshift:4.9::el8","fixed":["0:0.10.1-1.rhaos4.9.el8"],"introduced":["0"],"last_affected":[],"package":"coreos-installer-debugsource","purl":"pkg:rpm/redhat/coreos-installer-debugsource","source":"RHSA-2021:3934"}],"prev":{"headline":"Deserialization in Artemis in EAP 7","id":"CVE-2021-20318"},"products":["coreos-installer"],"published":"2022-03-04","related":[{"cvss_score":5.5,"headline":"coreos-installer \u003c 0.10.0 writes world-readable Ignition config to installed system","id":"CVE-2021-3917","kev_date_added":null,"published":"2022-08-23"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Attackers can bypass signature verification in coreos-installer to install unsigned content, gaining full access to the node.","url":"https://insights.sbomify.com/CVE-2021-20319/"}