You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

 

Components Inventory

If you are a developer, you most probably will access to build systems where external components are “identified”.

But, are those 3rd party components part of a “controlled” inventory? Most probably, don’t.

Kiuwan Insight analyzes your application software, discovering all external dependencies, and builds a Components Inventory that lets you track of any external piece of code that could be part of your application.

 

Supported languages and resources

Kiuwan Insights uses the following resources to extract information on 3rd party dependencies.

 

Supported languages

Supported repositories

Supported build systems

Java

  • Maven
  • Gradle
  •  Ant
  • Maven
  • Gradle

Javascript

  • Npm
  • Bower
  • Npm
  • Bower
  • Yarn

.Net

  • Nuget
  • Nuget

Python

  • PyPI
  • GitHub
  • PyPI
  • Requirements (txt file with declared deps)

Swift

  • Cocoapods
  • GitHub
  • Podspec
  • Package

Php

  • Packagist
  • Composer

 

From these sources, Kiuwan Insight builds the Components Inventory of your application.

Components Inventory is accessible trough Insights >> Components tab.

 

Insights >> Components

Insight >> Components tab displays Components Inventory:

  1. Overall Information on Components – aggregated information on number and type of components
  2. List of Components – detailed listing of components
  3. Component detail – detailed information on selected component

 

 

Overall Information on Components

 

 

  • Number of components by language
  • Number of components by Security Risk level (High, Medium, Low and None)
  • Alerts :
    • Components with High Security Risk
    • Components being used with different versions that might be cause conflicts
    • Etc.

 

List of Components

Kiuwan Insights provides a full listing of all those components being used by your application.

For every 3rd party component, you will have access to detailed component information such as:

  • Component name and description
  • Used version(s)
  • Its filename (i.e. physical container) (.jar, .dll, .js, etc)
  • Programming language
  • Obsolescence risk (see XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX)
  • License risk (see XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX)
  • Security risk (see XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX)

 

 

Security risk

Security Risk

A component’s Security Risk is based on CVSS v2 Base Scores (Severities) of its vulnerabilities:

  • If the selected component has more than one vulnerability, Kiuwan will label the component with the highest severity value of all the vulnerabilities of the component.
  • If the selected component has only one vulnerability, the Severity of that vulnerability will be the Security Risk of the component.


Please visit XXXXXXXXXXXXXXXXX for further information on CVSS v2 Base Scores (Severities) of vulnerabilities.

 

Obsolescence risk

Obsolescence Risk

A component’s Obsolescence Risk is a measure of the risk level relative to:

  • the antiquity of your version respect to the latest version, and
  • how active is the component

Both values are combined in the Obsolescence Risk to provide a value of the risk associated to using outdated or “dead” components.


 Please visit XXXXXXXXXXXXXXXXX for further information on Obsolescence.

 

License risk

License Risk

A component’s License Risk is a measure of the risk level relative to legal implications of used components’ licenses.

 

Please visit XXXXXXXXXXXXXXXXX for further information on Licenses.

 

Component details

By clicking on a component, you will have access to the following information:

  • Description of the component
  • License of the component
  • Found vulnerabilities of the selected component:
    • CVE identifier, and link to NIST National Vulnerability Database desc page
    • CWE type, and link to MITRE Common Weakness Enumeration desc page
    • Vulnerability description
    • Severity (more on this at XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX)

 

 

Duplicated components

With Kiuwan Insights you can identify different versions of the same component used by your application.

 

Below example shows that the analyzed application is incorporating two different version of ZKoss common library: 8.0.1 and 6.0.0

Most probably, this component duplication is not intended, and it’s something that would produce maintainability headaches when upgrading to a newer version of the library.

 

Insights >> Security

Information on components’ Security is accessible through Insights >> Security tab.

Insights >> Security displays security information on vulnerabilities found in components.

 

Security Risk

With Kiuwan Insights you can easily detect those components that have well-known security vulnerabilities.

