# US 2022/0286475 A1 · Automatic generation of vulnerabity metrics using machine learning

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0286475 A1
- Document ID: US20220286475A1
- Status: Published application
- Kind: A1
- Application number: 17/195,420
- Filed: 2021-03-08
- Published: 2022-09-08
- Earliest claimed: 2021-03-08
- Assignees: Tenable, Inc.
- Applicants: Tenable, Inc.
- Inventors: Cathal MULLANEY
- Web page: https://patentgrep.com/patent/US20220286475A1

## CPC

- H04L 63/1433: {Vulnerability analysis}
- G06F 18/214: Generating training patterns; Bootstrap methods, e.g. bagging or boosting
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06N 20/00: Machine learning
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Techniques, methods and/or apparatuses are disclosed that enable generation of vulnerability vectors of newly identified vulnerabilities (e.g., CVEs). Based on the textual description of the vulnerability, vulnerability vectors are generated. The generated vulnerability vectors may represent a prediction of how a third party vulnerability scorer (e.g., US NVD) would score the identified vulnerability.

## Claims

### Claim 1

A method of training a vulnerability metrics generation model, the method comprising:
obtaining a training dataset from one or more training vulnerability data corresponding to one or more training vulnerabilities, each training vulnerability data comprising a training vulnerability description and one or more training vulnerability vectors of the corresponding training vulnerability, the training vulnerability description comprising a textual description, and each training vulnerability vector comprising one or more training vulnerability metrics and corresponding one or more metric values;
training the vulnerability metrics generation model based on the training dataset; and
providing the vulnerability metrics generation model to a vulnerability metrics generator, the vulnerability metrics generation model enabling the vulnerability metrics generator to generate one or more target vulnerability vectors of a target vulnerability based on a target vulnerability description of the target vulnerability, the target vulnerability description comprising a textual description, and each target vulnerability vector comprising one or more target vulnerability metrics and corresponding one or more metric values.

### Claim 2 (depends on 1)

The method of claim 1, wherein the target vulnerability is not any of the one or more training vulnerabilities.

### Claim 3 (depends on 1)

The method of claim 1,
wherein the one or more training vulnerabilities include at least one common vulnerability exposure (CVE), and
wherein for the at least one CVE, each vulnerability vector is a common vulnerability scoring system (CVSS) vector.

### Claim 4 (depends on 1)

The method of claim 1,
wherein for each training vulnerability vector of at least one training vulnerability data, the one or more training vulnerability metrics of that training vulnerability vector comprise any one or more of an attack vector (AV), an attack complexity (AC), a privileges required (PR), a user interaction (UI), a scope (S), a confidentiality (C), an integrity (I), and/or an availability (A), and/or
wherein the one or more target vulnerability metrics of the target vulnerability vector include any one or more of the AV, the AC, the PR, the UI, the S, the C, the I, and/or the A.

### Claim 5 (depends on 1)

The method of claim 1, wherein obtaining the training dataset and training the vulnerability metrics generation model comprise:
extracting one or more training features from the training vulnerability descriptions of the one or more training vulnerability data; and
maintaining the extracted training features in a matrix serving as the training dataset.

### Claim 6 (depends on 5)

The method of claim 5, wherein natural language processing (NLP) is used to extract the training features from the training vulnerability descriptions.

### Claim 7 (depends on 6)

The method of claim 6, wherein the extracted training features are tokenized, counted and normalized.

### Claim 8 (depends on 5)

The method of claim 5, wherein each row of the training dataset represents one of the training vulnerabilities, and each column represents one of the extracted training features.

### Claim 9 (depends on 8)

The method of claim 8, wherein in each row x column entry of the training dataset, a count of the extracted training feature represented by the column present in the training vulnerability data of the training vulnerability represented by the row is indicated.

### Claim 10 (depends on 5)

The method of claim 5, wherein the training dataset is a sparse matrix in which more than 50% of entries are set to zero.

### Claim 11 (depends on 5)

The method of claim 5, wherein training the vulnerability metrics generation model comprises:
training the vulnerability metrics generation model to associate the one or more training vulnerability metrics and the corresponding metric values to the extracted training features of the training dataset.

### Claim 12 (depends on 11)

The method of claim 11, wherein the vulnerability metrics generation model is trained to associate each training vulnerability metric to the extracted training features separately from other training vulnerability metrics.

### Claim 13 (depends on 11)

The method of claim 11, wherein the vulnerability metrics generation model is a supervised machine learning model.

### Claim 14 (depends on 11)

The method of claim 11, wherein multiple vulnerability scoring versions are represented in the one or more training vulnerabilities.

### Claim 15

