Interview Prep/DevSecOps/Vulnerability Management and OWASP

A scanner reports 4,000 open CVEs across 300 images. The team can fix maybe 100 a month. How do you prioritise?

IntermediateScenarioVulnerability Management and OWASP
Answer

Situation read → CVSS alone will make everything look urgent. We need to rank by real risk.

What I'd do →

  1. Drop CVEs in images that are not running anywhere (join scan data with what is deployed).
  2. Put anything in the CISA KEV catalogue at the top, then sort by EPSS score.
  3. Weight by exposure: internet-facing and data-holding services first.
  4. Use reachability (Snyk, Endor Labs, govulncheck for Go) or VEX to mark packages that are present but never loaded.
  5. Group by fix: one base image bump often closes hundreds of CVEs at once.
    trivy image --severity CRITICAL,HIGH --ignore-unfixed --format json app:1.4 \
      | jq '[.Results[].Vulnerabilities[]?.PkgName] | group_by(.) | map({pkg: .[0], n: length}) | sort_by(-.n)'
    

Why → KEV plus EPSS plus exposure is a defensible ranking; base image rebuilds give the biggest win per hour.

Interview tip → Say "fix by package, not by CVE".

All DevSecOps questions Roadmap: Security in the pipeline

More on Vulnerability Management and OWASP