This is a docker container that runs the crash POC from https://www.willsroot.io/2022/01/cve-2022-0185.html.
The container runs unprivileged as UID 65534. You can also use docker run -u
or set a security context with RunAsUser additionally, all should yield the same
result.
To be clear, if you're vulnerable that will crash your server!
docker run docker.io/fish/cve-2022-0185-crash-poc
You can also build it yourself:
docker build -t crashtest .
docker run crashtest
kubectl apply -f pod.yaml