zlib: 1.2.11 -> 1.2.12 (security, CVE-2018-25032)#166451
zlib: 1.2.11 -> 1.2.12 (security, CVE-2018-25032)#166451mweinelt merged 1 commit intoNixOS:staging-nextfrom
Conversation
|
ping @twz123 for review |
5d5b1ca to
9d38202
Compare
|
@GrahamcOfBorg eval |
9d38202 to
7d9ecea
Compare
7d9ecea to
b515b17
Compare
|
Please ping me if no one else merges this within a day or two. |
|
Are we sure we want to send this vulnerability through staging instead of sending it straight to master as a critical fix? It's been very widely shared, and is zlib has a huge number of dependents, meanwhile it could take it a month or more to get through staging, since we just started a cycle. I'm not advocating one way or the other, but want to make sure we make a considered decision. |
|
Directly to master please. |
|
It rebuilds all stdenvs, so binaries won't be there so soon either way. We might want to fix stable sooner than unstable? As for unstable; I wasn't following the current staging-next iteration now (as I'm mostly unavailable this week), so perhaps it might be ready enough to go with this at once (say, merge this to staging-next and then soon to master when a few binaries are there). |
|
Shall I rebase the commit onto staging-next or do you prefer a cherry-pick? |
|
Going via staging-next is only worth it if staging-next is actually in a good state, we have to look into that first. For NixOS 21.11 I think release-21.11 would be preferable, since we have no active staging run there right now. |
Picked that commit into staging-next, please rebase onto staging-next. Backporting will be done by hand as the mentioned PR has already been backported into staging-21.11. |
b515b17 to
c22119d
Compare
This version bump is the official fix for CVE-2018-25032. Release Notes: https://zlib.net/
c22119d to
8cd9c04
Compare
EDIT: split to #167708 |
The Qt-bundled zlib was updated in |
|
I hope we don't use the bundled one, but the commit (or some around it) might contain other necessary changes for newer zlib in Qt. Darwin defaults to Qt 5.12 even on newest nixpkgs... so perhaps that would better get addressed some time, too. |
|
Well the root cause might be similar to PyPy
|
|
This broke support for cross-compiling zlib, causing everything depending on it to break: Commit on which I tested this (merge staging-next to master): b4729ba Maybe this section in the log points to something? (This may well be an upstream issue, but I think it's still valuable to note here) |
This version bump is the official fix for CVE-2018-25032.
Release Notes:
https://zlib.net/
More info on CVE:
https://nvd.nist.gov/vuln/detail/CVE-2018-25032
https://www.openwall.com/lists/oss-security/2022/03/24/1
Description of changes
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)nixos/doc/manual/md-to-db.shto update generated release notes