What is a CVE and what do severity levels mean?
BeginnerConceptTrivy
Answer
Short answer
A CVE (Common Vulnerabilities and Exposures) is a public ID for a known security flaw in a specific software version — for example CVE-2021-44228 (Log4Shell in log4j 2.0–2.14.1). Each CVE gets a severity — CRITICAL, HIGH, MEDIUM, LOW — usually based on its CVSS score (0–10).
Severity scale (CVSS v3)
| Severity | CVSS | Typical meaning |
|---|---|---|
| CRITICAL | 9.0–10.0 | Remote code execution, no auth needed |
| HIGH | 7.0–8.9 | Serious impact, maybe some preconditions |
| MEDIUM | 4.0–6.9 | Limited impact or hard to exploit |
| LOW | 0.1–3.9 | Minor |
Beyond severity
- Fixed version available? — Trivy shows it; if yes, upgrading fixes it.
- Exploitability — is there a public exploit? Is it in CISA's KEV (Known Exploited Vulnerabilities) list? EPSS gives the probability of exploitation.
- Reachability — is the vulnerable code actually used by your app?
What to say in the interview
"A CVE is a public identifier for a known vulnerability in specific versions; severity comes from the CVSS score. For prioritising I also look at whether a fix exists, whether it's actively exploited per KEV or EPSS, and whether our app is actually exposed."
More on Trivy
What is Trivy and how do you scan an image with it?BeginnerWhat is Trivy and what can it scan?BeginnerHow do you scan a Docker image with Trivy?BeginnerHow do you fail a CI build when Trivy finds HIGH or CRITICAL vulnerabilities?BeginnerWhat does trivy fs do?BeginnerWhat does trivy config scan?Beginner