Skip to content

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 04 Dec 22:30
· 60 commits to main since this release
eed69e6

fleetvuln 0.1.3

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

Security

  • SSH option injection (#9). An agent token could inject ssh options via reachability, which could lead to command execution on the server. Fixed:
    • reachability values are validated;
    • -- is placed before the ssh destination;
    • the container runtime is limited to docker/podman;
    • changing reachability now needs admin.
  • Inventory tokens (#9, #12).
    • Each inventory token is bound to one host and can no longer overwrite other hosts or set labels, EOL or origin.
    • A host's machine_id never authorises a takeover.
  • HTTP hardening (#9).
    • The client is authenticated before the request body is read; Content-Length is validated.
    • Socket timeouts and a connection cap.
    • 500 responses are generic.
    • Login CSRF protection, and server-side logout.
  • Secrets and feeds (#9).
    • Webhook URLs are redacted in exports.
    • Notifier errors no longer log secrets.
    • OSV ecosystem names are validated; gzip/zip sizes are bounded.
  • Internal review (#11, #12). Findings and follow-ups are in docs/security-audit-2026-12-04.md.

Correctness

  • No skipped changes (#14). Inventory and advisory changes made during correlation are no longer skipped, and a failed host gets a full pass next cycle.
  • OSV cursor (#14). The OSV delta cursor never moves past a record that failed to download.
  • Upgrade targets (#14). Upgrade targets are compared with the package's own scheme (dpkg/rpm/apk).
  • Kernel subsystems (#16). A kernel CVE in a subsystem newer than the running kernel (io_uring, ksmbd, bcachefs, …) is marked weak_evidence: subsystem-absent and capped to low by policy. Its verdict is kept.
  • Rule changes (#20). A change in correlation rules triggers one full re-evaluation of all hosts.

Performance

  • No needless re-correlation (#15). An unchanged inventory no longer forces a full re-correlation of the host. Effective policy is cached, and the briefing is leaner. On a pilot, a cycle with no inventory changes went from ~37 min to a no-op correlation.
  • Briefing counts (#15). The briefing counts decisions (remediation units), with the number of findings shown alongside.

Reliability

  • Feed retries (#13, #20).
    • Retries use exponential backoff with jitter and honour Retry-After.
    • Body-read timeouts are retried.
    • Each request has a 300 s deadline.
    • A failing feed is skipped with backoff (circuit breaker).
  • Concurrency (#17). Finding state changes are compare-and-set, Idempotency-Key retries are safe while a request runs, and lock waits are bounded.
  • Feed sync and notifications (#18). Feed syncs are single-flight across processes, and failed notifications back off. NVD sync resumes after an interruption.
  • Operations (#19).
    • Clean SIGTERM shutdown, and aborted runs are marked.
    • Host filters are applied before paging.
    • Errors and broken plugins are logged.

Upgrade notes

  • Database migrations are automatic.
  • The first cycle after the upgrade re-evaluates all hosts once.
  • The collector script is unchanged since 0.1.2. Its sha256 is 546ac0cccfafb78c2f633b15c49af41119742b6147d927573340c778d2571a5d.
  • An unbound inventory token that reports a host that has already reported now gets 403. Create a host-bound token: fleetvuln token create NAME --scopes inventory --host ID.
  • A feed can be read from a local file when a network segment is throttled or air-gapped, for example feeds.epss.url = "file:///path/epss_scores-current.csv.gz".

Verify before deploying: sha256sum -c SHA256SUMS.