Unfortunately, no, Docker is not a good sandbox, because it prioritizes compatib... (2024)

Unfortunately, no, Docker is not a good sandbox, because it prioritizes compatibility over security while choosing a very wide API (the Linux kernel API) as its security boundary.

Privilege escalation vulnerabilities are found in the Linux kernel fairly regularly -- like, monthly, sometimes weekly. An attacker who can run arbitrary code in your Docker container would only need to wait a couple weeks for the next vulnerability report (or poke around the kernel code and find a new one) and then hit you before you can patch. The most recent example is this batch of CVEs: http://www.openwall.com/lists/oss-security/2015/07/22/7

Part of the problem is that the Linux kernel API is gigantic with lots of obscure features that haven't been carefully vetted. One way to solve this problem is to drastically constrain the attack surface by doing things like using seccomp-bpf to block obscure system calls, not mounting /proc or /sys, etc. Unfortunately doing this will sometimes break apps. Usually the apps can be tweaked to work around the missing features.

Docker is not meant to be a sandbox. Docker is meant to be able to run any arbitrary Linux software. So Docker comes down on the side of compatibility, and does not use attack-surface-reduction techniques (unless you manually configure them, which no one does).

In contrast, Sandstorm.io (of which I am lead developer) prioritizes security over compatibility, and makes attack surface reduction mandatory for all apps. Some docs:

https://docs.sandstorm.io/en/latest/developing/security-prac...

https://blog.sandstorm.io/news/2014-08-13-sandbox-security.h...

The second link is almost exactly a year old, but has proven true: we've seen a lot of kernel exploits in the last year that were non-events for Sandstorm. The above-mentioned CVE, for example, did not affect Sandstorm because we block the modify_ldt syscall.

Note that Google Chrome's sandbox pioneered these techniques -- they originally created seccomp-bpf.

Unfortunately, no, Docker is not a good sandbox, because it prioritizes compatib... (2024)
Top Articles
Cash on Delivery (COD): What It Is and How It Works
Discord Has Become A Great Matchmaking Application For Gamers Around the World
Poe T4 Aisling
Housing near Juneau, WI - craigslist
Enrique Espinosa Melendez Obituary
Hotels
Nco Leadership Center Of Excellence
Do you need a masters to work in private equity?
Dityship
Obituary Times Herald Record
Uc Santa Cruz Events
4302024447
Costco Gas Foster City
Painting Jobs Craigslist
Nyuonsite
Mbta Commuter Rail Lowell Line Schedule
My.tcctrack
Roster Resource Orioles
Clare Briggs Guzman
Babbychula
Sef2 Lewis Structure
Talkstreamlive
Xfinity Cup Race Today
Caring Hearts For Canines Aberdeen Nc
Poochies Liquor Store
Snohomish Hairmasters
Table To Formula Calculator
Paradise Point Animal Hospital With Veterinarians On-The-Go
Bridgestone Tire Dealer Near Me
Half Inning In Which The Home Team Bats Crossword
Petsmart Distribution Center Jobs
Hattie Bartons Brownie Recipe
Strange World Showtimes Near Atlas Cinemas Great Lakes Stadium 16
Mississippi State baseball vs Virginia score, highlights: Bulldogs crumble in the ninth, season ends in NCAA regional
Junee Warehouse | Imamother
Oreillys Federal And Evans
Montrose Colorado Sheriff's Department
Directions To 401 East Chestnut Street Louisville Kentucky
Laurin Funeral Home | Buried In Work
In Polen und Tschechien droht Hochwasser - Brandenburg beobachtet Lage
Craigslist Boats Eugene Oregon
St Anthony Hospital Crown Point Visiting Hours
Achieving and Maintaining 10% Body Fat
Craigslist Malone New York
Atu Bookstore Ozark
Searsport Maine Tide Chart
Walmart Front Door Wreaths
Www Ventusky
O.c Craigslist
Fishing Hook Memorial Tattoo
Texas 4A Baseball
Latest Posts
Article information

Author: Duane Harber

Last Updated:

Views: 6034

Rating: 4 / 5 (71 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Duane Harber

Birthday: 1999-10-17

Address: Apt. 404 9899 Magnolia Roads, Port Royceville, ID 78186

Phone: +186911129794335

Job: Human Hospitality Planner

Hobby: Listening to music, Orienteering, Knapping, Dance, Mountain biking, Fishing, Pottery

Introduction: My name is Duane Harber, I am a modern, clever, handsome, fair, agreeable, inexpensive, beautiful person who loves writing and wants to share my knowledge and understanding with you.