Repository navigation
glibc: 2.42-51 -> 2.42-58, fix CVE-2026-4437 - #503779
Conversation
philiptaron
left a comment
There was a problem hiding this comment.
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.
Wasn't backported to the 2.42 branch when I bumped for CVE-2026-4437 (#503779).
Wasn't backported to the 2.42 branch when I bumped for CVE-2026-4437 (NixOS#503779).
Wasn't backported to the 2.42 branch when I bumped for CVE-2026-4437 (NixOS#503779).
Wasn't backported to the 2.42 branch when I bumped for CVE-2026-4437 (NixOS#503779).
Closes #502536
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.