Tech, ExplainedNetworking, infrastructure and security
Concept

CVE (Common Vulnerabilities and Exposures)

Every known software flaw, numbered.

HOW IT WORKSSomeone finds a flawin a piece of softwareIt is reported to themaker or anothernumbering authorityThe flaw is givena number, suchas CVE-2021-44228The maker releases apatch; the entry ispublished with a scorefrom 0 to 10Scanners match everymachine's softwareagainst the listOne shared number lets the maker, the scanner and the defender all refer to exactly the same flaw.HOW IT WORKSSomeonefinds a flawin a pieceof softwareIt isreported tothe maker oranothernumberingauthorityThe flaw isgiven anumber, suchas CVE-2021-44228The makerreleases apatch; theentry ispublishedwith a scorefrom 0 to 10Scannersmatch everymachine'ssoftwareagainstthe listOne shared number lets the maker, the scanner and the defender all refer to exactly the same flaw.HOW IT WORKSSomeone finds a flawin a piece of software↓It is reported to the maker or anothernumbering authority↓The flaw is given a number,such as CVE-2021-44228↓The maker releases a patch; the entry ispublished with a score from 0 to 10↓Scanners match every machine's softwareagainst the listOne shared number lets the maker, the scanner and thedefender all refer to exactly the same flaw.
A newly found software flaw is reported, given a CVE number, published with a fix and a severity score, and then matched by scanners against every machine's software.
opens a page inside this one a page in the same scene a page in another scene a concept page a label only, with no page

CVE, short for Common Vulnerabilities and Exposures, is the public catalogue of known software flaws, in which every flaw gets its own number. A vulnerability is a flaw that lets an attacker make software do something it should not allow, such as run the attacker's own code. Each CVE entry gives the flaw a number such as CVE-2021-44228: the year it was numbered, then a serial number. The entry also names the affected product and versions, and links to the maker's fix. The list is run by MITRE, a non-profit organisation, and it has been kept since 1999.

Here is how a flaw gets onto the list. A researcher, or the software maker itself, finds the flaw. It is reported to a CVE Numbering Authority, an organisation allowed to hand out numbers; most large software makers are one. The number is reserved while the maker builds a fix, called a patch. When the patch is ready, the entry is published. Databases then add a severity score, called the CVSS score, from 0 to 10. A score of 9.0 or more is called critical.

Why does a number matter? Every party can now refer to exactly the same flaw: the maker's notice, a vulnerability scanner, an advisory from CERT-In, India's national cyber security agency, and the company's own ticket to fix it. Tens of thousands of CVEs are published every year, so no company can fix all of them at once. Vulnerability intelligence tracks which ones attackers are actually using.

Take, for example, a hospital's IT team that reads a CERT-In advisory about a critical CVE in its remote-access gateway. Patch management installs the fix on that gateway before anything else.

Consider a developer whose app uses dozens of open-source libraries. Software composition analysis checks each library's version against the CVE list and stops the build if one carries a critical flaw.

Say an online shop cannot patch its web server until the weekend. Its web application firewall adds a rule that blocks requests trying to use that one CVE.

How is a CVE different from a zero-day? A zero-day is a flaw that attackers use before the maker knows about it, so no patch exists yet, and often no CVE number either. A CVE is a flaw that is already known and named, and usually already has a fix. Many successful attacks use old CVEs that were never patched, not zero-days.

Appears in

Networking, infrastructure and security
Cloud platforms and developer tools
  • Artifact registry↗ DevOpsAn artifact registry scans each stored build for known CVEs and can block a build with a critical one from deployment.
Tech, Explained is a part of ingrid.fyi. Every page explains one piece of technology in plain words.