Skip to content

j040ad/cve-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CVE-CLI

Search CVEs from the terminal using the NVD API. Fast, colorized, minimal.

Installation

git clone https://github.com/j040ad/cve-cli.git
cd cve-cli
pip3 install -r requirements.txt
cp .env.example .env  # optional: add NVD API key for higher rate limits
sudo ln -sf "$(pwd)/cve.py" /usr/local/bin/cve  # optional: use globally

Usage

# Search by keyword
cve search nmap
cve search "apache log4j"

# Lookup specific CVE
cve get CVE-2021-44228

# Filter by severity
cve search openssl --severity critical
cve search nginx --severity high

# Limit results
cve search php --limit 5

# JSON output
cve get CVE-2021-44228 --json

Example Output

CVE-2021-44228  [CRITICAL  10.0]  2021-12-10
Apache Log4j2 JNDI features used in configuration, log messages, and
parameters do not protect against attacker controlled LDAP and other
JNDI related endpoints...
→ https://nvd.nist.gov/vuln/detail/CVE-2021-44228

By j040ad

About

Search CVEs from the terminal using NVD API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages