Skip to content

Dashboard image CVE gate fails on certifi GHSA-6q48-6c7w-9gw2 #3554

Closed

Description

@pithead-developer

What's the problem

The dashboard image's required Trivy scan fails on certifi 2026.6.17 with GHSA-6q48-6c7w-9gw2. The scanner reports fixed version 2026.10.19 and classifies the finding as CRITICAL.

what it impacts

The required dashboard image build cannot pass. The advisory concerns bundled emSign root CAs; runtime exploitability in Pithead has not been established.

How I found it

While validating #3432, the Build image (dashboard) job failed on commit ebb1a0a754bdbb9b772b910679fc9a0b25f0ad1f. Both retained scan attempts report the same package/version/advisory and exit 1: https://github.com/p2pool-starter-stack/pithead/actions/runs/39545762626/job/119043459590 . The restore change does not alter dashboard dependencies or its image definition. No open issue or PR matching certifi or this advisory was found.

how important is it

High priority: this is a fixable finding classified CRITICAL by the image scanner and blocks the required image check. No compromise or working exploit has been observed.

acceptance criteria

  • The built dashboard image contains a certifi version that fixes this advisory.
  • The required dashboard image security scan passes without adding an ignore or weakening the gate.
  • Dashboard tests and locked dependency validation pass at the corrected head.

possible solutions

Update the transitive certifi dependency using the repository's locked dependency tooling, checking compatible constraints and the resulting built image.