A method to generate vulnerability metrics, the method comprising:
receiving a target vulnerability description of a target vulnerability, the target vulnerability description comprising a textual description; and
generating, by a vulnerability metrics generator, one or more target vulnerability vectors of the target vulnerability based on the target vulnerability description, each target vulnerability vector comprising one or more target vulnerability metrics and corresponding one or more metric values,
wherein the vulnerability metrics generator comprises a vulnerability metrics generation model trained on a training dataset to generate vulnerability vectors, the training dataset having been obtained from one or more training vulnerability data corresponding to one or more training vulnerabilities, each training vulnerability data comprising a training vulnerability description and one or more training vulnerability vectors of the corresponding training vulnerability, the training vulnerability description comprising a textual description, and each training vulnerability vector comprising one or more training vulnerability metrics and corresponding one or more metric values.

### Claim 16 (depends on 15)

The method of claim 15, wherein the target vulnerability is not any of the one or more training vulnerabilities.

### Claim 17 (depends on 15)

The method of claim 15,
wherein the one or more training vulnerabilities include at least one common vulnerability exposure (CVE), and
wherein for the at least one CVE, each vulnerability vector is a common vulnerability scoring system (CVSS) vector.

### Claim 18 (depends on 15)

The method of claim 15,
wherein for each training vulnerability vector of at least one training vulnerability data, the one or more training vulnerability metrics of that training vulnerability vector comprise any one or more of an attack vector (AV), an attack complexity (AC), a privileges required (PR), a user interaction (UI), a scope (S), a confidentiality (C), an integrity (I), and/or an availability (A), and/or
wherein the one or more target vulnerability metrics of the target vulnerability vector include any one or more of the AV, the AC, the PR, the UI, the S, the C, the I, and/or the A.

### Claim 19 (depends on 15)

The method of claim 15, wherein generating the one or more target vulnerability vectors of the target vulnerability comprises:
extracting one or more target features from the target vulnerability description; and
generating the one or more target vulnerability vectors based on the one or more extracted target features using the vulnerability metrics generation model.

### Claim 20 (depends on 19)

The method of claim 19, wherein natural language processing (NLP) is used to extract the target features from the target vulnerability description.

### Claim 21 (depends on 19)

The method of claim 19, wherein the extracted target features are tokenized, counted and normalized.

### Claim 22 (depends on 19)

The method of claim 19, wherein generating the one or more target vulnerability vectors comprises:
determining each target vulnerability metric of each target vulnerability vector and its corresponding metric value in isolation; and
combining the separately determined target vulnerability metrics and their corresponding metric values for each target vulnerability vector.

### Claim 23 (depends on 15)

The method of claim 15, further comprising:
generating one or more target vulnerability scores of the target vulnerability based on the one or more target vulnerability vectors.

### Claim 24 (depends on 15)

The method of claim 15, wherein when the one or more target vulnerability vectors include at least first and second target vulnerability vectors, the first target vulnerability vector is a vulnerability vector of a first vulnerability scoring version and the second target vulnerability vector is a vulnerability vector of a second vulnerability scoring version different from the first vulnerability scoring version.

### Claim 25 (depends on 15)

The method of claim 15, further comprising:
determining one or more confidence levels of the one or more target vulnerability vectors;
for each target vulnerability vector, if the confidence level of that target vulnerability vector is below a threshold confidence level, discarding that target vulnerability vector.

### Claim 26 (depends on 15)

The method of claim 15, wherein when one or more vendor-provided vulnerability vectors are received, none of the vendor-provided vulnerability vectors is used to generate the one or more target vulnerability vectors.

### Claim 27

A vulnerability metrics generation model trainer, comprising:
a memory; and
at least one processor coupled to the memory,
wherein the memory and the at least one processor are configured to:
obtain a training dataset from one or more training vulnerability data corresponding to one or more training vulnerabilities, each training vulnerability data comprising a training vulnerability description and one or more training vulnerability vectors of the corresponding training vulnerability, the training vulnerability description comprising a textual description, and each training vulnerability vector comprising one or more training vulnerability metrics and corresponding one or more metric values;
train a vulnerability metrics generation model based on the training dataset; and
provide the vulnerability metrics generation model to a vulnerability metrics generator, the vulnerability metrics generation model enabling the vulnerability metrics generator to generate one or more target vulnerability vectors of a target vulnerability based on a target vulnerability description of the target vulnerability, the target vulnerability description comprising a textual description, and each target vulnerability vector comprising one or more target vulnerability metrics and corresponding one or more metric values.

### Claim 28

A vulnerability metrics generator, comprising:
a memory; and
at least one processor coupled to the memory,
wherein the memory and the at least one processor are configured to:
receive a target vulnerability description of a target vulnerability, the target vulnerability description comprising a textual description; and
generate one or more target vulnerability vectors of the target vulnerability based on the target vulnerability description, each target vulnerability vector comprising one or more target vulnerability metrics and corresponding one or more metric values,
wherein the vulnerability metrics generator comprises a vulnerability metrics generation model trained on a training dataset to generate vulnerability vectors, the training dataset having been obtained from one or more training vulnerability data corresponding to one or more training vulnerabilities, each training vulnerability data comprising a training vulnerability description and one or more training vulnerability vectors of the corresponding training vulnerability, the training vulnerability description comprising a textual description, and each training vulnerability vector comprising one or more training vulnerability metrics and corresponding one or more metric values.
