Developers keep asking why the same CVE shows up as Critical in one scanner and Medium in another. How do you explain and handle it?
BeginnerScenarioVulnerability Management and OWASP
Answer
Situation read → Scanners pull severity from different sources: NVD CVSS, the distro's own advisory, or GitHub Advisory Database.
What I'd do →
- Explain that distro vendors (Debian, Red Hat, Ubuntu) rescore based on how the package is built and used in their distro.
- Pick one source of truth per finding type: for OS packages use the vendor severity, for language packages use GHSA/NVD.
- Configure the aggregator (DefectDojo, Security Hub) to normalise severity and deduplicate by CVE + package + asset.
- Document the policy so audit questions have one answer.
Why → Consistent severity makes SLAs enforceable and avoids arguments in every PR.
Interview tip → Trivy shows SeveritySource in its JSON output; mentioning it is a nice detail.
More on Vulnerability Management and OWASP
A pentest report shows SQL injection in a search endpoint of a Java service. How do you handle it end to end?BeginnerA scanner reports 4,000 open CVEs across 300 images. The team can fix maybe 100 a month. How do you prioritise?IntermediateA user reports they can see another customer's invoice by changing the ID in the URL. What do you do?BeginnerA webhook feature lets users enter a URL, and a pentester used it to read the cloud metadata endpoint. How do you fix it?AdvancedA team still runs Log4j 2.14 in an internal service and says it is not internet-facing. How do you respond?IntermediateA security review finds passwords stored as unsalted MD5 hashes. How do you migrate without forcing every user to reset?Advanced