Skip to content

brotli: 1.2.0 -> 1.2.1 - #577208

Merged
aduh95 merged 1 commit into
NixOS:stagingfrom
aduh95:brotli
Oct 22, 2026
Merged

aduh95 merged 1 commit into
NixOS:stagingfrom
aduh95:brotli

Conversation

@aduh95

@aduh95 aduh95 commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

brotli has cut a new release: https://github.com/google/brotli/releases#release-v1.2.1

Things done

@aduh95 aduh95 added 1.severity: security Issues which raise a security issue, or PRs that fix one backport staging-next-26.05 Backport PR automatically labels Oct 22, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested a review from mdaniels5757 October 22, 2026 07:02
@nixpkgs-ci nixpkgs-ci Bot added 8.has: package (update) This PR updates a package to a newer version 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". labels Oct 22, 2026
@aduh95 aduh95 mentioned this pull request Oct 22, 2026
1 of 13 tasks
@Vortriz

Vortriz commented Oct 22, 2026

Copy link
Copy Markdown

The other patch can also be removed.

@aduh95

aduh95 commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor Author

The other patch can also be removed.

AFAICt no. Why do you think that?

https://github.com/google/brotli/compare/v1.2.0…v1.2.1

@Vortriz

Vortriz commented Oct 22, 2026

Copy link
Copy Markdown

ohh, my bad then

@aduh95
aduh95 added this pull request to the merge queue Oct 22, 2026
Merged via the queue into NixOS:staging with commit 664dc18 Oct 22, 2026
38 checks passed
@aduh95
aduh95 deleted the brotli branch October 22, 2026 08:52
@nixpkgs-ci

nixpkgs-ci Bot commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Successfully created backport PR for staging-next-26.05:

@github-actions github-actions Bot added the 8.has: port to stable This PR already has a backport to the stable release. label Oct 22, 2026
mmango7474 added a commit to alinaos-org/openclaw-nix that referenced this pull request Oct 22, 2026
OpenClaw 2026.10.6 refuses to start on Node older than 24.22.1, the October
2026 security release (src/infra/runtime-guard.ts); nixpkgs has 24.22.1 on
staging only (NixOS/nixpkgs#576777). packages/nodejs.nix is nixpkgs' own Node
24 build of the 24.22.1 source (nixpkgs' 24.22.0 and 24.22.1 bumps changed the
version and hash only), and nixpkgs' nodejs_24 unchanged once it reaches that.

24.22.1 also uses a constant from brotli 1.2.1's fix for the same CVE
(CVE-2026-111497: BROTLI_DECODER_ERROR_FORMAT_BLOCK_SWITCH), and nixpkgs links
Node against the system brotli, 1.2.0 here: the first build failed in
node_zlib.cc. That Node gets brotli 1.2.1, as staging has it
(NixOS/nixpkgs#577208, version and hash only), through v24.nix's callPackage.

Only the OpenClaw build uses them: packages/gateway, and the hotfix layer and
the workstation graft now run their tests on the gateway's own Node
(gateway.passthru.node, as packages/custom and the state fence already do). A
host's own nodejs_24 and brotli are untouched. The recipe's pnpm stays on its
Node 22: pnpm does not check the engines field here (2026.10.5 already required
Node 24). Gateway revision nix.4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
mmango7474 added a commit to alinaos-org/openclaw-nix that referenced this pull request Oct 22, 2026
OpenClaw 2026.10.6 refuses to start on Node older than 24.22.1, the October
2026 security release (src/infra/runtime-guard.ts); nixpkgs has 24.22.1 on
staging only (NixOS/nixpkgs#576777). packages/nodejs.nix is nixpkgs' own Node
24 build of the 24.22.1 source (nixpkgs' 24.22.0 and 24.22.1 bumps changed the
version and hash only), and nixpkgs' nodejs_24 unchanged once it reaches that.

24.22.1 also uses a constant from brotli 1.2.1's fix for the same CVE
(CVE-2026-111497: BROTLI_DECODER_ERROR_FORMAT_BLOCK_SWITCH), and nixpkgs links
Node against the system brotli, 1.2.0 here: the first build failed in
node_zlib.cc. That Node gets brotli 1.2.1, as staging has it
(NixOS/nixpkgs#577208, version and hash only), through v24.nix's callPackage.

Only the OpenClaw build uses them: packages/gateway, and the hotfix layer and
the workstation graft now run their tests on the gateway's own Node
(gateway.passthru.node, as packages/custom and the state fence already do). A
host's own nodejs_24 and brotli are untouched. The recipe's pnpm stays on its
Node 22: pnpm does not check the engines field here (2026.10.5 already required
Node 24). Gateway revision nix.4.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@mdaniels5757 mdaniels5757 mentioned this pull request Oct 23, 2026
2 of 13 tasks
@LeSuisse LeSuisse linked an issue Oct 23, 2026 that may be closed by this pull request
@vifino

vifino commented Nov 2, 2026

Copy link
Copy Markdown
Member

Do I understand it correctly that nixos-unstable has not yet moved to a patched CVE-2026-111497, almost two weeks after this PR?

@aduh95

aduh95 commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 2.status: merge-bot eligible This PR can be merged by commenting "@NixOS/nixpkgs-merge-bot merge". 8.has: package (update) This PR updates a package to a newer version 8.has: port to stable This PR already has a backport to the stable release. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. backport staging-next-26.05 Backport PR automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Out-of-Bounds Write in Google Brotli Decoder

3 participants