|
277 | 277 | }; |
278 | 278 |
|
279 | 279 | overlays.default = final: prev: { |
| 280 | + # Patch nginx for multiple CVEs disclosed 2026-05-13, until nixos-25.11 |
| 281 | + # channel advances past the fix (nixpkgs#520076). |
| 282 | + # Remove this overlay once flake.lock points to a nixpkgs with nginx >= 1.30.1. |
| 283 | + nginx = prev.nginx.overrideAttrs (old: { |
| 284 | + patches = (old.patches or [ ]) ++ [ |
| 285 | + (final.fetchpatch { |
| 286 | + name = "CVE-2026-40460.patch"; |
| 287 | + url = "https://github.com/nginx/nginx/commit/f37ec3e5d4f527e52ed5b25951ad8aa7d1ff6266.patch"; |
| 288 | + hash = "sha256-++hYEzMUkl3mbBMaffR2LQTYMxOR/YziNkYCVyhw2Qg="; |
| 289 | + }) |
| 290 | + (final.fetchpatch { |
| 291 | + name = "CVE-2026-40701.patch"; |
| 292 | + url = "https://github.com/nginx/nginx/commit/71841dcedfdf46048ef5e25413fdf97a66957913.patch"; |
| 293 | + hash = "sha256-FzNZpEwIj76r5dpqEP6TgpSc1ywcW7ZOEQpFpwI/YZw="; |
| 294 | + }) |
| 295 | + (final.fetchpatch { |
| 296 | + name = "CVE-2026-42934.patch"; |
| 297 | + url = "https://github.com/nginx/nginx/commit/696a7f1b9198d576e6a59c1655b746fbf06561cf.patch"; |
| 298 | + hash = "sha256-/vjyEGysPv5VK4TZmk/gtIg9Zc5ogUXMwpBfBwe55Bc="; |
| 299 | + }) |
| 300 | + (final.fetchpatch { |
| 301 | + name = "CVE-2026-42945.patch"; |
| 302 | + url = "https://github.com/nginx/nginx/commit/2046b45aa0c6e712c216b9075886f3f26e9b4ca9.patch"; |
| 303 | + hash = "sha256-VK9CXgrCIqORsaRivTZBmkoLyQhbZ07ss6nAbLNvfJM="; |
| 304 | + }) |
| 305 | + (final.fetchpatch { |
| 306 | + name = "CVE-2026-42946.patch"; |
| 307 | + url = "https://github.com/nginx/nginx/commit/baef7fdac28e4e1fe26509b50b8d15603393e28e.patch"; |
| 308 | + hash = "sha256-Z1naMxxiVuDbUcvX3PiIK4CMuSSpUyzPqjix9GTwHmk="; |
| 309 | + }) |
| 310 | + (final.fetchpatch { |
| 311 | + name = "CVE-2026-42946-part-2.patch"; |
| 312 | + url = "https://github.com/nginx/nginx/commit/39d7d0ba0799fcff6baee52b6525f45739593cfd.patch"; |
| 313 | + hash = "sha256-6PwV0iz4kQGGBwVk9129aH+TFzbSx3QSVpp22AoKQY4="; |
| 314 | + }) |
| 315 | + ]; |
| 316 | + }); |
| 317 | + |
280 | 318 | ocf-utils = ocf-utils.packages.${final.stdenv.hostPlatform.system}.default; |
281 | 319 | ocf-jukebox = ocf-jukebox.packages.${final.stdenv.hostPlatform.system}.default; |
282 | 320 | plasma-applet-commandoutput = final.callPackage ./pkgs/plasma-applet-commandoutput.nix { }; |
|
0 commit comments