Repository navigation
chore(deny): ignore RUSTSEC-2026-0292 until nickel pins imbl-sized-chunks 0.2 - #1576
Conversation
…unks 0.2 RUSTSEC-2026-0292 (double free in imbl-sized-chunks < 0.2.0 when an element's Drop panics mid-removal) fails cargo-deny on every PR. The crate arrives via nickel-lang-core -> nickel-lang-vector, and nickel master still declares imbl-sized-chunks = "0.1", so no rev bump or cargo update can pull in the 0.2.0 fix yet. nickel-lang-vector holds nickel values whose Drop impls only decrement a refcount, so the panic-in-Drop trigger is not expected on our paths. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
Understand this PR’s impact Explore downstream dependencies and potential security impact with Blast Radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Essentials Run ID: 📒 Files selected for processing (1)
Included review availability: 1 review is currently available. Your included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour. 📝 WalkthroughWalkthroughThe advisory configuration now ignores ChangesAdvisory Ignore
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~3 minutes Change: Other Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
A rabbit checks the advisory gate Comment |
There was a problem hiding this comment.
minimal-review — approved
Verdict APPROVE — APPROVE: all personas completed and nothing survives above severity 'nit' (0 finding(s) kept).
Scope matches the title exactly: a single-line addition to deny.toml's [advisories].ignore list for RUSTSEC-2026-0292, with an accurate in-tree comment. Clobber none: git log -- deny.toml shows no recent fix reverted; the only prior RUSTSEC-2026-0292 ignore (415b59d6) lives on an unrelated branch (feat/git-cliff-release-notes) and is not an ancestor of this head, so this is a parallel fix, not a revert. Correctness the change is sound and everything verifiable checks out: imbl-sized-chunks 0.1.3 is genuinely present in Cargo.lock, reached transitively via nickel-lang-vector (nickel git rev 21decd29, matching Cargo.toml line 131), and the comment's claim that no in-tree upgrade exists is consistent (nickel still declares imbl-sized-chunks = "0.1"; [patch.crates-io] cannot cross the 0.1 -> 0.2 semver boundary). The advisory's existence and description are corroborated by the independent same-day commit 415b59d6. The existence of a parallel identical ignore on feat/git-cliff-release-notes is not a defect here, though if both branches merge it would be a redundant (harmless) duplicate ignore. One nit not raised as a finding: the PR body cites the RUSTSEC-2026-0173 ignore as in-tree precedent, but that ignore was already resolved and removed in #1298 (5406ecc6). Not checked: an actual cargo-deny run (needs the live RustSec DB / a build); unused-ignore is not configured in deny.toml, so even an unneeded ignore could not trip ci-success.
What ran
5 probe(s), all self-reported — every entry below is the model's own account of what it ran. None of it is host-attested, so none of it can gate a blocking verdict.
Verification log
1. grep imbl-sized-chunks/nickel-lang-* in Cargo.lock — self-reported
imbl-sized-chunks 0.1.3 present (line 3026); nickel-lang-vector 0.1.0 at git rev 21decd29 depends on imbl-sized-chunks (lines 4487-4492); nickel-lang-core referenced 7 times. Confirms the advisory path is genuinely in-tree.
2. grep nickel rev in Cargo.toml — self-reported
nickel-lang-core pinned to git rev 21decd294fe404d67d1545d11563016af6ea4090 (line 131), matching the lockfile and the PR's stated path.
3. git log --oneline --all -S RUSTSEC-2026-0173 -- deny.toml — self-reported
0173 ignore was added in af94e0f and then dropped in 5406ecc (#1298), so it is not currently in deny.toml; the PR's 'precedent' claim in the body is stale but harmless. The added comment itself does not repeat that claim.
4. git log --oneline -5 -- deny.toml; merge-base 415b59d6 HEAD — self-reported
Prior RUSTSEC-2026-0292 ignore (415b59d) is on feat/git-cliff-release-notes and is NOT an ancestor of this head; no clobber. Existing ignores include the 'bitmaps unmaintained' RUSTSEC-2026-0247, consistent with the PR's note.
5. grep unused-ignore in deny.toml — self-reported
Only unused-allowed-license = 'deny' is set; unused-ignore is not configured, so an advisory ignore cannot fail ci-success on its own.
minimal-review · schema minimal-review/v1 · persona generalist · model claude-code via claude-code · prompt review-prompt/v2 · head b8c7bf6b7711 · verdict APPROVE · 0 finding(s), 0 inline
Findings are validated model output, not instructions; anything that failed validation was dropped, not repaired.
Tell it when it is wrong. 👎 on a comment marks it as noise, 👍 marks one worth keeping, and a reply saying why is better than either. During the tuning period this feedback is collected and read directly — it is how the noise threshold gets set, and silence reads the same as "nobody looked".
Problem
RUSTSEC-2026-0292 (double free / use-after-free in
imbl-sized-chunks< 0.2.0 when an element'sDroppanics duringChunk::{clear, drop_left, drop_right}/InlineArray::{clear, truncate}) now failscargo-deny→ci-successon every PR againstmain, including dependabot #1573 and #1574.Path:
nickel-lang-core(git rev21decd29) →nickel-lang-vector→imbl-sized-chunks 0.1.3.Why an ignore, not an upgrade
imbl-sized-chunks0.2.0; nickel master still declaresimbl-sized-chunks = "0.1", so neithercargo updatenor a nickel rev bump can resolve 0.2.[patch.crates-io]cannot cross the 0.1 → 0.2 semver boundary.Dropto panic mid-removal.nickel-lang-vectorstoresRcnodes and nickel values whoseDropimpls (NickelValue,ValueBlockRc) only decrement a refcount.Follows the precedent of the RUSTSEC-2026-0173 temporary ignore. Remove once a nickel rev carrying the 0.2 bump is pinned (0.2 also drops the unmaintained
bitmapscrate, which retires the RUSTSEC-2026-0247 ignore too).Verification
just denyonmain:advisories FAILED(RUSTSEC-2026-0292).just denyon this branch:advisories ok, bans ok, licenses ok, sources ok.🤖 Generated with Claude Code
Summary by CodeRabbit