unpatched

v3.0.1
io.github.Amet13/unpatched Checked 6 hours ago Published 6 days ago

Is the software you run affected by a vulnerability?

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

check_stack Check the stack

Check every item in unpatched.yml against the vulnerability database. Always returns `summary` (counts per bucket) and `items` (one per stack item, with the upgrade that fixes the most), plus `findings` sorted by urgency (now, week, eol, unknown, fyi) with verdict, rules and fixed_in. By default only now, week, eol and unknown findings come back, at most 50, without evidence: ask for more with `bucket`, `limit` and `include_evidence`. Package (purl) items are looked up in OSV unless the server runs offline.

ParameterTypeDescription
bucketarrayWhich buckets to list findings from. Default: now, week, eol, unknown (not fyi).
config_pathstringPath to unpatched.yml. Only the server's configured file, or a file named unpatched*.yml or unpatched*.yaml under the server's working directory, is allowed. Defaults to the server's configured file.
include_evidencebooleanAdd the evidence and reference links to each finding (large). Default false.
limitintegerAt most this many findings (default 50). `summary` always has the full counts.

is_affected Is this version affected?

Ask whether one product at one version is affected, without a config file. With `cve`, answer for that vulnerability only and always give a verdict (affected, not-affected or unknown) with evidence. Without `cve`, return all findings for the product. Use `search_catalog` to find the product id. Never guess the version: ask the user.

ParameterTypeDescription
product *stringCatalog product id or alias, e.g. fortios.
version *stringThe exact version that runs, e.g. 7.2.5.
cvestringA CVE (or advisory) id to answer for, e.g. CVE-2024-21762.
exposurestringWhether the item is reachable from the internet. Default internal.
include_rawbooleanGive each source's full text in the structured result. Default false: it is cut to about 200 characters.

explain Explain a CVE, a rule or a finding

Explain a vulnerability id (CVE or advisory id: summary, CVSS, affected ranges per source, exploitation signals), a rule id such as UNP-KEV (what it means and why it puts a finding in a bucket), or a finding key from `check_stack` such as office-firewall/CVE-2024-21762 (judged with the server's configured unpatched.yml).

ParameterTypeDescription
id *stringA CVE or advisory id (CVE-2024-21762), a rule id (UNP-KEV) or a finding key (office-firewall/CVE-2024-21762).
include_rawbooleanGive each source's full text in the structured result. Default false: it is cut to about 200 characters.

search_catalog Search the product catalog

Find catalog product ids by name, vendor or alias. Use the id in unpatched.yml. Returns the version scheme and the endoflife.date slug.

ParameterTypeDescription
text *stringWords to look for, e.g. fortigate or nextcloud.

db_status Database status

When the vulnerability database was built, how old it is in hours, whether it is stale, and the state of each source. Run this before trusting a result.