A composition scan shows a critical, remotely exploitable flaw in a transitive library of a production app. The direct dependency's maintainer has shipped no update, but the library's own project has released a fixed version. What is the BEST action?
Show the answer
Correct answerC. Override it with the fixed version after regression testing
AWhy not this: Transitive libraries run in the app and are just as exploitable as direct ones; risk is not lowered.
BWhy not this: A virtual patch is a temporary compensating control; the vulnerable library stays in place.
CWhy this is right: Pinning the fixed version removes the vulnerable code, and testing guards against compatibility breaks.
DWhy not this: Waiting leaves a critical remote flaw exposed for an unknown time when a fix is already available.
A fixed version exists, so the vulnerable transitive library should be overridden to it and regression-tested, since the flaw is critical and remotely exploitable. A WAF rule can bridge the gap but does not remove the vulnerable code. Waiting on the maintainer leaves the flaw exposed.