Look up CVEs and get details about them.
Project description
CVE Lookup
Look up Common Vulnerabilities and Exposures (CVE for short) and get details about them.
How to use
As a program
$ cve_lookup CVE-2017-5754
CVE-2017-5754
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
(AV:L/AC:M/Au:N/C:C/I:N/A:N)
4.7 "Medium"
As a library
import cve_lookup
my_cve = cve_lookup.cve("CVE-2017-5754")
print(my_cve.id)
print(my_cve.cvss3v)
print(my_cve.cvss2v)
print(round(my_cve.cvss2.score_overall, 1), '\"{}\"'.format(my_cve.cvss2.score_name))
Install
From PyPi
$ pip3 install cve_lookup
From GitHub
$ git clone https://github.com/machinething/cve-lookup
$ cd cve-lookup
$ git checkout production # Skip if you want a development build
$ pip3 install -r requirements.txt
$ python3 setup.py install
Requirements/Dependencies
- Python3 and Pip3
- An internet connection (You probably have one)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cve_lookup-0.1.0.tar.gz
(4.4 kB
view hashes)
Built Distributions
cve_lookup-0.1.0-py3.9.egg
(15.4 kB
view hashes)
Close
Hashes for cve_lookup-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 678023eb9729062735fe59263c02710934f7fce0a3277bef70bc2829686b5ac5 |
|
MD5 | c331949260a5afe30e9ee56d5004c9c1 |
|
BLAKE2b-256 | fa5f35e8f6cb220b3a74cea1887b18eb176c416ff9dd4607fb58504f210ac361 |