CVE checks: known vulnerabilities on Proxmox VE nodes
cv4pve-diag can tell which known vulnerabilities (CVE) affect the nodes of a cluster, and which pending update fixes them. It reads everything through the Proxmox VE API, as the other checks do: nothing is installed on the nodes. The CVE data comes from public sources, so these checks need internet access and are off by default.
Turn them on
Section titled “Turn them on”The --full profile turns on every CVE check. In a settings file:
{ "Cve": { "NvdEnabled": true, "DebianTrackerEnabled": true }}The three sources
Section titled “The three sources”| Source | What it tells | Checks |
|---|---|---|
| NVD (National Vulnerability Database) | The CVEs of Proxmox VE itself that affect the installed pve-manager version |
CN0042, WN0042 |
| Debian Security Tracker | For each Debian package with a pending update: the CVEs the update fixes, and the CVEs Debian has not fixed yet | CN0049, WN0049, WN0050, IN0050 |
| CISA KEV (Known Exploited Vulnerabilities) | Which of those CVEs are already exploited by attackers: they raise the severity | - |
Proxmox VE runs on Debian, and most of the CVEs of a node are in its Debian packages (OpenSSL, the C library, OpenSSH, rsync, PostgreSQL, BIND, …), not in Proxmox VE itself. The NVD lookup alone finds very few of them; the Debian Security Tracker finds the rest.
What the findings mean
Section titled “What the findings mean”| Code | Severity | Meaning | What to do |
|---|---|---|---|
CN0049 |
Critical | A pending update fixes a CVE that is already exploited (in the KEV catalog) | Install the update first |
WN0049 |
Warning | A pending update fixes CVEs | Install the updates |
WN0050 |
Warning | A package has an exploited CVE that Debian has not fixed yet | No update exists: reduce the exposure (disable the service, restrict access) and watch for the fix |
IN0050 |
Info | A package has CVEs that Debian has not fixed yet | Nothing to install: informational, ignore it if you accept it |
CN0042, WN0042 |
Critical, Warning | A CVE of Proxmox VE affects the installed version (CVSS ≥ 9.0 is Critical) | Update Proxmox VE |
One finding is written for each Debian source package on each node, with the versions and the list of CVEs (the exploited ones first):
| nodes/pve01 | CN0049 | brotli: update from 1.0.9-2+b6 to 1.0.9-2+deb12u1 fixes 1 CVE, 1 known exploited: CVE-… | Node | CVE | Critical || nodes/pve01 | WN0049 | openssl: update from 3.0.20-1~deb12u2 to 3.0.22-1~deb12u2 fixes 12 CVE: CVE-…, CVE-… | Node | CVE | Warning || nodes/pve01 | IN0050 | python3.11: 19 CVE without a fix in Debian yet (only packages with a pending update … | Node | CVE | Info |Debian marks some open CVEs as unimportant (it does not plan to fix them, usually because they do not
apply to how the package is built): they are left out.
What it cannot see
Section titled “What it cannot see”- Packages without a pending update. The Proxmox VE API lists the packages that have an update, not
every installed package. The CVEs that Debian has not fixed are therefore reported only for packages that
also have a pending update. For every installed package run
debsecanon each node. - Packages built by Proxmox. The kernel (
proxmox-kernel), QEMU (pve-qemu-kvm), LXC, Ceph and ZFS come from the Proxmox repositories, with versions of their own: the Debian tracker does not cover them, and packages rebuilt by Proxmox (pmxin the version) are skipped. Proxmox publishes its own security advisories. - Backports and other repositories are skipped: their versions do not follow the Debian ones.
- CPU vulnerabilities and firmware. The API does not expose them. The guests’ CPU flags against
Spectre and Meltdown are checked by
WG0037.
Data, cache and mirrors
Section titled “Data, cache and mirrors”The Debian checks download about 100 MB: the tracker data, the package index of the node’s Debian
release (Packages.gz, to find the source package of each binary) and the KEV catalog. The files are kept
in a cache folder and downloaded again after 24 hours; if a download fails, the previous copy is used. With
no copy at all the report gets a WG0042 finding and the rest of the analysis runs as usual.
Without internet access, point Cve.DebianTrackerUrl, Cve.DebianMirrorUrl and Cve.KevUrl to an
internal mirror: see Settings.
Reading the pending updates needs the Sys.Modify privilege on /nodes: see
Permissions.
Ignore what you accepted
Section titled “Ignore what you accepted”The package name is at the start of the description, so a rule can hide one package whatever the number of CVEs:
[ { "ErrorCode": "IN0050" }, { "ErrorCode": "IN0050", "Description": "^python3\\.11:" }, { "Id": "^nodes/pve01$", "ErrorCode": "WN0049", "Description": "^cups:" }]The first rule hides every unfixed CVE, the second only those of python3.11, the third the cups
updates of node pve01. See Ignore Rules.