CVE, CVSS and SCAP, and checking systems against a standard

7 min 4 sections 5 practice questions 8 sources citedISC2 objective 6.2

Security tools from different makers have to describe the same flaws and the same settings, or their reports cannot be compared. A small family of public standards gives every known flaw one name and one score, and gives tools a common language for checklists. No background is assumed. A security professional uses these names daily, and uses the same standards to check that systems are set up as the rules require.

By the end of this unit you will be able to:

  • Explain what a CVE identifier is and what it does not tell you
  • Explain how CVSS scores severity, and name the severity bands
  • Tell apart CVE, CVSS, CPE, CCE, XCCDF and OVAL
  • Explain what a compliance check is, and tell it apart from a vulnerability scan and an audit
  • Explain why a compliant system is not necessarily a secure one

One flaw, three names

An illustrative example

A college runs two security tools. In December one of them reports a 'logging library flaw' on the admissions server. The other reports 'Log4Shell, severity 10'. An email from the software supplier warns of 'the Log4j problem'.

The technician raises three tickets, patches the server once and closes one ticket. The other two stay open for a month. The governors are told that the college has three serious flaws when it had one.

What would have let the technician see at once that all three were the same flaw?

CVE gives each known flaw one name

Common Vulnerabilities and Exposures (CVE) is a public list of known security flaws. Each entry has a unique identifier, a short description and at least one public reference. The identifier is written CVE, then a year, then a number. The flaw in the story is CVE-2021-44228, published in December 2021.

The CVE Program is sponsored by the United States Cybersecurity and Infrastructure Security Agency (CISA) and operated by the MITRE Corporation. Entries are added by organisations authorised as CVE Numbering Authorities (CNAs), many of them software suppliers naming flaws in their own products.

CVE is a dictionary of names. It does not say how serious a flaw is or how to fix it. The National Vulnerability Database (NVD), run by the United States standards body NIST, takes each CVE entry and adds analysis, including a severity score. A tool that prints the CVE identifier beside each finding lets two scanners, a supplier's warning and a news report be matched at once.

CVSS scores how severe a flaw is

The Common Vulnerability Scoring System (CVSS) gives a flaw a severity score from 0.0 to 10.0. It is maintained by FIRST, the Forum of Incident Response and Security Teams. The flaw in the story scored 10.0.

CVSS severity bands
RatingScore
None0.0
Low0.1 to 3.9
Medium4.0 to 6.9
High7.0 to 8.9
Critical9.0 to 10.0

The score is built from groups of measurements, called metrics.

Base
The qualities of the flaw itself, which stay the same over time and from one organisation to another. They include how it is reached, how hard it is to use, and the harm it does to . A published score is normally the base score.
Temporal
Things that change over time, such as whether code that uses the flaw is in circulation. Version 4.0 of calls this group Threat.
Environmental
Things particular to one organisation, such as how important the affected system is and what other protections surround it. Each organisation sets these for itself.

Version 4.0 adds a fourth group, Supplemental, which gives extra context and does not change the score.

CVSS states severity. It is not a measure of the to a particular organisation. A flaw scored 9.8 on an isolated test machine may matter less than one scored 6.5 on the server that takes payments.

SCAP: standards that let tools exchange findings

CVE and CVSS belong to a larger family. The Security Content Automation Protocol (SCAP) is a suite of specifications published by NIST. It standardises how information about software flaws and security settings is named and exchanged, so that tools from different makers can share checklists and results. Six of its parts are known by name.

Six SCAP names and what each one gives
NameStands forWhat it gives
CVECommon Vulnerabilities and ExposuresA name for each known software flaw
CVSSCommon Vulnerability Scoring SystemA severity score for a flaw
CPECommon Platform EnumerationA name for each product: hardware, operating system or application
CCECommon Configuration EnumerationA name for each security configuration setting
XCCDFExtensible Configuration Checklist Description FormatA language for writing security checklists and reporting their results
OVALOpen Vulnerability and Assessment LanguageA language for describing how to test the state of a machine

One flaw keeps one name from discovery to report

One flaw keeps one name from discovery to reportThe Log4j flaw is named CVE-2021-44228 by a CNA. The NVD adds a CVSS score of 10.0 and the affected products in CPE. An OVAL test, run by a scanner, finds them, and the report line carries the same CVE name and score.CVE nameCVE-2021-44228,named by a CNAfor the Log4j flawNVDrun by NIST;adds analysisto the entryCVSS 10.0Critical bandCPEnames theproductsOVAL testa scanner runs iton each machineReport lineCVE-2021-44228and CVSS 10.0beside the findingOne flaw keeps one name from discovery to reportThe Log4j flaw is named CVE-2021-44228 by a CNA. The NVD adds a CVSS score of 10.0 and the affected products in CPE. An OVAL test, run by a scanner, finds them, and the report line carries the same CVE name and score.CVE nameCVE-2021-44228,named by a CNAfor the Log4j flawNVDrun by NIST;adds analysisto the entryCVSS 10.0Critical bandCPEnames theproductsOVAL testa scanner runs iton each machineReport lineCVE-2021-44228and CVSS 10.0beside the finding
Read this figure as text

The Security Content Automation Protocol (SCAP), published by NIST, is a suite of standards for naming and exchanging security information, so that tools from different makers can share checklists and results. One flaw, Log4j, is followed through it.

  1. A CVE Numbering Authority, often the supplier of the product, adds the flaw to the CVE list as CVE-2021-44228. CVE is a dictionary of names: it does not say how serious a flaw is or how to fix it.
  2. The National Vulnerability Database, run by NIST, takes the CVE entry and adds analysis.
  3. It scores the flaw with CVSS. The base score is 10.0, in the Critical band of 9.0 and above.
  4. It names the affected products in CPE, so that a tool can match them to what is installed.
  5. A test written in OVAL describes how to check a machine. A scanner runs it on each machine and finds the affected versions.
  6. The report line shows the CVE identifier and the CVSS score beside the finding, so two scanners and a supplier's warning about the same flaw can be matched at once. Settings are named in CCE and checklists written in XCCDF, which compliance checks use in the same way.