For every external component, Kiuwan Insights searches for vulnerabilities reported to NIST‘s National Vulnerability Database (NVD) (https://nvd.nist.gov/)

If Kiuwan finds any reported vulnerability of your component, it will display the details of the vulnerability and score the component in a Security Risk indicator.

 

 

A component’s Security Risk is based on CVSS v2 Base Scores (Severities) of its vulnerabilities:

  • If the selected component has more than one vulnerability, Kiuwan will label the component with the highest severity value of all the vulnerabilities of the component.
  • If the selected component has only one vulnerability, the Severity of that vulnerability will be the Security Risk of the component.

For example, let’s suppose your app is using Struts TagLib 1.3.8. Kiuwan will display next information:

Struts TagLib 1.3.8 has 4 known vulnerabilities, three are considered as Medium and one as High. Therefore, Kiuwan will mark Struts TagLib 1.3.8 as High.

Security Risk indicator of a component is displayed as a label based on its numeric value (from 0 to 10):

 

 

Security Risk Indicator

Value

Label

0

 

( 0 , 4  ]

 

( 4 , 7  ]

 

( 7, 10 ]

 


Common Vulnerability Scoring System (CVSS) v2

 

For every vulnerability, CVSS v2 provides an overall Base Score that “represents the intrinsic and fundamental characteristics of a vulnerability that are constant over time and user environments” (https://www.first.org/cvss/v2/guide)

 


Base Score is based on two main characteristics (modeled as Subscores) of any vulnerability (with associated metrics):

  • Exploitability Subscore : degree of difficulty to access and exploit the vulnerability
  • Impact Subscore : if exploited, how important would be the consequences

 

 

Base Score, as well as Exploitability and Impact subscores, are displayed as a numeric range from 0 to 10, with associated color based on its importance ( “the higher, the worst” )

CVSS v2 Scores

Value

Label

[ 0 , 4  ]

 

( 4 , 7  ]

 

( 7, 10 ]

 

 

 

Kiuwan Insights provides a 2-axis figure that can help you to easily understand these two important characteristics of the vulnerability.

  • The more close to the left a vulnerability is, the easier will be to exploit it.
  • The more close to the top a vulnerability is, the more important will be its consequences.

 

 

 

Base Score is calculated as a function of Exploitability and Impact Subscores.

Exploitability and Impact subscores are calculated from their associated metrics.

 

Kiuwan Insights displays the value for every subcore’s metric.

Below you can find the meaning for every metric but, as a rule of thumb, you can consider that the more left is the value of the metric, the more dangerous is the vulnerability.

Let’s understand the meaning of every metric.

 

Exploitability metrics
  • Attack Vector (AV) : This metric reflects the level of “proximity” the attacker needs to obtain to the system in order to exploit the vulnerability. The more remote an attacker can exploit the vulnerability, the more vulnerable the system is.
    • Values : Local -  Adjacent -  Network ( L / A / N )
  • Access Complexity (AC) : Once the target system is reached, this metric reflects the complexity required to exploit the vulnerability (relative to the existence of “barrier conditions”). The easier to exploit the vulnerability, the more vulnerable the system is.
    • Values : Low – Medium – High ( L / M / H )
  • Authentication (Au) : This metric reflects the number of time the attacked needs to authenticate before being able to exploit the vulnerability. The less times he needs, the more vulnerable the system is.
    • Values : Multiple – Single – None ( M / S / N )

 

Impact metrics
  • Confidentiality Impact (C) : This metric reflects the degree in which the vulnerability can read system data and produce confidential information disclosure to non-authorized users.
    • Values : None -  Partial -  Complete ( N / P / C )
  • Integrity Impact (I) : This metric reflects the degree in which the vulnerability allows the attacker to modify existing system data, compromising the trust and veracity of data.
    • Values : None -  Partial -  Complete ( N / P / C )
  • Availability Impact (A) : This metric reflects the degree in which the vulnerability affects the availability and use of the system.
    • Values : None -  Partial -  Complete ( N / P / C )

 

Values of above metrics are combined to calculate CVSS v2 Base Score and Exploitability / Impact Subscores as described at https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator

 

Common Vulnerability Scoring System (CVSS) v3

CVSS v2 has evolved to v3 (https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator) introducing changes to metrics (new metrics and different possible values).

However, not all vulnerabilities reported to NIST‘s National Vulnerability Database (NVD) have been scored according to v3 guidelines.  Indeed, only a subset of them has been re-scored.

Because of this, although Kiuwan Insights displays v3 data (when available), only v2 data will be used when computing components’ Security Risk indicator.

 

 

New vulnerabilities

NIST database is continuously being feed with new vulnerabilities.

What happens if, after the date you run the analysis, new vulnerabilities are found that affect some of your components?

Don’t care. Kiuwan Insights is continuously inspecting NIST database for new vulnerabilities. If there are new vulnerabilities that affect some of the components of your app, those components will display those new vulnerabilities (marked as New) without the need to run a new analysis.

 

Kiuwan will keep your components inventory up-to-date without the need to run new anlyses.

 

 

  • No labels