Email me

Rust advisories / coreos-installer

Vulnerability HighRUSTSEC-2022-0103 · coreos-installer

RUSTSEC-2022-0103: Incorrect signature verification on gzip-compressed install images

Short answerA security vulnerability in the coreos-installer crate: Incorrect signature verification on gzip-compressed install images. High severity (CVSS 7.8). Fixed in 0.10.1: update to a fixed version.

Cratecoreos-installer
TypeVulnerability (privilege-escalation)
Affected versionsBefore 0.10.1.
Fixed in0.10.1
SeverityHigh, CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published2022-03-04
Last changed2025-12-21
Also known asCVE-2021-20319, GHSA-3r3g-g73x-g593

What to do

  1. See which version you have: cargo tree -i coreos-installer (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p coreos-installer. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example coreos-installer = "0.10.1") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

The coreos-installer is a program to fetch a disk image and stream it to a target disk.

During the installation process the installation image gpg signatures are verified.

The signature verification can be bypassed for gzip-compressed images due to a flaw in gzip coreos-installer wrapper.

When the decoder encounters the gzip trailer, it signals EOF to its output and does not continue reading from its input. As a result, earlier wrappers don't notice that they've reached EOF.

In particular, the GPG wrapper does not check the exit code of GPG.

Thus, if an attacker can substitute an attacker-controlled gzipped disk image, installation will complete successfully without a valid signature.

This vulnerability impacts only specific, User-Provisioned Infrastructure (UPI) installation methods where coreos-installer is used and where gzip-compressed images are configured as the installation source.

The Installer-Provisioned Infrastructure (IPI) bare-metal installs do use coreos-installer, but this installation method uses an install image embedded in the live OS image (ISO or PXE image), therefore is not affected by this vulnerability.

This vulnerability is specific to some upstream Fedora CoreOS installation flows.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for coreos-installer

Full security history of coreos-installer

Up next

Same cratecoreos-installer: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