Skip to content

[stackstate-agent] Make CVE exception expiry dates fail closed #500

Description

@ai-collaboration-app

The exceptions/ tree carries expires dates that nothing enforces, so a lapsed
CVE deferral in this repo goes unnoticed.

The evaluator behind the scan does fail closed on expiry — a missing, unparseable
or past expires turns the exception back into a live finding — but
ExitCode returns 0 unconditionally in inform mode, and this repo's only
consumer of the tree is the report-only scan in build-deb.yml
(mode: inform, since #487). The gating chart scan in StackVista/cve-reporter
does not read the tree at all. Net effect: the dates are advisory.

All four current exception files expire 2026-09-04, and two of them
(CVE-2025-15367, CVE-2026-4360) are the standing deferrals for the Python
advisories on the embedded 3.13.15 interpreter, where no released fix exists.
Those deadlines are the only thing keeping the deferrals from becoming silent
permanent acceptances.

Add a repo-local check that fails when an exception file has passed its expires
date or carries a date that cannot be parsed, wired into the required
CI success (lint and unit tests) roll-up so it actually blocks. It should warn
ahead of expiry so the red is never a surprise.

Coordination ticket for the batch this comes out of:
https://github.com/StackVista/cve-reporter/issues/29

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions