A new CVE with CVSS 9.8 hits a library you use, but only in a function you never call. Do you still patch urgently?
AdvancedScenarioVulnerability Management and OWASP
Answer
Situation read → CVSS scores the vulnerability, not our exposure. Reachability matters, but we must prove it, not assume it.
What I'd do →
- Verify reachability with a tool that does call-graph analysis (govulncheck for Go, Snyk or Endor reachability for Java/JS) and a code search for the vulnerable function.
govulncheck ./... - Check transitive callers: a framework we use may call the function for us.
- If not reachable, publish a VEX statement (
not_affected, justificationvulnerable_code_not_in_execute_path) and move it to the normal patch cycle. - If it is in KEV or has a public exploit, patch anyway; the cost of being wrong is high.
- Schedule the bump in the next dependency update batch either way.
Why → Reachability-based triage cuts noise by a large factor, but the decision must be documented.
Interview tip → "Deprioritise with evidence, never ignore" is the right tone.
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