Dockerfile
Uses python:3.6-bullseye base image, copies the entire build context into /nameko, installs nameko 2.13.0, and sets the default command to run nameko with the malicious.yml config.
Dockerfile:1-6Nameko Arbitrary code execution due to YAML deserialization
EIP currently links 1 repository PoC and 1 lab environment to CVE-2021-41078.
| Product | Source | Version range | Status |
|---|---|---|---|
namekoBrowse PyPI / nameko | GitHub Advisory | Before 2.14.0 · Fixed in 2.14.0 | affected |
| 3.0.0rc0 to < 3.0.0rc10 · Fixed in 3.0.0rc10 | affected |
A single Dockerfile builds a Python 3.6 container that installs nameko 2.13.0 and runs it with a malicious YAML config file, demonstrating arbitrary code execution via YAML deserialization.
Dockerfile:1-6README.md:1-46The README explicitly describes CVE-2021-41078, provides a proof-of-concept payload, and gives setup instructions to build and run the container to demonstrate arbitrary code execution.
README.md:1-46Uses python:3.6-bullseye base image, copies the entire build context into /nameko, installs nameko 2.13.0, and sets the default command to run nameko with the malicious.yml config.
Dockerfile:1-6A YAML file containing a Python deserialization payload that executes 'cat /etc/passwd' when loaded by nameko.
malicious.yml:1-3README.md:30-35Nameko 2.13.0 is installed and run with the --config flag pointing to the malicious YAML file, triggering the deserialization vulnerability.
Dockerfile:4-6README.md:1-4Supported by supplied evidence
The README explicitly associates the lab with CVE-2021-41078, and the provided malicious.yml payload demonstrates arbitrary code execution via YAML deserialization, matching the NVD description.
README.md:1-4malicious.yml:1-3README.md:11-14Dockerfile:3README.md:11-14README.md:16-19README.md:21-26The exploit payload only reads /etc/passwd inside the container, which is a harmless demonstration of the vulnerability. No host escape, persistence, credential theft, or external communication is indicated.
malicious.yml:3README.md:21-26This review is limited to the supplied lab evidence packet. It does not assert that the environment runs, reproduces a vulnerability, or is safe to execute. Contract: eip-docker-lab-analysis-v1.