Interview Prep/DevSecOps/Vulnerability Management and OWASP

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 →

  1. 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 ./...
    
  2. Check transitive callers: a framework we use may call the function for us.
  3. If not reachable, publish a VEX statement (not_affected, justification vulnerable_code_not_in_execute_path) and move it to the normal patch cycle.
  4. If it is in KEV or has a public exploit, patch anyway; the cost of being wrong is high.
  5. 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.

All DevSecOps questions Roadmap: Security in the pipeline

More on Vulnerability Management and OWASP