Common Vulnerabilities and Exposures explained

The Common Vulnerabilities and Exposures (CVE) system provides a reference method for publicly known information-security vulnerabilities and exposures.[1] The United States' National Cybersecurity FFRDC, operated by The MITRE Corporation, maintains the system, with funding from the US National Cyber Security Division of the US Department of Homeland Security.[2] The system was officially launched for the public in September 1999.[3]

The Security Content Automation Protocol uses CVE, and CVE IDs are listed on Mitre's system as well as in the US National Vulnerability Database.[4]

CVE identifiers

MITRE Corporation's documentation defines CVE Identifiers (also called "CVE names", "CVE numbers", "CVE-IDs", and "CVEs") as unique, common identifiers for publicly known information-security vulnerabilities in publicly released software packages. Historically, CVE identifiers had a status of "candidate" ("CAN-") and could then be promoted to entries ("CVE-"), but this practice was ended in 2005[5] [6] and all identifiers are now assigned as CVEs. The assignment of a CVE number is not a guarantee that it will become an official CVE entry (e.g., a CVE may be improperly assigned to an issue which is not a security vulnerability, or which duplicates an existing entry).

CVEs are assigned by a CVE Numbering Authority (CNA).[7] While some vendors acted as a CNA before, the name and designation was not created until February 1, 2005.[8] There are three primary types of CVE number assignments:

  1. The Mitre Corporation functions as Editor and Primary CNA
  2. Various CNAs assign CVE numbers for their own products (e.g., Microsoft, Oracle, HP, Red Hat)
  3. A third-party coordinator such as CERT Coordination Center may assign CVE numbers for products not covered by other CNAs

When investigating a vulnerability or potential vulnerability it helps to acquire a CVE number early on. CVE numbers may not appear in the MITRE or NVD CVE databases for some time (days, weeks, months or potentially years) due to issues that are embargoed (the CVE number has been assigned but the issue has not been made public), or in cases where the entry is not researched and written up by MITRE due to resource issues. The benefit of early CVE candidacy is that all future correspondence can refer to the CVE number. Information on getting CVE identifiers for issues with open source projects is available from Red Hat[9] and GitHub.[10]

CVEs are for software that has been publicly released; this can include betas and other pre-release versions if they are widely used. Commercial software is included in the "publicly released" category, but custom-built software that is not distributed would generally not be given a CVE. Additionally services (e.g., a Web-based email provider) are not assigned CVEs for vulnerabilities found in the service (e.g., an XSS vulnerability) unless the issue exists in an underlying software product that is publicly distributed.

CVE data fields

The CVE database contains several fields:

Description

This is a standardized text description of the issue(s). One common entry is:

This means that the entry number has been reserved by Mitre for an issue or a CNA has reserved the number. So when a CNA requests a block of CVE numbers in advance (e.g., Red Hat currently requests CVEs in blocks of 500), the CVE number will be marked as reserved even though the CVE itself may not be assigned by the CNA for some time. Until the CVE is assigned, Mitre is made aware of it (i.e., the embargo passes and the issue is made public), and Mitre has researched the issue and written a description of it, entries will show up as "** RESERVED **".

Record Creation Date

This is the date the entry was created. For CVEs assigned directly by Mitre, this is the date Mitre created the CVE entry. For CVEs assigned by CNAs (e.g., Microsoft, Oracle, HP, Red Hat) this is also the date that was created by Mitre, not by the CNA. When a CNA requests a block of CVE numbers in advance (e.g., Red Hat currently requests CVEs in blocks of 500) the entry date that CVE is assigned to the CNA.

Obsolete fields

The following fields were previously used in CVE records, but are no longer used.

Changes to syntax

In order to support CVE ID's beyond CVE-YEAR-9999 (aka the 'CVE10k problem'[11]) a change was made to the CVE syntax in 2014 and took effect on Jan 13, 2015.[12]

The new CVE-ID syntax is variable length and includes:

CVE prefix + Year + Arbitrary Digits

The variable-length arbitrary digits will begin at four fixed digits and expand with arbitrary digits only when needed in a calendar year; for example, CVE-YYYY-NNNN and if needed CVE-YYYY-NNNNN, CVE-YYYY-NNNNNN, and so on. This also means no changes will be needed to previously assigned CVE-IDs, which all include a minimum of four digits.

CVE SPLIT and MERGE

CVE attempts to assign one CVE per security issue; however, in many cases this would lead to an extremely large number of CVEs (e.g., where several dozen cross-site scripting vulnerabilities are found in a PHP application due to lack of use of htmlspecialchars or the insecure creation of files in /tmp).

To deal with this, guidelines (subject to change) cover the splitting and merging of issues into distinct CVE numbers. As a general guideline, one should first consider issues to be merged, then issues should be split by the type of vulnerability (e.g., buffer overflow vs. stack overflow), then by the software version affected (e.g., if one issue affects version 1.3.4 through 2.5.4 and the other affects 1.3.4 through 2.5.8 they would be SPLIT) and then by the reporter of the issue (e.g., if Alice reports one issue and Bob reports another issue, the issues would be SPLIT into separate CVE numbers).

