Skip to content

glibc: 2.42-51 -> 2.42-58, fix CVE-2026-4437 - #503779

Merged
Ma27 merged 1 commit into
NixOS:stagingfrom
Ma27:bump-glibc
Mar 27, 2026
Merged

Ma27 merged 1 commit into
NixOS:stagingfrom
Ma27:bump-glibc

Conversation

@Ma27

@Ma27 Ma27 commented Mar 26, 2026 •

Copy link
Copy Markdown
Member

Closes #502536

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@Ma27 Ma27 added the 1.severity: security Issues which raise a security issue, or PRs that fix one label Mar 26, 2026
@Ma27 Ma27 mentioned this pull request Mar 26, 2026
23 of 36 tasks
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Mar 26, 2026
@Ma27
Ma27 marked this pull request as ready for review March 26, 2026 16:40

@philiptaron philiptaron 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.

From the patch that fixes it:

resolv: Count records correctly (CVE-2026-4437)

The answer section boundary was previously ignored, and the code in getanswer_ptr would iterate past the last resource record, but not beyond the end of the returned data. This could lead to subsequent data being interpreted as answer records, thus violating the DNS specification. Such resource records could be maliciously crafted and hidden from other tooling, but processed by the glibc stub resolver and acted upon by the application. While we trust the data returned by the configured recursive resolvers, we should not trust its format and should validate it as required. It is a security issue to incorrectly process the DNS protocol.

It's a parser differential attack.

I'll do a build.

@nixpkgs-ci
nixpkgs-ci Bot requested review from a team, ConnorBaker, Ericson2314 and balsoft and removed request for a team March 26, 2026 17:00
@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Mar 26, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested a review from a team March 26, 2026 17:33
@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Mar 27, 2026
@Ma27
Ma27 added this pull request to the merge queue Mar 27, 2026
Merged via the queue into NixOS:staging with commit a1230f6 Mar 27, 2026
35 of 37 checks passed
@Ma27
Ma27 deleted the bump-glibc branch March 27, 2026 07:18
@balsoft balsoft moved this from Needs Review to Reviewed in Nixpkgs security review Mar 27, 2026
@Ma27 Ma27 mentioned this pull request Apr 4, 2026
3 of 13 tasks
github-merge-queue Bot pushed a commit that referenced this pull request Apr 4, 2026
Wasn't backported to the 2.42 branch when I bumped for CVE-2026-4437 (#503779).
fabaff pushed a commit to fabaff/nixpkgs that referenced this pull request Apr 9, 2026
Wasn't backported to the 2.42 branch when I bumped for CVE-2026-4437 (NixOS#503779).
fabaff pushed a commit to fabaff/nixpkgs that referenced this pull request Apr 9, 2026
Wasn't backported to the 2.42 branch when I bumped for CVE-2026-4437 (NixOS#503779).
sarahec pushed a commit to sarahec/nixpkgs that referenced this pull request Apr 19, 2026
sarahec pushed a commit to sarahec/nixpkgs that referenced this pull request Apr 19, 2026
Wasn't backported to the 2.42 branch when I bumped for CVE-2026-4437 (NixOS#503779).
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 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 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-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants