Better HN
topnewbestaskshowjobs
Log inSign up

averi

97 karma · joined Nov 22, 2012 (14y ago) · 11 submissions

Submissions

comment 7mo ago · link · parent

There's a specific reason why the exploit targets a setuid binary, if you poison it in memory it will be executed with the permissions of the user owning it, in this case root, meaning a setuid(0) + spawning a new shell will effectively give you root access on the host system, this for systems where uid=0 is equivalent inside and outside the container itself. The vulnerability is still there and is deadly serious, with rootless containers the attack vector just increases, the attacker will have to identify other factors (what containers are using a shared base image, what binaries are being called, what binaries should be overridden in memory etc).

On top of this there's another thing worth mentioning, it's a common thing in Openshift (for non rootless podman) to allow CAP_SETGID/CAP_SETUID for being able to create a container within a container (this is called the allowPrivilegeEscalation in SCCs), that effectively grants you the ability to become uid=root in the container and in that scenario uid=0 matches the host uid=0. The important difference is that specific instance of the root user doesn't have CAP_SYS_ADMIN (or most of the other privileged kernel capabilities) meaning the actions the user can then perform are very limited.

comment 7mo ago · link · parent

You can work with the idea of a DNS whitelist, as in you pass a list of allowed DNS entries via your .gitlab-ci.yml (or separate config) resolution happens and those entries (IPs) are stored in a list, any other IP not present in that list gets denied by eBPF (which can easily be used to rewrite the source and destination of a packet before the packet actually reaches the NIC for dispatch)

comment 7mo ago · link · parent

Nowhere in the article is mentioned user namespaces completely mitigate the vulnerability, page cache corruption still happens but not being able to obtain root in the target host increases the attack vector to more than just a one liner into having to figure out whether specific shared base image layers are in use and by whom and by what binaries (think of a shared CI platform like the one we run for GNOME).

4.

CVE-2026-31431: Copy Fail vs. rootless containers(dragonsreach.it ↗)

205 points · by averi · 7mo ago · 123 comments

5.

Help the GNOME Foundation Defend the GNOME Trademark Against Groupon(gnome.org ↗)

25 points · by averi · 12y ago · 2 comments

6.

The Future is Cloudy(dragonsreach.it ↗)

2 points · by averi · 13y ago · discuss

7.

My favorite Wordpress Plugins(dragonsreach.it ↗)

2 points · by averi · 13y ago · discuss

8.

The Linux's perception of my neighbours(dragonsreach.it ↗)

2 points · by averi · 14y ago · discuss