Search for Common Vulnerabilities and Exposures (CVEs) by ID (e.g., CVE-2024-1086) or by product name (e.g., OpenSSL, Apache Tomcat)...
Search for Common Vulnerabilities and Exposures (CVEs) with detailed information including severity scores, affected software, and references.
npx tsx scripts/lookup.ts [cve-id | --product <name>] [options]
| Argument | Required | Description |
|---|---|---|
cve-id |
No* | Search by CVE ID (e.g., CVE-2024-1086) |
--product |
No* | Search for CVEs affecting a product |
*Either cve-id or --product must be provided
| Option | Description |
|---|---|
--no-cache |
Bypass cache and fetch fresh data |
--limit=<n> |
Limit results for product search (default: 10) |
CVE ID Search Output:
š CVE-2024-1086
Severity: HIGH (7.8)
Published: 2024-01-15 12:30
Modified: 2024-01-20 08:45
Summary:
A buffer overflow vulnerability in Linux kernel network stack...
CVSS v3.1: 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Affected Software:
1. Linux Kernel - Versions 5.15 to 6.6, 6.7-rc1 to 6.7
Versions: 5.15.0, 5.16.0, 6.0.0, 6.1.0, 6.2.0 ... and 15 more
Weaknesses: CWE-120 (Buffer Copy without Checking Size of Input)
References:
1. https://nvd.nist.gov/vuln/detail/CVE-2024-1086
2. https://www.cisa.gov/news-events/alerts/2024/01/15/...
3. https://github.com/advisories/GHSA-...
npx tsx scripts/lookup.ts CVE-2024-1086
npx tsx scripts/lookup.ts --product OpenSSL
npx tsx scripts/lookup.ts --product "Apache Struts" --limit 20
Run from the cve-search plugin directory: ~/.claude/plugins/cache/cve-search/
The skill uses OpenCVE API as the primary data source:
When searching by CVE ID (e.g., CVE-2024-1086):
When searching by product name (e.g., --product OpenSSL):
š CVE-2024-1086
Severity: HIGH (7.8)
Published: 2024-01-15 12:30
Modified: 2024-01-20 08:45
Summary:
A buffer overflow vulnerability in Linux kernel network stack...
CVSS v3.1: 7.8 (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Affected Software:
1. Linux Kernel - Versions 5.15 to 6.6, 6.7-rc1 to 6.7
Versions: 5.15.0, 5.16.0, 6.0.0, 6.1.0, 6.2.0 ... and 15 more
Weaknesses: CWE-120 (Buffer Copy without Checking Size of Input)
References:
1. https://nvd.nist.gov/vuln/detail/CVE-2024-1086
2. https://www.cisa.gov/news-events/alerts/2024/01/15/...
3. https://github.com/advisories/GHSA-...
Searching for CVEs affecting "OpenSSL"...
Found 12 CVE(s):
š CVE-2023-6129
Severity: HIGH (7.5)
Published: 2023-11-28 12:00
Summary: PKCS #7 Signature Verification Bypass...
[truncated]
š CVE-2023-5678
Severity: MEDIUM (5.3)
...
{
"results": [
{
"cveid": "CVE-2024-1086",
"summary": "Buffer overflow in kernel network stack",
"severity": "HIGH",
"cvss": 7.8,
"cvss_v3": {
"score": 7.8,
"vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
},
"created_at": "2024-01-15T12:30:00Z",
"updated_at": "2024-01-20T08:45:00Z",
"vendors": [
{
"name": "linux",
"product": "Linux Kernel",
"versions": ["5.15.0", "5.16.0", "6.0.0", ...]
}
],
"references": ["https://nvd.nist.gov/...", "..."],
"cwe": ["CWE-120"]
}
]
}
Check if deployed software has known vulnerabilities:
npx tsx scripts/lookup.ts --product "Apache Tomcat" --limit 50
Quickly look up a CVE mentioned in an alert:
npx tsx scripts/lookup.ts CVE-2024-1234
Verify your project dependencies for known issues:
npx tsx scripts/lookup.ts --product "jQuery" --limit 20
Research a specific vulnerability before patching:
npx tsx scripts/lookup.ts CVE-2024-1086 --no-cache
Results are cached for 24 hours by default. CVE information doesn't change frequently, so caching significantly improves performance.
Use --no-cache when:
--no-cache for fresh data)| Code | Meaning |
|---|---|
0 |
Success (CVE found or search completed) |
1 |
CVE not found or error occurred |
npx tsx scripts/lookup.ts CVE-2024-1086
# Returns full details of the Linux kernel buffer overflow
npx tsx scripts/lookup.ts --product OpenSSL
# Returns up to 10 OpenSSL CVEs
npx tsx scripts/lookup.ts --product "Django" --limit 30
# Returns up to 30 Django-related CVEs
npx tsx scripts/lookup.ts CVE-2024-1234 --no-cache
# Fetches latest data from OpenCVE API
--no-cache to check latest databaseCVE-YYYY-NNNNN