• 0 Posts
  • 92 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle


  • adding PPAs or RPM repos, or installing things from source, I’d say that number is a lot higher than 0.

    Nothing wrong with that. Unlike docker that’s cryptographically protected toolchain/buildchain/depchain. Thus, a PPA owner is much less likely to get compromised.

    Installing things from source in a secure environment is about as safe as you can get, when obtaining the source securely.

    Docker contains that nonsense in a way that’s easy to update.

    Really? Ist there already a builtin way to update all installed docker containers?

    What’s uneasy about apt full-upgrade?

    Package managers don’t provide a sandbox.

    I didn’t say that.

    average user who doesn’t run updates consistently, may add sketchy dependencies, and doesn’t audit things would be better off with Docker.

    That’s false.

    but they’re less likely to cause widespread issues since each is in its own sandbox.

    Also false. Sandbox evasion is very easy and the next local PE kernel vulnerability only weeks away. Also VM evasion is a thing.

    Basically one compromised container giving local execution is enough to pwn your complete host.


  • in the same way that installing a malware-laden executable isn’t an OS problem

    except no one is doing that. Every major distro hast mechanisms for software supply chain security and reproducible builds.

    Do your due diligence, especially if you’re not a developer and thus looking at the Dockerfiles is impractical.

    You’re on to something here. If you automate that process, you end up with something we call a package manager.

    it’s likely blog posts and users that are at fault.

    Exactly. And sincer reviewing Dockerfiles is impractical, there’s no way docker prevents you from shooting your own foot. Distros learned that long ago: Insecure default configs or injected dependencies are a thing of the past there. With docker, those get reintroduced.



  • This entirely misses the point of Docker.

    It’s just pointing out the risk of letting someone you don’t know with no legal obligations setup your complete environment.

    How likely

    Probably as likely as someone cracking your really secure ssh password. Still, any sane expert will recommend disabling password auth.

    I only pull containers based on some official project.

    How do you know they weren’t compromised?

    but I don’t see anything here about Docker itself being a problem

    The problem is that rootless docker is a pain and no one does it. Privileged software sideloading other software is a huge risk.

    That risk now became an incident. Even if you’re not affected, the risk still remains.