Common Vulnerabilities and Exposures

From HandWiki
Revision as of 19:48, 6 February 2024 by MainAI5 (talk | contribs) (update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Catalog of information security problems

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]

Background

A vulnerability is a computer-software system's weakness enabling unwarranted access. E.g. software processing credit-cards mustn't allow people to read the credit card numbers it processes, yet a nefarious party might use a vulnerability for reading credit card numbers. Considering a specific vulnerability in isolation is hard because there exist many pieces of software, oftentimes with many vulnerabilities and possibly of various types. CVE Identifiers assign each vulnerability a unique formal name, thus establishing a common-language.

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:

** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.

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 **".

https://developer.chrome.com/docs/extensions/reference/api/fileBrowserHandler#type-FileHandlerExecuteEventDetails

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.

  • Phase: The phase the CVE is in (e.g., CAN, CVE).
  • Votes: Previously board members would vote yea or nay on whether or not the CAN should be accepted and turned into a CVE.
  • Comments: Comments on the issue.
  • Proposed: When the issue was first proposed.

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.

See also

References

  1. Wu, Xiaoxue; Zheng, Wei; Chen, Xiang; Wang, Fang; Mu, Dejun (2020). "CVE-assisted large-scale security bug report dataset construction method" (in en). Journal of Systems and Software 160: 110456. doi:10.1016/j.jss.2019.110456. https://linkinghub.elsevier.com/retrieve/pii/S0164121219302304. 
  2. "CVE – Common Vulnerabilities and Exposures". Mitre Corporation. 2007-07-03. https://cve.mitre.org/. "CVE is sponsored by the National Cyber Security Division of the U.S. Department of Homeland Security." 
  3. "CVE - History". cve.mitre.org. https://cve.mitre.org/about/history.html. 
  4. cve.mitre.org. CVE International in scope and free for public use, CVE is a dictionary of publicly known information security vulnerabilities and exposures.
  5. "CVE - Frequently Asked Questions". https://cve.mitre.org/about/faqs.html#cve_list_retire_term_cve. 
  6. Kouns, Jake (August 13, 2009). "Reviewing(4) CVE". https://vulndb.wordpress.com/2009/08/16/reviewing4-cve/. 
  7. "CVE - CVE Numbering Authorities". Mitre Corporation. 2015-02-01. https://cve.mitre.org/cve/cna.html. 
  8. "CVE - CVE Blog "Our CVE Story: Ancient History of the CVE Program – Did the Microsoft Security Response Center have Precognition?" (guest author)". https://cve.mitre.org/blog/September222020_Our_CVE_Story_Ancient_History_of_the_CVE_Program_-_Did_the_Microsoft_Security_Response_Center_have_Precognition.html. 
  9. "CVE OpenSource Request HOWTO". Red Hat Inc.. 2016-11-14. https://github.com/RedHatProductSecurity/CVE-HOWTO. "There are several ways to make a request depending on what your requirements are:" 
  10. "About GitHub Security Advisories". GitHub. https://docs.github.com/en/code-security/security-advisories/about-github-security-advisories#cve-identification-numbers. "GitHub Security Advisories builds upon the foundation of the Common Vulnerabilities and Exposures (CVE) list" 
  11. Christey, Steven M. (January 12, 2007). "CVE - The CVE-10K Problem". The MITRE Corporation. https://cve.mitre.org/data/board/archives/2007-01/msg00000.html. 
  12. "CVE - CVE ID Syntax Change". September 13, 2016. https://cve.mitre.org/cve/identifiers/syntaxchange.html. 
  13. "CVE Abstraction Content Decisions: Rationale and Application (Archived)". The Mitre Corporation. 15 June 2005. https://cve.mitre.org/cve/editorial_policies/cd_abstraction.html. 
  14. "CVE - About CVE". https://cve.mitre.org/about/. 
  15. "CVE Numbering Authority Rules - Assignment Rules". The MITRE Corporation. 1 February 2020. pp. 13-15. https://www.cve.org/Resources/Roles/Cnas/CNA_Rules_v3.0.pdf. 

External links