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

Use seccomp instead of setsid() to workaround CVE-2017-5226 #150

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Commits on Jan 16, 2017

  1. Use seccomp instead of setsid() to workaround CVE-2017-5226

    The setsid() workaround of
    containers#143 is problematic,
    because it e.g. breaks shell job control for bubblewrap instances.
    So, instead we use a seccomp approach based on:
     util-linux/util-linux@8e49250
    However, since we don't want to pull in any more dependencies into
    the setuid binary we pre-compile the seccomp code during the build.
    
    If libseccomp is not available on your architecture, we still support
    the old fix with --disable-seccomp-tty-fix.
    
    This fixes containers#147
    alexlarsson committed Jan 16, 2017
    Configuration menu
    Copy the full SHA
    0f43ae1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ba31118 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7777190 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c705959 View commit details
    Browse the repository at this point in the history