SCA reports a CVE in a transitive dependency. What are your options?
IntermediateConceptApplication Security Testing (SAST, DAST, SCA, Secrets)
Answer
- Upgrade the direct parent that pulls the vulnerable version.
- Override the transitive version (
overridesin npm,<dependencyManagement>in Maven,constraintsin pip) after checking compatibility. - Replace the library.
- If the vulnerable code path is not reachable, document a VEX statement or suppression with expiry.
- 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.
More on Application Security Testing (SAST, DAST, SCA, Secrets)
What is SAST and what are its strengths and limits?BeginnerWhat is DAST and how does it differ from SAST?BeginnerWhat is IAST and RASP?IntermediateWhat is SCA and what does it scan?BeginnerHow does a SAST tool find a SQL injection using taint analysis?AdvancedHow do you write a simple Semgrep rule?Intermediate