Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd: fix CVE-2019-15718 #68032

Merged
merged 1 commit into from Sep 6, 2019
Merged

systemd: fix CVE-2019-15718 #68032

merged 1 commit into from Sep 6, 2019

Conversation

@andir
Copy link
Member

andir commented Sep 3, 2019

Motivation for this change

More details at: https://www.openwall.com/lists/oss-security/2019/09/03/1

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @NixOS/security-notifications

Copy link
Member

NeQuissimus left a comment

LGTM. This should probably be followed up by a full systemd upgrade against staging (?)

@andir

This comment has been minimized.

Copy link
Member Author

andir commented Sep 3, 2019

LGTM. This should probably be followed up by a full systemd upgrade against staging (?)

I am already working on systemd v243 at https://github.com/andir/nixpkgs/tree/systemd-v243 & https://github.com/andir/systemd/tree/nixos-v243. It currently fails with some install error. Must have missed a case in the new version bump. This has to be done with care and patience so we do not cause more harm then good. I'll work on that during the next days.

@vcunat

This comment has been minimized.

Copy link
Member

vcunat commented Sep 4, 2019

22k rebuilds. What about squashing it into the current staging-next iteration? (We have e.g. Firefox and Python CVEs in there.)

vcunat added a commit that referenced this pull request Sep 4, 2019
@vcunat
vcunat approved these changes Sep 4, 2019
Copy link
Member

vcunat left a comment

Well, I don't think anyone will be for this going later than the current staging-next iteration, so I merged it there in any case (so hopefully Hydra can save some work).

@NeQuissimus

This comment has been minimized.

Copy link
Member

NeQuissimus commented Sep 4, 2019

@vcunat I don't mean to hijack this but is there a doc outlining what should go towards staging, staging-next, master? Are there explicit rules or do you do it by gut-feeling? :)

@vcunat

This comment has been minimized.

Copy link
Member

vcunat commented Sep 4, 2019

@NeQuissimus: that's not hijacking, it's perfectly on topic. The RFC says:

staging-next is branched from staging and only fixes to stabilize and security fixes shall be delivered to this branch. This branch shall be merged into master when deemed of sufficiently high quality.

@FRidh FRidh merged commit cde7715 into NixOS:master Sep 6, 2019
16 checks passed
16 checks passed
systemd on x86_64-darwin No attempt
Details
Evaluation Performance Report Evaluator Performance Report
Details
grahamcofborg-eval ^.^!
Details
grahamcofborg-eval-check-maintainers matching changed paths to changed attrs...
Details
grahamcofborg-eval-check-meta config.nix: checkMeta = true
Details
grahamcofborg-eval-darwin nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A darwin-tested
Details
grahamcofborg-eval-nixos nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./nixos/release-combined.nix -A tested
Details
grahamcofborg-eval-nixos-manual nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./nixos/release.nix -A manual
Details
grahamcofborg-eval-nixos-options nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./nixos/release.nix -A options
Details
grahamcofborg-eval-nixpkgs-manual nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A manual
Details
grahamcofborg-eval-nixpkgs-tarball nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A tarball
Details
grahamcofborg-eval-nixpkgs-unstable-jobset nix-instantiate --arg nixpkgs { outPath=./.; revCount=999999; shortRev="ofborg"; } ./pkgs/top-level/release.nix -A unstable
Details
grahamcofborg-eval-package-list nix-env -qa --json --file .
Details
grahamcofborg-eval-package-list-no-aliases nix-env -qa --json --file . --arg config { allowAliases = false; }
Details
systemd on aarch64-linux Success
Details
systemd on x86_64-linux Success
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.