4 ms·
Blog claims Alpine is based around being secure and light weight...but gives no indication on why it is secure. Oh, lightweight because of busy box? Is there
by jmspring 11y ago
Blog claims Alpine is based around being secure and light weight...but gives no indication on why it is secure. Oh, lightweight because of busy box? Is there scrutiny on packages installed? I don't see the security component.
Maybe Docker can reveal more there, though given how they iterate and things break, I'm not sure they are willing (or capable).
- hiou 11y agoFrom the article > 2. Security is improved as the image has a smaller footprint thus making the attack surface also smaller Not saying you need to agree with that. But that does appear to be at least an "indication"
- jmspring 11y agoImage footprint has nothing to do with the packages installed in that image. This is complete hogwash from a security point of view. Yes "smaller" could = "more secure", but, yeah, no.
- nickpsecurity 11y agoRemind them that DOS was pretty small. Must be way more secure than Linux due to reduced attack surface. ;)
- viraptor 11y agoFrom the Alpine linux site: "Alpine Linux was designed with security in mind. The kernel is patched with grsecurity/PaX out of the box, and all userland binaries are compiled as Position Independent Executables (PIE) with stack smashing protection. These proactive security features prevent exploitation of entire classes of zero-day and other vulnerabilities." I got excited, but then remembered - grsec will not affect containers. Neither will PaX unfortunately. PIE + stack smashing protection is already available in most serious distros. From the basic info I can find, I don't see a huge difference. For comparison Ubuntu provides its list here: https://wiki.ubuntu.com/Security/Features https://wiki.ubuntu.com/Security/Features It's similar to Fedora: https://fedoraproject.org/wiki/Security_Features_Matrix https://fedoraproject.org/wiki/Security_Features_Matrix And to Arch (no nice table though) https://wiki.archlinux.org/index.php/DeveloperWiki:Security https://wiki.archlinux.org/index.php/DeveloperWiki:Security - Alpine doesn't seem to provide similar summary. [edit: sorry, I stealth-edited the realisation]
- kalmi10 11y agoContainerization uses the host's kernel, so it doesn't matter what the kernel is in the image. Edit: I see your edit. Yep.
- jwatte 11y agoHaving less crap in by default reduces the attack surface area. Having a smaller libc makes it easier to audit. (It still needs to actually be audited of course)
- mverwijs 11y agoThis does not give me a vote of confidence: http://lists.alpinelinux.org/alpine-security/ http://lists.alpinelinux.org/alpine-security/