Vulnerability Discovery and Analysis

A SAST scan of a Java application's own code is clean. The client still fears an open-source library pulled in through another dependency has a published CVE. Which scan BEST checks this?

Show the answer

Correct answerA. SCA of the project's dependencies

AWhy this is right: Inventories direct and transitive dependencies and matches versions to known CVEs.

BWhy not this: Reviews infrastructure definitions for misconfiguration, not application dependencies.

CWhy not this: Still analyzes only first-party code, so stricter rules will not reveal a vulnerable library version.

DWhy not this: Finds exposed credentials and keys; it does not assess library vulnerabilities.

SCA inventories third-party components, including transitive ones, and matches their versions against known vulnerabilities. Rerunning SAST only reexamines first-party code and cannot identify a vulnerable library version.