Distro patch check
distro_patch_checkVerifies whether an Ubuntu or Debian package version is affected by known CVEs using the distribution’s security data, accounting for backported fixes that leave upstream versions unchanged.
Instructions
Check an Ubuntu or Debian package version against the distro's own security data (via OSV.dev), which counts fixes the distro backports without changing the upstream version. Use it when Shodan lists distro_packages (e.g. OpenSSH_8.9p1 Ubuntu-3ubuntu0.6 gives package 'openssh', package_version '8.9p1-3ubuntu0.6'), or when the user gives an installed package version. Pass the version check's affected_cve_ids as cve_ids. release (e.g. '22.04', '12') is found automatically when possible. No key needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| distro | Yes | ||
| cve_ids | No | ||
| package | Yes | ||
| release | No | ||
| package_version | Yes | ||
| investigation_id | No |