A basic Python program to check Cybersecurity & Infrastructure Security Agency (CISA) Known Exploited Vulnerabilities (KEV) Catalog
Project description
KEV Checker
This tool retrieves and processes the latest CISA's Known Exploited Vulnerabilities (KEV) data. The data is stored in a CSV file and is processed using the pandas
library.
Main Requirements
- Python 3
- pandas
- requests
- argparse
Installation
pip3 install --upgrade git+https://github.com/santosomar/kev_checker
Make an editable install if you want to make changes/enhancements to the code
git clone https://github.com/santosomar/kev_checker
cd kev_checker
pip3 install --upgrade -e .
Usage
kev-checker <search>
<search>
can be either:
- a CVE ID in the format "CVE-YYYY-NNNNN"
- a vendor or open source project
- a product name (keyword search)
- or a date range in the format "YYYY-MM-DD:YYYY-MM-DD".
All input is case insensitive.
Examples
CVE ID
This command will retrieve and process the KEV data, and output all records that have a "cveID" field that matches "CVE-2023-21674".
kev-checker CVE-2023-21674
Output:
cveID vendorProject product dateAdded
869 CVE-2023-21674 Microsoft Windows 2023-01-10
Vendor or Open Source Project
This command will retrieve and process the KEV data, and output all records that have a "vendorProject" field that matches "Microsoft".
kev-checker openssl
Output:
cveID vendorProject product dateAdded
658 cve-2014-0160 openssl openssl 2022-05-04
Product
This command will retrieve and process the KEV data, and output all records that have a "product" field that matches "Cisco IOS XR products".
kev-checker "IOS XR"
Output:
cveID vendorProject product
59 CVE-2020-3118 Cisco IOS XR
60 CVE-2020-3566 Cisco IOS XR
61 CVE-2020-3569 Cisco IOS XR
564 CVE-2010-3035 Cisco IOS XR
566 CVE-2009-2055 Cisco IOS XR
662 CVE-2022-20821 Cisco IOS XR
Time Range
This command will retrieve and process the KEV data, and output all records that have a "dateAdded" field within the range of January 1, 2023 to December 31, 2023.
kev-checker 2023-01-01:2023-12-31
Output:
cveID vendorProject product dateAdded
868 CVE-2022-41080 Microsoft Exchange Server 2023-01-10
869 CVE-2023-21674 Microsoft Windows 2023-01-10
870 CVE-2022-44877 CWP Control Web Panel 2023-01-17
871 CVE-2022-47966 Zoho ManageEngine 2023-01-23
872 CVE-2017-11357 Telerik User Interface (UI) for ASP.NET AJAX 2023-01-26
873 CVE-2022-21587 Oracle E-Business Suite 2023-02-02
874 CVE-2023-22952 SugarCRM Multiple Products 2023-02-02
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
Built Distribution
File details
Details for the file kev_checker-0.1.0.tar.gz
.
File metadata
- Download URL: kev_checker-0.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0afa5ee280f949a459438145ad25aae9fb9c5d396efddbab5658e3c4a8cf6cc4 |
|
MD5 | c9562eafbebef002585de9a1cd9dae5d |
|
BLAKE2b-256 | 382b49f5340afe456d8407d9f6ed0501bb55bbb8ed422c91a702471027bb3209 |
File details
Details for the file kev_checker-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: kev_checker-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | af27cf333190f5a4c8a5ccdfbcb65282c5797898f9fdef1f701a3583aefcc773 |
|
MD5 | 0eb62c9c14734fadb99658c16d59ac4a |
|
BLAKE2b-256 | d4a67b702e2ecb59cc053d3899495a7cf45d016d38b3951ce743f3085f41e449 |