Skip to content

The proof gate runs a solver with a HIGH advisory against it (GHSA-xfxf-qxr3-435x) - #215

Merged
avrabe merged 1 commit into
mainfrom
sec/ordeal-0.22.1
Sep 30, 2026
Merged

avrabe merged 1 commit into
mainfrom
sec/ordeal-0.22.1

Conversation

@avrabe

@avrabe avrabe commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

ordeal published GHSA-xfxf-qxr3-435x (HIGH) today, affecting every
release from 0.2.0 through 0.22.0. Shifts and rotations at non-power-of-two
bit widths used too few barrel-shifter stages, so some satisfiable queries
returned Unsat with an LRAT certificate that re-checks — the checker
certified the CNF it was handed, and the CNF was the wrong encoding.

This job's entire claim is that unsat means certificate-checked. It is
precisely the gate that cannot notice this class of failure.

The pin was 0.14.0 — inside the affected range, and eight minors stale.

varve's own obligations are not affected — checked, not assumed

shifts / rotations in proofs/*.smt2 none (bvshl, bvlshr, bvashr, rotate: zero hits)
bit-widths used 1 and 64 — both powers of two
advisory says about those widths "byte-identical before and after the fix"

Re-ran all four obligations under 0.22.1 before changing the pin:

  ok  epoch-days-leap-mutant-is-distinguishable.smt2: expected sat, got 'sat'
  ok  rollback-advance-monotone-NEGATIVE.smt2:        expected sat, got 'sat'
  ok  rollback-advance-monotone.smt2:                 expected unsat, got 'unsat'
  ok  rollback-boundary-mutant-is-distinguishable.smt2: expected sat, got 'sat'
proof-check: OK — 4 obligation(s), 3 negative control(s)

Same verdicts, negative controls still refute. Nothing cached needs
re-deciding.
This is not a fix to a wrong result — it is removing a
known-vulnerable solver from the job that certifies our proofs.

The bigger exposure is not in this repo

The pulseengine layer ships ordeal v0.22.0 to every consumer — affected.
Raised on pulseengine-layers and with the maintainer; a line-status advisory
is the varve-native response and needs the realm key.

🤖 Generated with Claude Code

https://claude.ai/code/session_019TNtfRjLNhEz82G2ggeeNu

@avrabe
avrabe enabled auto-merge (squash) September 30, 2026 04:56
GHSA-xfxf-qxr3-435x affects ordeal 0.2.0 through 0.22.0. Shifts and rotations
at non-power-of-two bit widths used too few barrel-shifter stages, so some
satisfiable queries returned Unsat WITH AN LRAT CERTIFICATE THAT RE-CHECKS:
the checker certified the CNF it was handed, and the CNF was the wrong
encoding. This gate's whole claim is that unsat means certificate-checked, so
it is precisely the gate that cannot notice.

The pin was 0.14.0 — inside the range, and eight minors stale besides.

varve's own obligations are NOT affected, checked rather than assumed. The
four proofs/*.smt2 contain no bvshl, bvlshr, bvashr or rotation of any kind,
and use only widths 1 and 64 — both powers of two, which the advisory states
encode byte-identically before and after the fix. Re-run under 0.22.1 before
changing the pin: the same four verdicts, and all three negative controls
still refute. Nothing cached needs re-deciding.

So this is not a fix to a wrong result. It is removing a vulnerable solver
from the job that certifies our proofs, which is not a thing to leave sitting
once it is known.

Separately, and more seriously: the pulseengine layer SHIPS ordeal v0.22.0 to
consumers. That is pulseengine-layers, not this repo.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019TNtfRjLNhEz82G2ggeeNu
@avrabe
avrabe merged commit b66cc14 into main Sep 30, 2026
28 checks passed
@avrabe
avrabe deleted the sec/ordeal-0.22.1 branch September 30, 2026 10:44
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.

1 participant