# CVE Search — NVD Vulnerabilities by Keyword, Severity, Date (`ponderable_hydrometer/cve-search`) Actor

CVE search on the NIST NVD vulnerability database via the official NVD API: CVE ID, description, CVSS score and severity, CWE, affected products (CPE), references, CISA known-exploited flag. Search by keyword (e.g. a product name), severity and publish date, or look up CVE IDs.

- **URL**: https://apify.com/ponderable_hydrometer/cve-search.md
- **Developed by:** [Ponderable Hydrometer](https://apify.com/ponderable_hydrometer) (community)
- **Categories:** Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## CVE Search — NVD Vulnerabilities by Keyword, Severity, Date

**Vulnerabilities for the products you run, scored and dated.** Search the official NIST National Vulnerability Database (NVD) by keyword, severity and publish date, or look up a list of CVE IDs, and get CVSS scores, weaknesses (CWE), affected products and the CISA known-exploited flag in one table.

### What you can do with it

- **Check a product for known vulnerabilities**: search a product or library name (for example `openssl`) and sort the table by `cvssScore`.
- **Review what is new**: `publishedWithinDays` returns only recent CVEs; schedule it for a weekly vulnerability digest.
- **Triage by severity**: ask for CRITICAL or HIGH only.
- **Look up specific CVE IDs** from a scanner report and get scores, vectors and references for each.
- **Flag urgent items**: `knownExploited` and `cisaActionDue` come from CISA's Known Exploited Vulnerabilities data included in the NVD record.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `keyword` | string | `openssl` | Words in the description (use a product or library name). |
| `cveIds` | array | — | Specific CVE IDs (overrides the search). |
| `severity` | string | `any` | LOW, MEDIUM, HIGH, CRITICAL (CVSS v3). |
| `publishedWithinDays` | integer | `0` | Recent window, max 120. |
| `maxResults` | integer | `500` | Cap. |

Example: `{"keyword": "openssl", "severity": "CRITICAL", "publishedWithinDays": 90}`

### What you get

One row per CVE: `cveId`, `published`, `lastModified`, `status`, `description`, `cvssScore`, `severity`, `cvssVector`, `cwe`, `vendorsProducts`, `cpes`, `knownExploited`, `cisaActionDue`, `references`, `url`.

### Output sample

```json
{
  "cveId": "CVE-2024-3094",
  "published": "2024-03-29T17:15:21.150",
  "lastModified": "2026-02-10T12:00:00.000",
  "status": "Modified",
  "description": "Malicious code was discovered in the upstream tarballs of xz…",
  "cvssScore": 10,
  "severity": "CRITICAL",
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H",
  "cwe": [
    "CWE-506"
  ],
  "vendorsProducts": [
    "tukaani:xz"
  ],
  "cpes": [
    "cpe:2.3:a:tukaani:xz:5.6.0:*:*:*:*:*:*:*"
  ],
  "knownExploited": false,
  "cisaActionDue": null,
  "references": [
    "https://www.openwall.com/lists/oss-security/2024/03/29/4"
  ],
  "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-3094"
}
```

### Use it from the API or an AI agent

Start a run and read the CVEs back in one HTTP call:

```bash
curl -X POST "https://api.apify.com/v2/acts/ponderable_hydrometer~cve-search/run-sync-get-dataset-items?token=<YOUR_API_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "openssl", "severity": "CRITICAL", "maxResults": 20}'
```

AI agents can call it through the Apify MCP server: `https://mcp.apify.com?tools=ponderable_hydrometer/cve-search`.

### Limits and good to know

- A CVE ID that is malformed, or that NVD does not know, is skipped with a warning in the log. If none of the IDs you give is valid, the run ends as FAILED instead of falling back to a keyword search.
- NVD returns the oldest match first, so without `publishedWithinDays` a broad keyword starts with CVEs from the 1990s. The console prefill uses a 90-day window; clear it (set 0) for all time.
- Requests are paced to NVD's public rate limit (about one every 6.5 seconds), so large pulls and long ID lists take a few minutes.
- New CVEs often have no score until NVD analysis is done; `severity` and `cvssScore` are then empty. `cvssScore` is the CVSS v3 score when there is one, otherwise v2.
- The `severity` filter uses CVSS v3, so CVEs that only have a v2 score are not returned when you filter.
- `keyword` matches words in the CVE description, not an exact product identifier; use `vendorsProducts` and `cpes` in the output to confirm the match.
- `cpes` and `vendorsProducts` list up to 50 entries and `references` up to 20 per CVE.
- This product uses the NVD API but is not endorsed or certified by the NVD.

### FAQ

**Is this the official NVD data?** Yes. The Actor calls the NVD CVE API 2.0 and does not scrape web pages.

**Can I search by exact vendor and product?** Not as a separate filter. Use the product name as the keyword and check `vendorsProducts` in the results.

**Does it include exploit code?** No. It returns the NVD record, its references and the CISA known-exploited flag.

### Pricing

Pay per result — **$0.50 per 1,000 results** (one CVE = one result), plus Apify's standard per-run start event ($0.00005 per GB of memory, so a fraction of a cent per run). No subscription.

# Actor input Schema

## `keyword` (type: `string`):

Words in the CVE description, e.g. "openssl" or "fortinet ssl vpn".

## `cveIds` (type: `array`):

Look up specific CVEs instead, e.g. CVE-2024-3094.

## `severity` (type: `string`):

Only CVEs at this severity.

## `publishedWithinDays` (type: `integer`):

0 = any time. NVD allows at most 120 days per window.

## `maxResults` (type: `integer`):

Stop after this many CVEs.

## Actor input object example

```json
{
  "keyword": "openssl",
  "cveIds": [],
  "severity": "any",
  "publishedWithinDays": 90,
  "maxResults": 25
}
```

# Actor output Schema

## `results` (type: `string`):

All rows produced by this run, as JSON.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "publishedWithinDays": 90,
    "maxResults": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("ponderable_hydrometer/cve-search").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "publishedWithinDays": 90,
    "maxResults": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("ponderable_hydrometer/cve-search").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "publishedWithinDays": 90,
  "maxResults": 25
}' |
apify call ponderable_hydrometer/cve-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,ponderable_hydrometer/cve-search"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/eCt50agCrKlCVoLE8/builds/AZDB8ffbCjjCGhUYd/openapi.json
