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)
Metadata
Release files for cve-lookup 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cve_lookup-0.2.0.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cve_lookup-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.6 kB
Release files / cve_lookup-0.2.0.tar.gz
| Download URL | cve_lookup-0.2.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c6301a971a549c933ec23b055723c0b59321f656f0911c41de4c522b46d9e41
|
|
BLAKE2b-256 checksum How to use checksums |
6bab069e288a9f5371f273cb907b2326cd237ab00b7baa8364850073b962605c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.7
|
Release files / cve_lookup-0.2.0-py3-none-any.whl
| Download URL | cve_lookup-0.2.0-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
42f410077d9b36ae9e3728acec59d4c4bb9842ac099237e8510994f91dfe7b7a
|
|
BLAKE2b-256 checksum How to use checksums |
78eeb33c55b67083923ad561382b2a39c6c3e63b32c1cca83bf9cebb6941dda3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.7
|