Activity

  1. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    ContributorAuthor

    Additional current-head evidence from #3391 / PR #3550: the dashboard-image check at aea3e7401d7a592c14fb45ddd712b839ed41cef7 fails on certifi 2026.6.17 with GHSA-6q48-6c7w-9gw2; the retained retry scan reports CRITICAL, fixed version 2026.10.19, and exit 1. This change does not touch dashboard dependencies or its image definition. PR #3550 now waits on this canonical fix; its owned KVM restart-detection proof passed.

  2. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    ContributorAuthor

    Additional evidence from pithead#3435 / PR #3555: the dashboard image check at e0cb6de9abf1f5452c16ad3ef16f5a54f1b4d303 fails on certifi 2026.6.17, GHSA-6q48-6c7w-9gw2, CRITICAL, fixed version 2026.10.19. Both retained scan attempts exit 1. The failed check was inspected directly. This PR does not alter dashboard dependencies or its shipped image; the canonical fix remains here.

  3. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    ContributorAuthor

    Questions before work continues (answer here, then remove the question label):

    Draft PR #3556 updates certifi to 2026.10.19, adds security regressions and corrects contributor documentation. Regression tests fail before the update and pass afterward; local checks and independent reviews are clean. GitHub checks, including the required image security scan, remain queued for runner verification.

  4. added
    question
    on Oct 21, 2026
  5. pithead-architect commented on Oct 21, 2026

    @pithead-architect

    Ruling: Continue PR #3556 through normal runner verification and return waiting while required checks finish. Dashboard tests have passed; the dashboard image build and Trivy scan remain queued. Keep the targeted certifi update and regression tests, preserve the security gate, and record completed current-head evidence in the PR body. The changed paths require GitHub tiers 1–3, with no tier-4 job. Merge requires the reviewer App's current-head PASS followed by VijitSingh97's formal approval on that head. This checkpoint needs no further operator permission.

  6. removed
    question
    on Oct 21, 2026
  7. added this to the v2.0.1 milestone on Oct 21, 2026
  8. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    ContributorAuthor

    PR #2949 also hits this advisory on 109d1c04b1784937491f22f18d112c5e46d0caca: dashboard image job 119036501379 in run 39543544328 fails both scan attempts on certifi 2026.6.17, CRITICAL GHSA-6q48-6c7w-9gw2, with scanner-reported fixed version 2026.10.19. The complete log was retained and both findings reopened. Reusing #3554 / PR #3556 as the canonical dependency correction; no ignore or gate weakening was added. The scoped LAN marker deploying proof passed in job 2630, independently of this image gate.

  9. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    ContributorAuthor

    The same finding blocks the required dashboard image scan for #3388 at 9d8945cb09f23c6dddab0f1610f835e74fad974e: Build image (dashboard). Both retained Trivy attempts report certifi 2026.6.17, GHSA-6q48-6c7w-9gw2, CRITICAL, fixed version 2026.10.19, and exit 1. The webhook-validation change does not modify dependencies or the dashboard image. Reusing this issue as the owner; no ignore or dependency workaround is added to the webhook PR.

  10. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    ContributorAuthor

    Additional current-head evidence from #3077 / PR #3520: the required Build image (dashboard) check failed in CI run 39544928506 at 00a057eb77438c413f0b4b044e81eec9bfbd59fd.

    Both retained scan attempts report certifi 2026.6.17, GHSA-6q48-6c7w-9gw2, CRITICAL, fixed version 2026.10.19, followed by exit code 1. Both findings were read from the retained failed-job log; the appliance test change does not alter dashboard dependencies. Reusing this canonical issue and PR #3556; no dependency or scan-policy change is being folded into #3077.

  11. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    ContributorAuthor

    Additional evidence from #3431 / PR #3552: the dashboard image security scan at 8e87a9dde32a3c813f1e0a2d34a7a5949e370819 fails on certifi 2026.6.17 with CRITICAL GHSA-6q48-6c7w-9gw2, fixed version 2026.10.19. The retained failed scan was inspected directly. The image permission change does not modify dashboard dependencies; #3554 / PR #3556 remains the canonical dependency correction.

  12. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    ContributorAuthor

    Current-head recurrence for pithead#3435 / PR #3555 at dc639c76f4c9dd83b5d58ac972d4f645826772ec: the dashboard image check still fails on certifi 2026.6.17, GHSA-6q48-6c7w-9gw2, CRITICAL, fixed version 2026.10.19. The retained failed log was read directly. Every other GitHub check on this head passes. Required live proof is separately queued; this PR continues to depend on the canonical certifi fix here and does not alter dashboard dependencies or weaken the scan.

  13. 50 remaining items

  14. pithead-developer commented on Oct 21, 2026

    @pithead-developer
    ContributorAuthor

    The reviewed fix is merged into develop, but a fresh fetch shows develop-v2.1.0 still at a10dbf0bdf34d6f77f42acbeadca1387ed392167 with certifi 2026.6.17. #3596 tracks the distinct backport prerequisite for that supported integration lane; it blocks #2696 / PR #3568 until the correction reaches their base. No new dependency investigation or scan exception is requested.

  15. pithead-developer commented on Oct 27, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #3623. Resolved and pushed all base conflicts at 9d5b0b4; PR #3386 is now mergeable. Six focused tests, shell checks, metadata gates, verifier and security review passed. Final recovery proof still requires #3623 to land; the draft records that dependency and the action needed to resume.

    The runner resumes this issue when that one closes.

  16. added
    blocked
    on Oct 27, 2026
  17. pithead-developer commented on Nov 2, 2026

    @pithead-developer
    ContributorAuthor

    Review returned: the operator's call (rule here, then remove the review-returned label):

    Review of PR #3386 did not pass after round 3 (RETURN).

    Round 3 re-review of PR #3386 at head 2a627ff. I reviewed the worker's three commits since 3d719b3. The base commit is present in the clone. up now starts the enabled built-in miner, pithead-boot gates its three up calls with PITHEAD_BOOT_GATE=1, and lifecycle wrapper rows are buffered so they survive a redirected caller. Both new tests are RED with the fix reverted and GREEN on the head (local corroboration). The GitHub checks are green. All four required tier-4 jobs on this head are unfinished: stack 3360 is in progress, and rig 3361, provision 3362 and lifecycle 3363 are queued. The head has no bench proof yet, so it is RETURNed.

  18. added
    review-returned
    on Nov 2, 2026
  19. pithead-developer commented on Nov 2, 2026

    @pithead-developer
    ContributorAuthor

    Review returned: the operator's call (rule here, then remove the review-returned label):

    Review of PR #3386 did not pass after round 4 (RETURN).

    Round 4 re-review of PR #3386 (mitigation for pithead#3375) at the unchanged head 2a627ff. The code is the same as round 3, so the review covered the head's tier-4 jobs and the PR body. The #3554 closing-keyword finding is fixed. The required tier-4 proof on the head is still unfinished: stack job 3360 is in progress and the rig, provision and lifecycle jobs (3361-3363) are queued. The RED/GREEN finding that depends on them also stands.

    • [return] bench-ci evidence 3360@2a627ffd6ce394419613e5edfe149aa1617cdb9f, 3361@…, 3362@…, 3363@…: Standing from round 3: the required tier-4 proof on the head is not complete. The diff touches lib/pithead (the up dispatch), os/overlay, os/rootfs and the lifecycle harness. The head therefore needs completed tier4-kvm stack, rig and provision jobs and the deploying tier4-e2e lifecycle job. Stack 3360 is still running (142 pass · 0 fail). Rig 3361, provision 3362 and lifecycle 3363 are queued with every step pending. When they finish, paste each completed block unedited, with the owning issue for every red row outside this PR's own rows. Show that the stack and lifecycle jobs include the restore and up workers-reconnect rows for Appliance recovery can commit healthy while the local miner stalls until restarted #3375 as passing.
    • [return] PR body 'Here is the proof' (lines 104-114, jobs 2677/2678 at 09606bd): Standing from round 3: RED/GREEN for the current code is not shown. GREEN on the head does not exist until 3360 and 3361 complete. Quote them as GREEN. Quote 3349@3d719b3c4 as the RED for the up-path defect; the body currently does not mention 3349 at all. Then either say why the 2677/2678 watchdog-reverted controls, built from pre-rebase parent 09606bd, still apply to this head, or refresh them.
    • [note] PR body line 17: The proof section opens with 'Draft at 36f3315…, targeting develop-v2.0.3'. The PR base is develop and the head is 2a627ff, and the body names no job on this head (3360-3363). Rewrite the section for the current head when the jobs finish.
  20. pithead-developer commented on Nov 2, 2026

    @pithead-developer
    ContributorAuthor

    Review returned: the operator's call (rule here, then remove the review-returned label):

    Review of PR #3386 did not pass after round 5 (RETURN).

    Round 5 re-review at the same head, 2a627ff (no new commits, so the diff since the last reviewed head is empty). The stack job 3360 has now finished on this head and fails a row written by this PR: 'run_cli_wizard_defaults workers reconnect — worker set did not return within BOUND_RECONNECT'. No issue owns that row. Because the lifecycle phase failed there, the restore and up reconnect rows never ran. Rig 3361, provision 3362 and lifecycle 3363 are still queued. The PR body still quotes no job on this head, and it does not quote 3349.

    • [return] bench-ci evidence 3360@2a627ffd6ce394419613e5edfe149aa1617cdb9f; tests/integration/lib/run-lifecycle-miners.sh:139 via tests/integration/lib/run-lifecycle.sh:16: The head's stack job fails a row this PR added: '[stack] run_cli_wizard_defaults workers reconnect — worker set did not return within BOUND_RECONNECT' (job log line 5044). Just before it is '✗ CLI defaults proof restores the baseline config for lifecycle — expected rc 0, got 1'. No issue owns either row. The lifecycle phase therefore failed, fault-injection was skipped, and the restore and up reconnect rows this PR exists to prove never ran. Two causes are possible: the PR's reconnect check runs after a failed baseline restore, which would be a harness defect, or the miner really stays disconnected after the wizard-defaults step, which is the Appliance recovery can commit healthy while the local miner stalls until restarted #3375 symptom. Diagnose which from 3360's artifacts. Then either fix the defect or file the owning issue for each unowned red row. Rerun stack on the head until this PR's own rows are green.
    • [return] bench-ci evidence 3361@…, 3362@…, 3363@… (each with head 2a627ff): Standing from rounds 3 and 4. The diff touches lib/pithead/51-main-dispatch.sh, os/overlay, os/rootfs and the lifecycle harness, so the head needs completed tier4-kvm rig and provision jobs plus the deploying tier4-e2e lifecycle job. Rig 3361, provision 3362 and lifecycle 3363 are still queued, with every step pending and 0 rows. When they complete, paste each block unedited and name the owning issue for every red row outside this PR's rows.
    • [return] PR body 'Here is the proof' (lines 15-118): Standing from rounds 3 and 4: the body shows no RED/GREEN for the current code. It never mentions 3349 (the RED for the up-path defect at 3d719b3) or any job on the head (3360-3363). No GREEN exists on the head yet. Once the head jobs are green, quote 3349 as RED and the head jobs as GREEN. Then either explain why the 2677/2678 watchdog-reverted controls, built from parent 09606bd, still apply to this head, or refresh them.
    • [note] PR body line 17: The proof section still opens with 'Draft at 36f3315…, targeting develop-v2.0.3'. The base is develop and the head is 2a627ff. Rewrite the section for the current head. The round-3 Dashboard image CVE gate fails on certifi GHSA-6q48-6c7w-9gw2 #3554 closing-keyword note is fixed (closingIssuesReferences is now empty).
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

    blockedreview-returned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions