Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2022-0847-container-escape — A simple exploit that uses dirtypipe to inject shellcode into runC entrypoint to implement container escapes. | Kitploit
Tools/GitHubGitHub/jlsakuya/cve-2022-0847-container-escape
Privilege EscalationPayload GenerationVulnerability AnalysisExploitationShellcodeContainer Escape
GitHubjlsakuya/cve-2022-0847-container-escape

CVE-2022-0847-container-escape

A simple exploit that uses dirtypipe to inject shellcode into runC entrypoint to implement container escapes.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
2143 years agoNot yet reviewed

CVE-2022-0847

A simple exploit that uses dirtypipe to inject shellcode into runC entrypoint to implement container escapes.

Usage

Produce base64 encoded shellcode using msf:

root@kitploit:~
$ msfvenom -p linux/x64/exec CMD="<command>" -f base64

Compile and run in the container, the overwritten filename is the bin that runC will execute in the container (such as /bin/sh):

root@kitploit:~
$ gcc exploit.c -o exploit
$ ./exploit <overwritten filename> <base64 shellcode>

Trigger exploit and shellcode outside the container like CVE-2019-5736.

References

  • Breaking out of Docker via runC – Explaining CVE-2019-5736
  • Using the Dirty Pipe Vulnerability to Break Out from Containers
Download Tool