Skip to content

fix(refresh): skip hardening-only Docker Security subsections - #24

Merged
JordanNanos merged 2 commits into
masterfrom
fix/docker-hardening-only-security-notes
Sep 25, 2026
Merged

JordanNanos merged 2 commits into
masterfrom
fix/docker-hardening-only-security-notes

Conversation

@aliencaocao

@aliencaocao aliencaocao commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

What

minimum-versions-refresh has failed every day since 2026-09-01 with:

error: docker: release 29.8.0 carries a Security subsection that names no CVE or GHSA identifier; the wording probably changed

Docker 29.8.0's ### Security section only adds AppArmor/SELinux policy rules (release notes) and names no identifier. The extractor treated that as a wording change and failed closed, while the real minimum (29.7.0, CVE-2026-17106) sat unchanged one release below.

docker_minimums() now skips a Security subsection that names no CVE/GHSA (hardening, not a fix for a tracked vulnerability), so it neither moves the minimum nor stops the refresh. The page-level guard stays: if no security release on the page names an identifier, it still fails closed and lists the releases it skipped.

Same fix is needed in ClusterMAX-internal's copy of minimum_refresh.py if that refresh should go green too; not included here per "don't move anything else".

Tests

  • New: a hardening-only release above 29.7.0 leaves the minimum at 29.7.0.
  • Reworded: a page where every Security section lacks an identifier still fails closed, naming the release.
  • python3 -m pytest -q tests/audit/ → 1313 passed.

Note

Low Risk
Narrows Docker minimum selection logic and error paths in the audit refresh; behavior is covered by new tests and only affects how release notes are interpreted.

Overview
Fixes minimum-versions-refresh failing daily on Docker 29.8.0, whose ### Security section has no CVE/GHSA (AppArmor/SELinux hardening only).

docker_minimums() now treats a Security subsection without a CVE or GHSA as hardening-only: it is skipped when picking the minimum and does not abort the job. The published minimum stays on the newest release that does name an identifier (e.g. 29.7.0). Fail-closed behavior is unchanged when every Security section on the page lacks identifiers—the error lists the skipped release versions so a real format change is still caught.

Tests cover the 29.8.0 scenario and the all-hardening page case.

Reviewed by Cursor Bugbot for commit 3ec67a1. Bugbot is set up for automated code reviews on this repo. Configure here.

Docker 29.8.0 ships a ### Security subsection that only adds AppArmor and
SELinux policy rules and names no CVE or GHSA identifier. The extractor
treated that as a wording change and failed closed, which has held the
daily minimum-versions-refresh job red since 2026-09-01 while the real
minimum (29.7.0) sat unchanged one release below.

A Security subsection without an identifier fixes no tracked vulnerability,
so it now neither moves the minimum nor stops the refresh. The page-level
guard stays: if no security release on the page names an identifier, the
extractor still fails closed and lists the releases it skipped.
@JordanNanos
JordanNanos merged commit 589f595 into master Sep 25, 2026
5 checks passed
@JordanNanos
JordanNanos deleted the fix/docker-hardening-only-security-notes branch September 25, 2026 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants