VDB Woes: Abstraction

This is one of a long series of blogs on vulnerability database (VDB) woes. Issues that make it challenging to properly run a mature, broad coverage VDB. Please start with the introductory post that goes into more detail on the series. Note that any one of these ‘woes’ is typically not a major hurdle. Many are mild annoyances, but the kind that quickly add up as far as the time required to deal with it. It’s important to remember that these are issues I originally brought up in 2018, long before the crazy increase in disclosures thanks to the so-called vulnpocalypse in 2026.

When dealing with thousands of vulnerabilities a week, and more recently thousands a day, that means one annoyance can require many hours of additional analysis that shouldn’t have been required in the first place. Consider this individual woe in the greater context along with all of the others and how that may impact a severely understaffed small team of analysts tasked with evaluating every disclosure they can find.

To help make it easier to find these blogs, they are all tagged as “VDB Woes” which you can conveniently find in one click.


On the surface, the idea of a vulnerability database (VDB) is deceptively simple. Researchers and vendors public vulnerabilities, a VDB aggregates them, done! It doesn’t take long before you get into a lot of minutiae and abstraction arguments. What is ‘abstraction’ in the context of a VDB? It is determining what constitutes a unique vulnerability and assigning it a unique ID, to develop a catalog. Again, this is simple on the surface when dealing with trivial vulnerabilities and disclosures.

Having a clear policy on abstraction is crucial for a VDB. First, if you want the most basic of statistics such as “how many vulnerabilities did you catalog in 2021”, you must count unique vulnerabilities. Second, you cannot deviate from your abstraction policy or any statistics you generate aren’t trustworthy. Third, any deviations can introduce confusion for security teams relying on that data as it may interfere with their processes and lead to missed patches.

One common example in the abstraction arena is when a vulnerability is patched, but the patch is determined to be incomplete. In such a case, it is still the same original vulnerability, but there are two solutions. The first solution is to e.g. upgrade to version 1.2.3 which will partially solve the problem. The second solution is to upgrade to version 1.2.4 which fully fixes the problem. Some VDBs will assign a single identifier for such a vulnerability where others will assign two identifiers based more on the patches. If a patch for one vulnerability fixes it, but also introduces a new vulnerability, then a new ID must be assigned and both abstraction styles would do so.

Depending on your security team and their workflow this might be helpful or detrimental. Processes must be designed around the vulnerability intelligence they receive. To illustrate how this plays out and how a team may have to adapt, let’s look at a few examples:

  • One CVE ID can map to as many as 66 unique vulnerabilities as tracked by another database (CVE-2006-2063)
  • A VDB may change the way they abstract over the years, two analysts may see a disclosure differently, or one analyst may not follow established rules. We can see this where CVE assigned three IDs to the same vulnerable product/file/function (CVE-2018-7712, CVE-2018-7713, CVE-2018-7714). 
  • A VDB that supports a specific purpose, such as IBM’s X-Force database, may assign two IDs for the same issue. One to cover the vulnerability (45537), one to cover the fact the patch for it is missing (45538).

For CVE, a cornerstone of vulnerability intelligence for many organizations, it gets more problematic. MITRE, who runs the CVE program, is the ‘root’ CVE Numbering Authority (CNA). They are a body, not the body, who can assign CVE IDs. To increase coverage, MITRE “mints” a CNA to assist in this. These are typically vendors or research organizations that produce a high quantity of disclosures. At present there are 275 CNAs across 36 countries. Some CNAs have been around a long time, others relatively new. A couple produce almost a thousand CVE assignments a year while others produce as few as zero. However, they are all bound by the same set of rules.

The Common Vulnerabilities and Exposures (CVE) Numbering Authority (CNA) Rules, last updated in 2016, explain how a CNA should operate as far as assignments go, including making the actual assignment or deferring to a different CNA who has authority to do so. Despite these rules, some CNAs follow them closer than others which leads to more instances of abstraction differences. Some flat out break the rules which leads to duplicate and/or confusing assignments.

Despite being more than adequately funded to make the assignments themselves, or at least manage the process, MITRE would rather push that responsibility on others. Additionally, MITRE began allowing CNAs and regular people requesting a CVE ID to write the CVE description as well, without providing any quality control. That matters because a poorly written CVE description is more likely to lead to a duplicate assignment if there aren’t enough distinguishing details to determine if two vulnerability discoveries are unique.

Overall, the simple task of assigning one ID per one distinct vulnerability can get murky fast. Given the volume of disclosures every year, this can compound problems that security teams face in trying to respond and triage. Over two decades after starting on what became VulnDB, we still routinely have discussions over proper abstraction.

Leave a Reply