8000 chore(deny): ignore RUSTSEC-2026-0292 until nickel pins imbl-sized-chunks 0.2 by norrietaylor · Pull Request #1576 · gominimal/minimal · GitHub
[go: up one dir, main page]

Skip to content

chore(deny): ignore RUSTSEC-2026-0292 until nickel pins imbl-sized-chunks 0.2 - #1576

Merged
norrietaylor merged 1 commit into
mainfrom
fix/rustsec-2026-0292
Sep 21, 2026
Merged

norrietaylor merged 1 commit into
mainfrom
fix/rustsec-2026-0292

Conversation

@norrietaylor
@norrietaylor norrietaylor commented Sep 21, 2026 •
Copy link
Copy Markdown
Member

Problem

RUSTSEC-2026-0292 (double free / use-after-free in imbl-sized-chunks < 0.2.0 when an element's Drop panics during Chunk::{clear, drop_left, drop_right} / InlineArray::{clear, truncate}) now fails cargo-deny → ci-success on every PR against main, including dependabot #1573 and #1574.

Path: nickel-lang-core (git rev 21decd29) → nickel-lang-vector → imbl-sized-chunks 0.1.3.

Why an ignore, not an upgrade

  • The fix ships only in imbl-sized-chunks 0.2.0; nickel master still declares imbl-sized-chunks = "0.1", so neither cargo update nor a nickel rev bump can resolve 0.2.
  • [patch.crates-io] cannot cross the 0.1 → 0.2 semver boundary.
  • Trigger requires an element's Drop to panic mid-removal. nickel-lang-vector stores Rc nodes and nickel values whose Drop impls (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 bitmaps crate, which retires the RUSTSEC-2026-0247 ignore too).

Verification

  • just deny on main: advisories FAILED (RUSTSEC-2026-0292).
  • just deny on this branch: advisories ok, bans ok, licenses ok, sources ok.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Documented a known transitive dependency security advisory and temporarily configured it to be ignored.
    • Recorded the affected dependency path and the planned resolution once a fixed release is adopted.

…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>
@norrietaylor
norrietaylor requested a review from a team as a code owner September 21, 2026 21:02
@coderabbitai
coderabbitai Bot commented Sep 21, 2026 •
Copy link
Copy Markdown
Contributor

Review Change StackReview Change Stack

Understand this PR’s impact

Explore downstream dependencies and potential security impact with Blast Radius.

View blast radius →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Essentials

Run ID: e2cd92f1-0a4b-41f9-87d4-b314a89f0e12

📥 Commits

Reviewing files that changed from the base of the PR and between 25d38aa and b8c7bf6.

📒 Files selected for processing (1)
  • deny.toml

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.


📝 Walkthrough

Walkthrough

The advisory configuration now ignores RUSTSEC-2026-0292 and documents its transitive dependency path, non-triggering behavior, and removal condition.

Changes

Advisory Ignore

Layer / File(s) Summary
Document the ignored advisory
deny.toml
Adds RUSTSEC-2026-0292 to the ignored advisories and documents the affected versions, dependency path, Drop behavior, and expected removal condition.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: evanspearman

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the temporary cargo-deny advisory ignore and the dependency condition that requires it. It follows the repository's Conventional Commit format.
Description check ✅ Passed The description explains the problem, dependency path, reason for the temporary ignore, removal condition, and verification results. It does not use the template's exact Summary and Testing headings o…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

A rabbit checks the advisory gate
Six careful lines keep warnings straight
The unsafe trail is clearly shown
Until the fixed release is known
Then hops the ignore away

Comment @coderabbitai help to get the list of available commands.

@minimal-foundry minimal-foundry Bot left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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".

@minimal-foundry minimal-foundry Bot added the review:approved minimal-review approved the current head label Sep 21, 2026
@norrietaylor
norrietaylor merged commit 4368d63 into main Sep 21, 2026
33 checks passed
@norrietaylor
norrietaylor deleted the fix/rustsec-2026-0292 branch September 21, 2026 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review:approved minimal-review approved the current head

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0