yaobin.wen

Yaobin's Blog

View on GitHub
21 March 2022

What I have learned so far about the Ubuntu mitigation on CVE-2022-25636

by yaobin.wen

The other day I learned about the security issue on Linux netfilter, i.e. CVE-2022-25636. [1] The official web page regarding this issue on Ubuntu provides the following mitigation:

Disable unprivileged user namespaces to restrict access to privileged
users (have CAP_NET_ADMIN) via the kernel.unprivileged_userns_clone
sysctl:
  $ sudo sysctl kernel.unprivileged_userns_clone=0

My work project uses Docker and we want to understand what the potential impact could be on the use of Docker if we applied this mitigation. So I spent some time during the past weekend to read about the related topics.

I read the following documents:

I didn’t read but want to read the blog [7] The Discovery and Exploitation of CVE-2022-25636 by Nick Gregory who discovered CVE-2022-25636. I also tried the code [8] Bonfee/CVE-2022-25636.

My findings and understanding so far are as follows:

Tags: Tech