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

Erlang CVE-2017-1000385 erlangR{18,19,20} #32443

Merged
merged 4 commits into from Dec 8, 2017

Conversation

andir
Copy link
Member

@andir andir commented Dec 8, 2017

Motivation for this change

Closing CVE-2017-1000385 in erlangR{18,19,20}.

We are also carrying versions of R16, R16-basho & R17 around that are no longer receiving any kinds of updates as far as I can tell.

It should be considered to remove those or at least mark them as unsupported (meta.broken = true, …).

CC maintainers: @the-kenny @sjmackenzie @couchemar @gleber

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.

@gleber
Copy link
Contributor

gleber commented Dec 8, 2017 via email

@LnL7
Copy link
Member

LnL7 commented Dec 8, 2017

Packages can be marked as insecure. Are R16 and R17 still used by other stuff?

erlangR16 doesn't receive any upstream updates anymore and none of our
packages depend on it.
@andir
Copy link
Member Author

andir commented Dec 8, 2017

There wasn't any package depending on erlangR17 or R16 so I added two commits removing those versions.

@LnL7
Copy link
Member

LnL7 commented Dec 8, 2017

@GrahamcOfBorg eval

@andir
Copy link
Member Author

andir commented Dec 8, 2017

oh, that one is obvious...

@andir
Copy link
Member Author

andir commented Dec 8, 2017

So apparently couchdb still depends on R17. According to their documentation (for the version that we ship in unstable) it is fine with <=R19: http://docs.couchdb.org/en/2.1.1/install/unix.html#dependencies

I could probably just bump that as well... It seems to move out of scope for this PR tho..

@LnL7
Copy link
Member

LnL7 commented Dec 8, 2017

Can you drop the R17 commit, then we should be able to merge it.

@andir
Copy link
Member Author

andir commented Dec 8, 2017

done

@LnL7 LnL7 merged commit 5bc910a into NixOS:master Dec 8, 2017
@LnL7
Copy link
Member

LnL7 commented Dec 8, 2017

Thanks! Marked R17 as insecure in 7d85f1b and 42d4371.

@LnL7 LnL7 added the 8.has: port to stable A PR already has a backport to the stable release. label Dec 8, 2017
@LnL7
Copy link
Member

LnL7 commented Dec 8, 2017

Backported to 17.09 in 414c57b etc.

@andir andir deleted the erlang-cve-2017-1000385 branch December 8, 2017 12:30
andir added a commit to andir/nixpkgs that referenced this pull request Dec 8, 2017
LnL7 pushed a commit that referenced this pull request Dec 9, 2017
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

4 participants