Another example is Alice reports a /tmp file creation vulnerability in version 1.2.3 and earlier of ExampleSoft web browser; in addition to this issue, several other /tmp file creation issues are found. In some cases this may be considered as two reporters (and thus SPLIT into two separate CVEs, or if Alice works for ExampleSoft and an ExampleSoft internal team finds the rest it may be MERGE'ed into a single CVE). Conversely, issues can be merged, such as if Bob finds 145 XSS vulnerabilities in ExamplePlugin for ExampleFrameWork regardless of the versions affected and so on, they may be merged into a single CVE.[13]

Search CVE identifiers

The Mitre CVE database can be searched at the CVE List Search, and the NVD CVE database can be searched at Search CVE and CCE Vulnerability Database.

CVE usage

CVE identifiers are intended for use with respect to identifying vulnerabilities:

Common Vulnerabilities and Exposures (CVE) is a dictionary of common names (i.e., CVE Identifiers) for publicly known information security vulnerabilities. CVE's common identifiers make it easier to share data across separate network security databases and tools, and provide a baseline for evaluating the coverage of an organization's security tools. If a report from one of your security tools incorporates CVE Identifiers, you may then quickly and accurately access fix information in one or more separate CVE-compatible databases to remediate the problem.[14]

Users who have been assigned a CVE identifier for a vulnerability are encouraged to ensure that they place the identifier in any related security reports, web pages, emails, and so on.

CVE assignment issues

Per section 7 of the CNA Rules, a vendor which received a report about a security vulnerability has full discretion in regards to it.[15] This can lead to a conflict of interest as a vendor may attempt to leave flaws unpatched by denying a CVE assignment at first place – a decision which Mitre can't reverse. The "!CVE" (not CVE) project, announced in 2023, aims to collect vulnerabilities that are denied by vendors, so long as they are considered valid by a panel of experts from the project.[16]

CVE identifiers have been awarded for bogus issues and issues without security consequences.[17] In response, a number of open-source projects have themselves applied to become the CVE Numbering Authority (CNA) of their own project.[18]

See also

External links

Notes and References

  1. Wu . Xiaoxue . Zheng . Wei . Chen . Xiang . Wang . Fang . Mu . Dejun . 2020 . CVE-assisted large-scale security bug report dataset construction method . Journal of Systems and Software . en . 160 . 110456 . 10.1016/j.jss.2019.110456. 209056007.
  2. Web site: CVE – Common Vulnerabilities and Exposures . . 2007-07-03 . 2009-06-18 . CVE is sponsored by the National Cyber Security Division of the U.S. Department of Homeland Security..
  3. News: CVE - History . 25 March 2020 . cve.mitre.org.
  4. Web site: CVE - Common Vulnerabilities and Exposures (CVE) . cve.mitre.org . 8 April 2013 . https://web.archive.org/web/20130407115613/https://cve.mitre.org/ . 7 April 2013 . live.
  5. Web site: CVE - Frequently Asked Questions. 2021-09-01. cve.mitre.org.
  6. Web site: Kouns. Jake. August 13, 2009. Reviewing(4) CVE. live. September 1, 2021. OSVDB: Everything is Vulnerable. https://web.archive.org/web/20210901151014/https://vulndb.wordpress.com/2009/08/16/reviewing4-cve/ . 2021-09-01.
  7. Web site: 2015-02-01. CVE - CVE Numbering Authorities. 2024-03-05. Mitre Corporation.
  8. Web site: CVE - CVE Blog "Our CVE Story: Ancient History of the CVE Program – Did the Microsoft Security Response Center have Precognition?" (guest author). 2021-09-17. cve.mitre.org.
  9. Web site: CVE OpenSource Request HOWTO . . 2016-11-14 . 2019-05-29 . There are several ways to make a request depending on what your requirements are:.
  10. Web site: About GitHub Security Advisories . . 2021-12-23 . GitHub Security Advisories builds upon the foundation of the Common Vulnerabilities and Exposures (CVE) list.
  11. Web site: Christey . Steven M. . CVE - The CVE-10K Problem . cve.mitre.org . . November 25, 2023 . January 12, 2007.
  12. Web site: CVE - CVE ID Syntax Change. cve.mitre.org . September 13, 2016 .
  13. Web site: CVE Abstraction Content Decisions: Rationale and Application (Archived). The Mitre Corporation. 15 June 2005. 6 January 2024.
  14. Web site: CVE - About CVE. cve.mitre.org. 2015-07-28.
  15. Web site: CVE Numbering Authority Rules - Assignment Rules. The MITRE Corporation. 13–15. 1 February 2020. 6 December 2023.
  16. Web site: Edge. Jake . Supplementing CVEs with !CVEs . December 5, 2023 . lwn.net.
  17. Web site: The bogus CVE problem . Edge. Jake . lwn.net. September 13, 2023.
  18. Web site: A turning point for CVE numbers . LWN.net . Feb 14, 2024.