Interview Prep/DevSecOps/Pipeline Security Scanning

SCA flags a critical CVE in a transitive dependency and no patched version exists. What are your options?

IntermediateScenarioPipeline Security Scanning
Answer

Situation read → The question is whether the vulnerable code path is reachable, not just whether the package is present.

What I'd do →

  1. Check reachability: read the advisory for the affected function and grep your usage. Tools such as govulncheck do this for Go.
  2. Look for a newer major version or an alternative library; use overrides (npm overrides, Maven dependencyManagement, go.mod replace).
  3. Add a compensating control such as a WAF rule or input validation if reachable.
  4. If unreachable, document a VEX statement (not_affected, vulnerable_code_not_in_execute_path) and an expiry.
  5. Open an issue upstream and set a review date.

Why → You manage risk with evidence instead of blocking the release over a theoretical issue.

Interview tip → Mention VEX; most candidates do not.

All DevSecOps questions Roadmap: Security in the pipeline

More on Pipeline Security Scanning