CVE names the flaw. CPE names the product. CCE names the setting. CVSS scores. XCCDF writes the checklist. OVAL writes the test.

A compliance check compares a system with a required standard

A compliance check verifies that systems, settings or practices meet a stated requirement. The requirement may come from a law, a regulation, a contract, a published standard or the organisation's own . The answer for each rule is yes or no.

A compliance check on laptops

A firm's policy says every laptop must have its disk , lock its screen after ten minutes and install updates automatically.

A scanning tool signs in to each laptop, reads the three settings and compares them with the policy. It reports 212 laptops that meet all three rules and 9 that fail one. The nine are the finding.

Automated checks of this kind use the SCAP languages. The required settings are written as a checklist in XCCDF, each setting carries its CCE name, and the tests are written in OVAL. A published reference configuration is called a benchmark. The CIS Benchmarks, from the Center for Internet Security, are widely used. They are recommended settings for common products, agreed by consensus among security practitioners.

Not every is technical. Confirming that every member of staff completed this year's training, or that every change to a system carries an approval, is a compliance check on a .

Three activities that compare a system with something
ActivityComparesWithResult
Compliance checkSettings and practicesA required standard or policyPass or fail for each rule
Vulnerability scanInstalled software and servicesA database of known flawsA list of weaknesses
AuditEvidence of every kindAudit criteria, by an independent examinerA formal report, often with an opinion

Common misconception

“A system that passes every compliance check is secure.”

Compliance shows that the stated rules are met. A system can meet every rule and still hold a flaw the rules never mention. A system can also fail a rule for a good reason that has been approved and recorded as an exception.

A question, worked through

A water company must show its regulator that all 400 of its servers follow the company's hardening standard, which lists 60 required settings. The security manager has a budget for one activity this quarter and wants evidence for every server.

Which activity BEST provides that evidence?

  1. An authenticated scan of every server against a checklist of the settings
  2. A penetration test of the ten servers that can be reached from the internet
  3. A network vulnerability scan of every server for missing security updates
  4. An interview with each system administrator about the hardening standard
Decide on your answer, then open the reasoning
  1. The regulator wants proof that settings match a standard, on every server. That is a question of compliance, not of what an attacker could do.
  2. Rule out b: a penetration test shows what can be exploited on a few servers. It does not compare 60 settings on 400.
  3. Rule out d: interviews tell the manager what administrators believe. The regulator needs the settings themselves.
  4. Between a and c: both scan every server. A vulnerability scan looks for known flaws and missing updates. A compliance check reads each required setting and reports pass or fail against the standard, which is the evidence asked for.

Answer: A. An authenticated scan of every server against a checklist of the settings

Choosing between good answers

A question asks which identifier lets findings from different tools be matched
choose CVE. It names the flaw and says nothing about severity.
A question asks how severe a known flaw is on a scale of 0 to 10
choose CVSS. The base score is severity, not the risk to this organisation.
A question asks for proof that systems meet a required configuration
choose a compliance check against the standard, not a penetration test or a vulnerability scan.
An answer treats a compliant system as a secure one
prefer the answer that still assesses risk. Compliance covers only what the rules list.

Check your understanding

5 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.

These questions are drafts that no named reviewer has approved yet.

Question 1 of 5

Which SCAP component gives a standard name to each security configuration setting, such as how long a screen waits before it locks?

What to remember

  • CVE gives each known flaw one identifier. It is a dictionary of names, with no score and no fix.
  • CVSS scores severity from 0.0 to 10.0 using base, temporal and environmental metrics. Critical is 9.0 and above. Severity is not risk.
  • SCAP is NIST's suite of standards for exchanging security findings: CVE, CVSS, CPE for products, CCE for settings, XCCDF for checklists and OVAL for tests.
  • A compliance check compares systems or practices with a required standard and reports pass or fail for each rule.
  • A benchmark is a published reference configuration. Compliant does not mean secure.

Say it from memory

  1. What is a compliance check, and how does it differ from a vulnerability scan?

    A compliance check verifies that systems, settings or practices meet a stated requirement, such as a law, a contract, a standard or a policy. It reports pass or fail for each rule. A vulnerability scan compares installed software with a database of known flaws. Passing a compliance check shows the rules are met, not that the system is secure.

    Read this part again

  2. What does a CVE entry give, and what does the National Vulnerability Database add?

    Common Vulnerabilities and Exposures (CVE) gives each known flaw a unique identifier, a short description and at least one public reference. It is a dictionary of names and does not say how serious a flaw is. The NVD, run by NIST, adds analysis, including a severity score.

    Read this part again

  3. What are the CVSS severity bands, and what do its base, temporal and environmental metrics describe?

    None 0.0, Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9, Critical 9.0 to 10.0. Base: qualities of the flaw itself that stay the same. Temporal, called Threat in version 4.0: things that change over time. Environmental: things particular to one organisation. CVSS states severity, not the risk to a particular organisation.

    Read this part again

  4. What do CPE, CCE, XCCDF and OVAL each give within SCAP?

    CPE names each product: hardware, operating system or application. CCE names each security configuration setting. XCCDF is a language for writing security checklists and reporting their results. OVAL is a language for describing how to test the state of a machine.

    Read this part again

Sources