ZTGIT

CVE, from disclosure to patch: how a vulnerability becomes a fix

ZTGIT team

What a CVE is

CVE is Common Vulnerabilities and Exposures: a public, unique identifier for a known vulnerability, in the form CVE-YEAR-NUMBER. It exists so that everyone — vendors, researchers, operators — refers to the same flaw by the same name. A CVE usually comes with a severity score (CVSS, 0 to 10) and, increasingly, with information on whether the flaw is actually being exploited.

A flaw’s journey

  1. Discovery. Someone — a researcher, the vendor, an attacker — finds the flaw.
  2. Responsible disclosure. Ideally, the finder tells the vendor privately and gives time to fix before going public.
  3. CVE publication. The flaw gets an identifier and enters the public databases.
  4. Fix. The vendor publishes a corrected version.
  5. Application. Users apply the patch. This is the step where most real incidents happen — the flaw already has a fix, but nobody applied it.

The dangerous window is between step 3 and step 5: the flaw is public, therefore known to attackers, but not yet fixed in your environment.

“Critical” is not the same as “urgent”

A high score is alarming, but real urgency depends on three questions:

  • Is there a fix? A critical without an available patch cannot be rushed — there is nothing to apply. Stalling production for it often does not help.
  • Are you exposed? Is the flaw in a component you use, at the affected version, through a path an attacker can reach? A critical in a feature you do not enable is less urgent.
  • Is it being exploited? A flaw with active exploitation (listed as KEV, known exploited) rises in the queue, even with a lower score.

That is why ZTGIT separates, for each image, the criticals with a fix from those without: the CI gate blocks publication when there is a fixable critical, and not when the fix simply does not exist yet — which would stall redeploys for no gain.

How to prioritize when there are hundreds

A real estate has hundreds of open CVEs at any moment. Prioritizing needs three things:

  • Inventory: without the SBOM, you do not know where each library is. The inventory is the base.
  • Scanning: crossing the inventory with CVE databases (vulnerability scanning) to know what affects you.
  • Context: available fix + real exposure + active exploitation set the order.

Without this, you either fix everything (impossible) or fix what shouts loudest (rarely the most important).

In ZTGIT

The cycle is closed in parts: ZTGIT-SBOMscan and ZTGIT-VulnScan find what affects you in the image and on the host; ZTGIT-Patch applies fixes in a controlled way, by window and by ring; and ZTGIT-Updater tracks new component versions and opens the update automatically. The deadline follows the project rule: 48 hours for critical, 7 days for high — always counted from when the fix exists.

Catalogue status: ZTGIT-Updater is still in preparation; each component page shows its current state.

From the blog