Re:Kata Containers – The speed of containers, the security o...
by chatmasta on Thursday December 07, 2017 @03:33PM
(#15873840)
> Bugs in syscalls in FreeBSD aren't unheard of though, even if less commonly found than Linux.
Dangerous assumption.
More likely, there are fewer people looking for vulnerabilities in BSD than in Linux.
Re:Kata Containers – The speed of containers, the security o...
by jchw on Thursday December 07, 2017 @03:43PM
(#15873963)
Well, I did say
>less commonly found
rather than less common. Impossible to know with 100% certainty what's literally less common.
If I had to guess, I'd guess FreeBSD had less bugs in general, just because the surface is generally smaller, and the system is more homogeneous.
Re:Kata Containers – The speed of containers, the security o...
by benmmurphy on Thursday December 07, 2017 @09:43AM
(#15870329)
i believe there was an exploit by another team which used badiret. which is pretty hilarious because badiret has been patched ages ago but FreeBSD never told anyone they fixed it.
Re:Kata Containers – The speed of containers, the security o...
by GalacticDomin8r on Thursday December 07, 2017 @10:17AM
(#15870707)
You mean like this?
https://www.freebsd.org/security/advisories/FreeBSD-SA-15:21...
Re:Kata Containers – The speed of containers, the security o...
by benmmurphy on Thursday December 07, 2017 @10:33AM
(#15870895)
yeah it was fixed in 2014 and there wasn't an advisory until 2015. https://reviews.freebsd.org/rS275833
hn discussion: https://news.ycombinator.com/item?id=10093862
But when we say "elevated privileges" are we talking root inside of a jail? Because if that breaks jails, then a large class of Docker exploits also wouldn't classify as 'exploits' under that criteria. One of the biggest problems with Linux namespaces is the band-aid put over root, via capabilities.
As far as I know, though, the PS4 exploit was more Sony's fault. IIRC, they broke out of the jail by exploiting custom syscalls not in stock FreeBSD. Bugs in syscalls in FreeBSD aren't unheard of though, even if less commonly found than Linux.
My entire point is that good security implies not treating any solution as a panacea, lest you find yourself in a digital Titanic scenario. Multiple layers of solid security beats one layer of solid security.