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

libvorbis: Fix CVE-2017-14160, CVE-2017-14632 & CVE-2017-14633 #33662

Merged
merged 1 commit into from Jan 11, 2018

Conversation

adisbladis
Copy link
Member

@adisbladis adisbladis commented Jan 9, 2018

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-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 nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Tested a few applications using libvorbis and ogg works fine in all the tested ones.

@adisbladis
Copy link
Member Author

cc @ehmry

@globin
Copy link
Member

globin commented Jan 11, 2018

@GrahamcOfBorg build libvorbis darkice

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failure for system: aarch64-linux

Package ‘faac-1.29.9.2’ in /var/lib/gc-of-borg/nix-test-rs-2/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-aarch64-community-2/pkgs/development/libraries/faac/default.nix:32 has an unfree license (‘unfreeRedistributable’), refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failure for system: x86_64-linux

Package ‘faac-1.29.9.2’ in /var/lib/gc-of-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/globin-server/pkgs/development/libraries/faac/default.nix:32 has an unfree license (‘unfreeRedistributable’), refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.

@globin
Copy link
Member

globin commented Jan 11, 2018

@GrahamcOfBorg build libvorbis icecast

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Success for system: x86_64-linux

make[1]: Leaving directory '/tmp/nix-build-icecast-2.4.3.drv-0/icecast-2.4.3'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/vfdrsql615rp737lncbc857pda24gsay-icecast-2.4.3
shrinking /nix/store/vfdrsql615rp737lncbc857pda24gsay-icecast-2.4.3/bin/icecast
strip is /nix/store/wxn5gn8amxm1w0ikcx4gbs8a17wvss4j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/vfdrsql615rp737lncbc857pda24gsay-icecast-2.4.3/bin 
patching script interpreter paths in /nix/store/vfdrsql615rp737lncbc857pda24gsay-icecast-2.4.3
checking for references to /tmp/nix-build-icecast-2.4.3.drv-0 in /nix/store/vfdrsql615rp737lncbc857pda24gsay-icecast-2.4.3...
/nix/store/1xj62czsfqg64s45ijn7aa14cd9yrd09-libvorbis-1.3.5
/nix/store/vfdrsql615rp737lncbc857pda24gsay-icecast-2.4.3

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Success for system: aarch64-linux

make[1]: Leaving directory '/build/icecast-2.4.3'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/h12ms7rv1x1vsp20r216yfy78d4ghw7w-icecast-2.4.3
shrinking /nix/store/h12ms7rv1x1vsp20r216yfy78d4ghw7w-icecast-2.4.3/bin/icecast
strip is /nix/store/c6qj0j45xizkrx58i65j75a5ysmqhgrs-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/h12ms7rv1x1vsp20r216yfy78d4ghw7w-icecast-2.4.3/bin
patching script interpreter paths in /nix/store/h12ms7rv1x1vsp20r216yfy78d4ghw7w-icecast-2.4.3
checking for references to /build in /nix/store/h12ms7rv1x1vsp20r216yfy78d4ghw7w-icecast-2.4.3...
/nix/store/wv6nm3p4lsbwr4xiixrwgxkykkh5cwdg-libvorbis-1.3.5
/nix/store/h12ms7rv1x1vsp20r216yfy78d4ghw7w-icecast-2.4.3

@globin globin merged commit 15b1432 into NixOS:master Jan 11, 2018
Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failure for system: x86_64-darwin

Package ‘alsa-lib-1.1.5’ in /Users/graham/nix-borg/repo/38dca4e3aa6bca43ea96d2fcc04e8229/builder/grahamc-zoidberg/pkgs/os-specific/linux/alsa-lib/default.nix:32 is not supported on ‘x86_64-darwin’, refusing to evaluate.

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowBroken = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowBroken = true; }
to ~/.config/nixpkgs/config.nix.

Copy link

@GrahamcOfBorg GrahamcOfBorg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Success for system: x86_64-darwin

  /nix/store/6pghh4kmy1nif140mbiy2ijqs7c76xxi-libtheora-1.1.1
  /nix/store/6xcl7fxja4yq5xkbsalbrmifjyjp1ac3-speex-1.2rc2
  /nix/store/bxsp838d85fa90kyiyp1c6drrrdw24mn-icecast-2.4.3
  /nix/store/si30ksp1fda7sjviwhfh1skfi8z1kpy4-libvorbis-1.3.5
copying path '/nix/store/si30ksp1fda7sjviwhfh1skfi8z1kpy4-libvorbis-1.3.5' from 'https://cache.nixos.org'...
copying path '/nix/store/6pghh4kmy1nif140mbiy2ijqs7c76xxi-libtheora-1.1.1' from 'https://cache.nixos.org'...
copying path '/nix/store/6xcl7fxja4yq5xkbsalbrmifjyjp1ac3-speex-1.2rc2' from 'https://cache.nixos.org'...
copying path '/nix/store/bxsp838d85fa90kyiyp1c6drrrdw24mn-icecast-2.4.3' from 'https://cache.nixos.org'...
/nix/store/si30ksp1fda7sjviwhfh1skfi8z1kpy4-libvorbis-1.3.5
/nix/store/bxsp838d85fa90kyiyp1c6drrrdw24mn-icecast-2.4.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants