News for hackers. Stuff that matters.
Re:Docker is vulnerable to a symlink-race attack by jetpks on Tuesday May 28, 2019 @06:51PM (#20035191)
The vulnerability is solved pretty easily by doing your ownership checks _after_ you've opened (but not served) the file. At least, that's how I did it [1]. Despite our pleas and submitted patches, Apache wasn't interested in fixing it upstream.

[1] https://github.com/bluehost/apache-symlink-patch

Re:Docker is vulnerable to a symlink-race attack by cyphar on Tuesday May 28, 2019 @07:23PM (#20035414)
Small correction -- you'd want to O_PATH, then verify, and then do a real open (by doing a re-open through /proc/self/fd). Sometimes, tricking you into opening a file is sufficient to cause problems.