From gbhackers.com
Researchers discovered a critical vulnerability in Docker that allows an attacker to take complete control of the host and the containers associated with it.
The Docker vulnerability resides in the copy command (cp) used in containers platforms such as Docker, Podman, and Kubernetes. This command can be used to copy files & folders between the container and the local file system.
The commands can be used like below:
docker cp [OPTIONS] CONTAINER:SRC_PATH DEST_PATH|- docker cp [OPTIONS] SRC_PATH|- CONTAINER:DEST_PATH