| Crates.io | get-cpe |
| lib.rs | get-cpe |
| version | 0.6.4 |
| created_at | 2025-08-29 20:43:10.689773+00 |
| updated_at | 2026-01-25 20:51:34.404947+00 |
| description | Tools to explore the CPE NVD database |
| homepage | https://gitlab.com/cyberactivity/tyr |
| repository | https://gitlab.com/cyberactivity/tyr |
| max_upload_size | |
| id | 1816867 |
| size | 89,004 |
cargo install get-cpe
This command utility allows to run some queries on https://services.nvd.nist.gov/rest/json/cpes/2.0.
To explore all options run get-cpe help.
To get the CWE description:
$ get-cpe id --type soft --vendor microsoft --product office --version 2013 --update sp1
cpe:2.3:a:microsoft:office:2013:sp1:*:*:*:*:*:*
For searching the list of CPE that are corresponding to a keywords:
$ get-cpe search microsoft
...
CPE
id: cpe:2.3:o:microsoft:windows_10_21h2:10.0.19044.6218:*:*:*:*:x86:*:*
type: os
vendor: microsoft
product: windows_10_21h2
version: 10.0.19044.6218
edition: *
update: *
language: *
...
It's possible to set a NVD API KEY by setting your key with the NVD_API_KEY environment variable.
This tool can be used with get-cve tool to retrieve list of fixed CVE for an installed product. To get more information about get-cve search get-cve on the https://crates.io website for the same author.
Help will be appreciated. All tools will be developed with rust technology.
This project is under MIT license.
This project is under development and all contributions are welcome.
These tools are provided without any guaranties.