← Back to Pull requests

fuzz: tar 8 under cmake-js, out of GHSA-25mm-r35j-6hgm #281

Merged
askalf merged 3 files (270 lines) on Dec 01, 2026 22:00 UTC
View on GitHub
askalf askalf commented on Dec 01, 2026 21:42 UTC
Author

Fixes the open Dependabot alert on the fuzz build's lockfile: tar 7.5.22 has GHSA-25mm-r35j-6hgm (CVE-2026-140252: UnpackSync never finishes a sync extraction after a failing entry), fixed in 8.0.0.

Why an override. tar comes in as @jazzer.js/core 4.0.0 → @jazzer.js/fuzzer 4.0.0 → cmake-js 8.0.0 → tar. cmake-js, at its latest, still declares tar ^7.5.6, and Jazzer.js 4.0.0 is its latest too, so no update within the declared ranges reaches 8.0.0 and Dependabot opened no PR. .clusterfuzzlite/package.json now sets "overrides": { "tar": "^8.0.0" }, with the reason beside it (//overrides) and when to drop it (once cmake-js accepts tar 8).

Why it is safe to take tar past cmake-js's range. This build never runs cmake-js:

  • @jazzer.js/fuzzer loads its addon from the prebuilds/ it ships (dist/addon.js), linux-x64 among them; cmake-js is in its prebuild script only, which an install does not run.

  • No package in the lockfile has an install script, before or after.

  • No file under @jazzer.js requires or imports cmake-js or tar.
  • What the lockfile changes. tar 7.5.22 → 8.0.4. tar 8 bundles what 7.x took as separate packages, so @isaacs/fs-minipass, chownr, minipass, minizlib and tar's own yallist leave the lock. Nothing else moves; Jazzer.js stays 4.0.0.

    Untrusted inputs and sinks. The lockfile's integrity hashes are what npm ci installs against (fuzz.yml, build.sh). The new entry is tar 8.0.4 from the npm registry, resolved and hashed by npm itself.

    Checks (on a Linux host with Node 22, as nobody)

  • npm install --package-lock-only --ignore-scripts with the override wrote this lockfile; npm ci --prefix .clusterfuzzlite as fuzz.yml runs it installed it (tar 8.0.4).

  • FUZZ_SECONDS=10 node fuzz/run.mjs on that install: all four targets ran, exit 0, no crash.

  • A local Redline read of this commit before the push: APPROVE, no findings.

  • The OSS-Fuzz image build (cflite.yml) is dispatched on this branch once it is pushed. There is no mutant run: the change is a dependency pin and its lockfile, with no code for a mutant to change; the install and the fuzz run above are its test.
  • Diff: 270 lines (+202 / -68) across 3 files Reviewer: None requested Review duration: 17m
    All Vouch review confidence checks passed
    Residual risk 0.29 = Change Risk (0.51) × (1 − Review Confidence (0.44)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.51 · 270 lines diff across 3 files
    0.51
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 10%
    44%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.335
    No Reviewer Assigned no_reviewer_assigned
    0.120
    Real PR Conversation Timeline
    1 comments
    "Review active on #281"
    general weight: 0.35
    Reviewers
    None requested
    Assignees
    askalf askalf
    Labels
    risk: low confidence: 44.2% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 51.4% (MEDIUM) · Higher = larger blast radius
    51.4%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 44.2% · Lower = rushed or shallow review
    44.2%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 28.7% · Safe to merge
    28.7%
    Repository