Skip to content

v0.1.5

Latest

Choose a tag to compare

@github-actions github-actions released this 06 Dec 11:29
· 37 commits to main since this release
dc6bdc6

fleetvuln 0.1.5

Early-phase software; no third-party security audit. Not meant to run as a public web service.

Why a distribution has no fix

OSV says a distribution package is affected with no fix, but not why. This release adds each distribution's own decision. It explains the verdict and grades it.

  • Debian security tracker (#32). no-dsa, ignored, postponed, undetermined, not-affected and end-of-life, with the security team's reason.

    • undetermined becomes possibly-affected, and not-affected becomes not-affected.
    • no-dsa, ignored and postponed are capped at distro_no_dsa_cap (default medium).
  • Red Hat CSAF/VEX for the RHEL family (#34, #35). Statements cover affected, fix deferred, will not fix, out of support scope, under investigation and not affected. They are used when the rebuild (Rocky, AlmaLinux, …) has no statement of its own.

    • Every downloaded document is OpenPGP-verified against Red Hat's pinned key.
    • Bootstrap once from the archive; see docs/feeds-redhat-vex.md.
    • A Red Hat impact of Low caps the severity (vendor_low_impact_cap).
  • Ubuntu VEX (#53). These are the Ubuntu Security Team's per-release decisions:

    • ignored, deferred, needs triage, being worked on, no longer supported, not affected;
    • the team's reason is shown;
    • the Pro (ESM) statement applies where Pro is enabled.

    Only the fleet's releases and installed packages are kept. A run reads the 85 MB archive as a stream and takes about 3–4 minutes a day. The archive has no publisher signature, see docs/feed-authenticity.md. Ubuntu's ignored is explained but not capped, because Ubuntu also uses it for superseded HWE kernels and unmaintained packages.

  • The distribution's rating bounds the priority (#52). By default the effective severity is at most one step above the distribution's own rating (Ubuntu priority, Debian urgency, Red Hat impact). KEV and watched findings are exempt.

    • Set policy.defaults.distro_rating_max_steps (null turns it off).
    • New rule conditions: min_distro_priority and max_distro_priority.

Inventory

  • CycloneDX SBOMs as inventory (#31). Output from Syft, Trivy or a build pipeline is accepted wherever an inventory is: fleetvuln collect --file x.cdx.json, or POST /api/v1/inventory. See docs/sbom.md.
  • Package origin (#50). The collector reports dpkg Maintainer and rpm Vendor.
    • A package from a third-party repository (NodeSource, Docker, PGDG, …) is compared with upstream ranges, not the distribution's advisories. It is listed in coverage_gaps.third_party_packages.
    • Snap transitional packages (1snap1) are not affected.
  • Kernel live patches (#51). The collector reports the patches loaded in /sys/kernel/livepatch.
    • Kernel findings on those hosts keep their verdict, with the note "may already be fixed in memory".
    • The hosts are listed in coverage_gaps.livepatched_hosts.

Briefing, escalations, agents

  • Briefing (#46).
    • Totals are real counts.
    • Every cut list says so, with {listed, total, more}.
    • A remediation unit has an id: GET /api/v1/briefing/unit?unit= lists its findings, and POST /api/v1/findings/transition with unit moves all of them.
    • briefing --limit 0 lists every unit.
  • Escalations (#49). There is one escalation per decision (remediation unit on a host), not per finding. It is answered when its findings are decided, and reopened, with a new notification, when the issue comes back.
  • Agent answers (#47).
    • stats --by accepts hyphenated dimensions (distro-status).
    • explain tells an unknown vulnerability id from "not affected" and lists the feeds' sync state.
  • token create returns the token id (#29).

Feed integrity (#33)

  • Redirects only to the same host or to feeds.allow_redirect_hosts.
  • No rollback to older data.
  • Plausibility checks on size and counts, and replay checks. The publisher signatures and the checks for each source are in docs/feed-authenticity.md.

Fixes

  • The collector test passes on a machine that is not Linux (#48).

Upgrade notes

  • New collector. Its sha256 is aabc416ba85099f432d8dfc22db1f4192cd66c2eef50682c69477f4dd3b1ee72. Deploy it to the hosts: package origin and live patches need it. An old collector still works, but without those facts.

  • Schema: the table distro_notes and two columns in escalations are created automatically on start.

  • Correlation rules changed (RULES_VERSION 1 → 4). The first cycle re-evaluates every finding once. Expect verdicts and priorities to move:

    • distribution decisions;
    • third-party packages;
    • the one-step rating bound.

    Each change is explained in the finding.

  • New outbound destinations, each an owner decision, can be turned off per feed and given file:// mirrors:

    • salsa.debian.org (Debian tracker);
    • security.access.redhat.com (Red Hat VEX);
    • security-metadata.canonical.com (Ubuntu VEX).
  • RHEL family: bootstrap Red Hat VEX once, as in docs/feeds-redhat-vex.md. Until then the briefing lists it under feeds_never_synced.

  • Escalations that are already open keep their notification key, so nothing is sent again after the upgrade.

Verify before deploying: sha256sum -c SHA256SUMS.

Verify before deploying: sha256sum -c SHA256SUMS. Compare collect.sh with what your server sends: fleetvuln collect --print-script | sha256sum.

To rebuild the tarball from the tag, compare the uncompressed tar (gzip output differs between git versions): git archive --format=tar --prefix=fleetvuln-v0.1.5/ v0.1.5 | sha256sum = gunzip -c fleetvuln-v0.1.5.tar.gz | sha256sum (85dc2ed5fc34a8a4184ab9c2b1f10172e727484d6c7e8246e23c87aa13e36a6d).