joshluxr/bot/container-cve
Claude Code and agent skill by joshluxr/bot
- community
Checking that the SKILL.md file is still in the repository.
High-impact container-runtime CVE catalog — runC Leaky Vessels (CVE-2024-21626/-23651/-23652/-23653), CVE-2022-0185 (FUSE/legacy-fs), CVE-2019-5736 (runC binary replace), CRI-O Dirty COW analogs, Kubernetes API server CVE-2019-11247 (custom-resource RBAC bypass). Fingerprint → match → exploit.
Install
npx vskill@latest install joshluxr/bot/container-cveSKILL.md
The same SKILL.md was published earlier as 7shiki3/decepticon-x-darktriad/container-cve.
Container-Runtime CVE Catalog
When you've identified a container target, fingerprint the runtime stack, then check this catalog for a working exploit. Newest first.
Fingerprint the stack
Catalog
CVE-2024-21626 — runC "Leaky Vessels" WORKDIR escape
Affects: runC < 1.1.12, Docker < 25.0.3, containerd < 1.7.13, BuildKit < 0.12.5 Primitive: WORKDIR pointing at /proc/self/fd/N (where N is an open kernel FD) lets the container CWD escape into the host filesystem.
CVE-2024-23651/-23652/-23653 — BuildKit cache mount / RUN --mount escapes
Affects: BuildKit < 0.12.5 Primitive: Crafted Dockerfile uses cache or bind mounts to leak / overwrite host files during docker build.
CVE-2022-0185 — Linux FS context heap overflow
Affects: Linux kernel < 5.16.2 (host kernel — affects every container running on it) Primitive: fsopen() syscall with a too-long string overflows the heap. CAP_SYS_ADMIN required, but trivial if the container has it.
CVE-2019-5736 — runC binary overwrite
Affects: runC < 1.0.0-rc6, Docker < 18.09.2 Primitive: A malicious container can overwrite the runC binary on the host by exploiting how runC re-execs itself when handling docker exec.
CVE-2019-14271 — Docker cp library injection
Affects: Docker < 19.03.1 Primitive: docker cp loaded a libraries from inside the container, letting a malicious image overwrite libnss_files.so.2 to RCE the docker daemon (= host root).
CVE-2018-15664 — Docker cp TOCTOU symlink race
Affects: Docker < 18.09.3 Primitive: Symlink race between docker cp resolving the source path and reading it lets you read/write arbitrary host files.
Kubernetes CVE-2019-11247 — CR vs CRD RBAC bypass
Affects: Kubernetes 1.7–1.15 Primitive: RBAC checks for CustomResources used the wrong API group, so a user with permission to a CR in one namespace could access CRs in any namespace.
CRI-O CVE-2022-0811 — kernel sysctl injection
Affects: CRI-O 1.19+ through 1.23 Primitive: Pod spec securityContext.sysctls accepted unescaped kernel parameters → container escape via kernel.core_pattern.
Workflow
cve_lookupthe runtime version (e.g.,runC 1.1.5) and intersect with the catalog above.cve_poc_lookupfor a working PoC.- Try in a copy of the target environment first; container CVE exploits are often kernel-version-fragile.
- If exploit yields root on host → see
k8s-pod-escapefor the post-escape pivot.
OPSEC
- All of these generate kernel audit / dmesg entries on success. dmesg ring buffer holds last ~1 MB — clear it (
dmesg -C) if root. - The image-based exploits (WORKDIR, BuildKit) require pushing/pulling an attacker image — log line in image-pull events.
References
- snyk.io/research/leaky-vessels — runC CVE-2024-21626 chain
- Aqua Security "Cloud Native Attack Matrix" — recent CVE coverage
- DEFCON 30 "Kernel Heap Exploitation" — CVE-2022-0185 deep dive
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingwordpress-tool/decepticon-skills/standard/cloud/container/container-cve/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Grok Build (Cursor)
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/joshluxr/bot/container-cve)