CVE Lookup API - NVD, CVSS, EPSS, CISA KEV avatar

CVE Lookup API - NVD, CVSS, EPSS, CISA KEV

Pricing

$2.00 / 1,000 cve lookups

Go to Apify Store
CVE Lookup API - NVD, CVSS, EPSS, CISA KEV

CVE Lookup API - NVD, CVSS, EPSS, CISA KEV

Half the work with CVE data is the joining: NVD, EPSS and CISA KEV answer in three shapes, and a missing source must not turn into a false not exploited. One row here carries CVSS, CWE, versions, EPSS and the KEV flag, or says in plain words why not, free.

Pricing

$2.00 / 1,000 cve lookups

Rating

0.0

(0)

Developer

Stas K

Stas K

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

10 days ago

Last modified

Features

Limited permissions

Share

One row per CVE id, with the four public sources already joined: NVD for the record and CVSS, MITRE as a fallback when NVD has nothing, FIRST.org for the exploit probability, CISA for the exploited-in-the-wild flag. No API key, yours or ours.

What a row answers

  • description, published, lastModified from NVD, or from MITRE when NVD has no record
  • baseScore, severity, vector, scoreSource from CVSS (v3.1, then v3.0, then v2, and scoreSource always says which one answered)
  • cwe as a list of weakness ids
  • affected as product names with readable version ranges, for example {"product": "log4j", "ranges": [">= 2.0, < 2.15.0"]}
  • epss, epssPercentile, epssDate from the FIRST.org model
  • kev, kevAdded, kevDueDate, kevRansomware, kevAction, kevName from the CISA catalogue
  • otherIds: a line that holds more than one CVE id is answered by its first id, and the rest are listed here instead of being dropped silently
  • references and sources, where sources names what actually answered this row

kev is three-valued on purpose. true means CISA lists the CVE as exploited in the wild, false means the catalogue was read and this id is not in it, null means the catalogue could not be read at all and we are not claiming anything. Leaving kev out would be the same claim as false, so it stays in the row as null.

Money

The priced event is cve-looked-up, charged per delivered row. A row is delivered when it carries a record. A row that carries no record is free and says why in status and reason:

statusmeaning
OKthe row carries the record
NOT_CHECKED_INVALIDthe line is not a CVE id, an empty line included
NOT_CHECKED_DUPLICATEthe same id came earlier in the list
NOT_CHECKED_LIMITbeyond maxCves
NOT_CHECKED_SOURCENVD has no record and the MITRE record could not be read
NOT_CHECKED_TIMEthe platform deadline was close
NOT_CHECKED_CAPthe spending cap was reached
NOT_CHECKED_BILLINGthe run could not read its own price: nothing delivered, nothing charged
NOT_CHECKED_ERRORthe dataset refused the row, or the run stopped earlier

The budget is read before the row is pushed, not after. The platform deliberately lets one more row through on an exhausted budget so that it can kill the run, and that row would be a charge for a row the buyer never gets to use. The push itself is Actor.push_data(..., charged_event_name=...): it writes the row and charges for it under one lock, and its answer names how many events were actually charged.

billable on a row is the claim of the price at the moment of writing. The money actually taken is chargedEvents in the run summary, never a field a row could invent.

Honest numbers

A warm run of three CVEs takes about 2 seconds, most of it the CISA catalogue and the NVD answers. NVD without a key is rate limited by the platform: this actor keeps a 0.35 s pace between NVD calls, retries a 429 or a 5xx three times, and a source that stays silent turns into a free NOT_CHECKED_SOURCE row instead of a charge. The CISA catalogue is read once per run, so 50 ids cost one catalogue download, not fifty.

The clock is watched before every lookup: a request only starts when 100 seconds are left, which is one worst-case NVD attempt plus room for the summary, and no retry is sent when less than 30 seconds remain. A run that runs out of time ends its own tail with NOT_CHECKED_TIME instead of being killed mid file.

epss is null when the feed has no row for that CVE. Null never means zero: a zero would claim the CVE is not exploited, and we do not know that. epssFeedOk in the summary says whether the feed answered at all, so a dead feed is never read as "no scores".

What this actor does not do

  • It does not scrape vendor advisories or exploit databases.
  • It does not enrich with your private inventory, and it sends nothing about you to the sources.
  • It does not guess a score. When no source publishes CVSS, the fields stay null and scoreSource says nothing was found.
  • It does not return every reference ever listed: the first 8 are kept, newest NVD order.

Input

  • cveIds: one id per line. A link is accepted, the id is taken from it.
  • maxCves: the list is cut here, cut ids come back free as NOT_CHECKED_LIMIT. 0 means no limit, and the summary reports the limit actually applied.
  • includeEpss, includeKev, includeAffected: turn a source off when it is not needed.

Run summary

One object per run in the named store cve-lookup-summary under RUN_SUMMARY-<runId>, and the same text in the default store of the run under RUN_SUMMARY. requested always equals processed plus notChecked, and it counts every line sent, blank lines included (blankLines names how many of those were empty). byStatus is the full breakdown, stopReason is null or one of spending-cap, charge-error, dataset-write-error, deadline, billing-price-unknown, unexpected-error. kevAvailable says whether the CISA catalogue was read, kevCatalogVersion names it, epssFeedOk says whether the FIRST feed answered, deliveredUncharged counts rows that were written but not paid for, and unexpectedError carries the reason when the run died on something unforeseen: a crash never takes the summary down with it.