# Container running cve-2022-0185 crash POC

This is a docker container that runs the [crash POC](crash.c) 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.
## Run it
**To be clear, if you're vulnerable that will crash your server!**
### Docker
`docker run docker.io/fish/cve-2022-0185-crash-poc`
You can also build it yourself:
```
docker build -t crashtest .
docker run crashtest
```
### Kubernetes
`kubectl apply -f pod.yaml`
[4.0K] /data/pocs/9de84a989d06acfcc2d50514a96b802bafe4b91f
├── [ 829] crash.c
├── [ 267] Dockerfile
├── [ 186] pod.yaml
└── [ 730] README.md
0 directories, 4 files