Vulnerability Database

Vulnerability Database

What Is a Vulnerability Database?

A vulnerability database is a curated catalog of known software flaws, each with an identifier, a description, affected version ranges and usually a severity score. Scanners do not discover vulnerabilities; they match what they find in an artifact against one of these catalogs. The database therefore decides what your scanner can possibly report.

Several exist and they do not agree. National and commercial catalogs, ecosystem-specific advisory databases and vendor security trackers each cover different ground with different enrichment and different latency.

That disagreement is the single most common reason two scanners produce different results for the same image, and it is a property of the data rather than a defect in either tool.

How a Vulnerability Database Decides What You See

Matching a finding requires three things to line up, and each is a place where coverage is lost.

  • An identifier must exist. A flaw with no published record cannot be matched by anything.
  • Affected versions must be recorded accurately, including which patch levels resolve it, which is frequently incomplete or stated loosely.
  • The component must be identifiable in the artifact, which depends on package metadata and on naming schemes agreeing across ecosystems.
  • The entry must have propagated to the catalog your scanner uses, which can lag publication by days.

Operating system packages are generally well served, because distributions publish structured security metadata. Language dependencies are served unevenly, and statically linked or vendored code is often invisible regardless of which catalog you use.

Enrichment quality varies too. A record with precise version ranges is actionable; one with a vague product string produces false positives that your team then has to disprove. The cost of that disproving work is rarely counted anywhere, and it falls on the people least able to refuse it.

What a Vulnerability Database Does Not Tell You

A match is the beginning of an assessment, not the end of one. Treating catalog output as a risk register is how teams end up with backlogs nobody can clear.

  • It does not say whether the code is reachable in your application, let alone exploitable.
  • It does not know about your compensating controls, your network position or your configuration.
  • It does not record vendor backports, so a patched component can keep matching a vulnerable version string.
  • It carries no guarantee of completeness, and an empty result can mean the catalog has no record rather than that the artifact is clean.

Pair catalog output with exploitability signals, reachability analysis and vendor assessments before treating any finding as work. The catalog tells you what is known about a component in general; only your own context tells you what it means here.

How to Work With Multiple Databases in Production Environments

The goal is to know which catalog your gate depends on and where it is weak.

  • Record which database each tool uses, and its update frequency, so disagreements are explainable rather than mysterious.
  • Run one operating-system-aware and one language-aware scanner, since their coverage gaps are different.
  • Diff the two outputs regularly and investigate the delta rather than accepting the lower count.
  • Prefer distribution security metadata where it exists, because it accounts for backported fixes that version matching misses.
  • Document which catalog your compliance gate cites, because an auditor will eventually ask why two reports differ.

The point is not to reconcile every difference, which is not achievable and would not be useful. It is to be able to explain one when a customer sends you their scan, which happens more often than most teams expect.

How Hardened Container Images Reduce Database Dependence

A smaller image depends less on catalog quality, because components that are not installed cannot be matched, correctly or otherwise.

Providers that build from source can also publish structured metadata describing what each artifact contains and which fixes it carries, which is what lets a scanner resolve a backported fix instead of flagging it.

That shifts the question from whose catalog is right to whose evidence is machine-readable. Echo's analysis of catalog fragility is in the fragility of the NVD.

FAQs

Why do two scanners report different vulnerabilities for one image?

Because they consult different catalogs, apply different matching logic and cover language ecosystems unevenly. One may read distribution security metadata that accounts for backported fixes while another compares raw version strings. The difference is usually a coverage or enrichment gap rather than a bug, and diffing the two outputs is the fastest way to locate it.

Which database is the most authoritative?

None universally. National catalogs have the broadest identifier coverage, distribution trackers are the most accurate for operating system packages, and ecosystem advisory databases are usually fastest and most precise for language dependencies. Mature programs consume several and treat the differences as information about coverage rather than as a dispute to settle.

Does a zero-finding scan mean an image is clean?

No. It means nothing in the artifact matched anything in that catalog at that moment. Components the scanner could not identify produce no findings, newly published records may not have propagated, and vulnerabilities with no published identifier cannot appear at all. Treat zero as a measurement with conditions attached, not as a property of the image.

How quickly do new records appear?

It varies by catalog and by ecosystem, typically from hours to several days, and enrichment with precise version ranges often lags the initial record further. That delay sits inside your exposure window and no vendor controls it, which is why detection monitoring and rebuild cadence matter more than the published remediation figure alone.

What should we do about false positives?

Establish why the match occurred before suppressing it. Common causes are a backported fix the catalog does not record, a vague affected-version range, or a component identified incorrectly. Record the reason in a machine-readable form such as a VEX document rather than suppressing it in one tool, so the assessment travels with the artifact to downstream consumers.

Ready to eliminate CVEs at the source?