Interview Prep/DevSecOps/Application Security Testing (SAST, DAST, SCA, Secrets)

SCA reports a CVE in a transitive dependency. What are your options?

IntermediateConceptApplication Security Testing (SAST, DAST, SCA, Secrets)
Answer
  1. Upgrade the direct parent that pulls the vulnerable version.
  2. Override the transitive version (overrides in npm, <dependencyManagement> in Maven, constraints in pip) after checking compatibility.
  3. Replace the library.
  4. If the vulnerable code path is not reachable, document a VEX statement or suppression with expiry.
  5. Add a compensating control (WAF rule, config flag) while waiting for a fix.

Always record the decision so the next scan does not reopen it without context.

All DevSecOps questions Roadmap: Security in the pipeline

More on Application Security Testing (SAST, DAST, SCA, Secrets)