﻿# SCA \(software composition analysis\) with PVS\-Studio

PVS\-Studio not only searches for weaknesses in code, but also searches for vulnerable components used in an application\. Why does the analyzer do that?

**Danger in vulnerable components**

Modern applications often use third\-party components, some of which have security weaknesses\. If an application uses a vulnerable component, it can also become vulnerable to malicious attacks\. Therefore, companies risk their reputation and finances\.

The OWASP Top 10 2021 has a separate category for using vulnerable and outdated components: [A06:2021 – Vulnerable and Outdated Components](https://owasp.org/Top10/A06_2021-Vulnerable_and_Outdated_Components/)\.

![sca/image1.png](https://import.viva64.com/docx/blog/sca/image1.png)

Is it possible to automatically check that the application doesn't use components with known vulnerabilities? Yes\. To do this, specialized tools perform [software composition analysis \(SCA\)](https://pvs-studio.com/en/blog/terms/6698/)\. 

SCA tools inspect what components the application consists of\. If they find vulnerable components, they notify the developers\. After that the developers can update/replace the component, or protect the application in other ways\.

**PVS\-Studio as SCA solution**


> As of now, PVS\\\-Studio performs software composition analysis only in C\\\# projects\\\. Do you want to have the same feature for projects in C, C\\\+\\\+, or Java? \[Let us know\]\(https://pvs\-studio\.com/en/about\-feedback/\)\\\.



PVS\-Studio analyzes a project and determines which components it uses\. If the analyzer finds a vulnerable one — it issues a warning\. This warning contains the name and version of a dangerous component, description of a vulnerability, and CVE\-ID\.

![sca/image2.png](https://import.viva64.com/docx/blog/sca/image2.png)

The **V5625** diagnostic rule analyzes software components\. The [documentation](https://pvs-studio.com/en/docs/warnings/v5625/) describes how to work with the SCA warnings and fine\-tune them for a specific project\.