Package check

Check the packages of a server

Pipe the package list of a Linux server into curl. The answer in the terminal lists the known CVEs of its packages, the known exploited ones first, and the command that installs the fixes. It does not need an account.

cat /etc/os-release /var/lib/dpkg/status | curl -s --data-binary @- https://vulnpocalypse.ch/check

The commands

Debian, Ubuntu

cat /etc/os-release /var/lib/dpkg/status | curl -s --data-binary @- https://vulnpocalypse.ch/check

Alpine

cat /etc/os-release /lib/apk/db/installed | curl -s --data-binary @- https://vulnpocalypse.ch/check

RHEL, Rocky Linux, AlmaLinux, Oracle Linux, CentOS, Amazon Linux, openSUSE, SLES

(cat /etc/os-release; rpm -qa --qf '%{NEVRA} %{SOURCERPM} %{MODULARITYLABEL}\n') | curl -s --data-binary @- https://vulnpocalypse.ch/check

Run the command as any user: the package databases are readable without root. On RHEL 7, CentOS 7 and Amazon Linux 2, leave out %{MODULARITYLABEL}; their rpm does not know it.

What the check reads

cat sends the whole files. The check reads these fields and drops every other line while it reads the input: descriptions, maintainers, file lists and dependencies are not kept.

  • /etc/os-release: ID, ID_LIKE, VERSION_ID, VERSION_CODENAME, UBUNTU_CODENAME, NAME and PRETTY_NAME, for the release whose advisories apply.
  • The dpkg status file of Debian and Ubuntu: Package, Version, Source, Architecture and Status of each package. Packages with the status deinstall or purge (removed, with or without their configuration files) are left out.
  • The apk database of Alpine: P (name), V (version), A (architecture) and o (the source package) of each package.
  • The rpm lines: name, epoch, version, release and architecture (%{NEVRA}), the source package (%{SOURCERPM}) and the module stream (%{MODULARITYLABEL}).

The packages are matched against the vulnerability database of Trivy as the daily report of the collector is, with KEV, EPSS and the CVE List for the ranking.

What you get

The answer lists the number of CVEs by severity and how many are on the CISA list of known exploited vulnerabilities, then the ten most urgent CVEs with the package, the installed and the fixed version, then one command that upgrades every package with a fixed version, with the reboot of a kernel update. The full list of CVEs is on a page under a random link.

Limits and privacy

Each address can run 5 checks in ten minutes. The input can have 8 MB and 20,000 packages. The package list is not stored. The result stays in memory at a random link for one hour and is then deleted; it does not have the address of the server, and nothing is written to the database. The privacy policy has the details.

Check every day

The collector sends the package lists of the host and of its container images once a day, with the results of the checks of settings and services. The daily digest lists new CVEs and failing checks, and known exploited CVEs alert at once. The Free plan includes one server and one domain, without a credit card.

Start free