community.docker/changelogs/fragments/inventory-rce.yml
Felix Fontein e2e1bc796b
Prevent RCE via inventory plugins (#815) (#818)
* Prevent RCE via inventory plugins.

* Do not make ansible_connection unsafe.

* Add test.

(cherry picked from commit bf1281ae7f)
2024-03-14 22:09:57 +01:00

3 lines
440 B
YAML

security_fixes:
- "docker_containers, docker_machine, and docker_swarm inventory plugins - make sure all data received from the Docker daemon / Docker machine is marked as unsafe, so remote code execution by obtaining texts that can be evaluated as templates is not possible (https://www.die-welt.net/2024/03/remote-code-execution-in-ansible-dynamic-inventory-plugins/, https://github.com/ansible-collections/community.docker/pull/815)."