COURSE

CVE Series: “Leaky Vessels” Container Breakout (CVE-2024-21626)

Course

CVE-2024-21626 is a severe vulnerability affecting all versions of runc up to 1.1.11, a critical component utilized by Docker and other containerization technologies like Kubernetes. This vulnerability enables an attacker to escape from a container to the underlying host operating system. Put on your red team hat to exploit this vulnerability.

Full access included with 
Insider Pro
 and 
Teams

1

H

25

M
Time

Intermediate

i
Designed for learners who have no prior work experience in IT or Cybersecurity, but are interested in starting a career in this exciting field.
Designed for learners with prior cybersecurity work experience who are interested in advancing their career or expanding their skillset.
Designed for learners with a solid grasp of foundational IT and cybersecurity concepts who are interested in pursuing an entry-level security role.
Experience Level

184

Enrollees

840

XP

1

i

Earn qualifying credits for certification renewal with completion certificates provided for submission.
CEU's

Learners at 96% of Fortune 1000 companies trust Cybrary

About this course

Read More

Skills you'll gain

Course Outline

1
Module 1: Introduction to Docker and runc
H
5
Min
1
Module 2: CVE-2024-26121 Exploitation
H
35
Min
1
Module 3: CVE-2024-26121 Mitigation
H
45
Min

1.1 Introduction to Docker

Free

20 XP

H

5m

1.2 Root Cause Analysis of CVE-2024-21626

Free

200 XP

H

m

2.1 Exploiting the Vulnerability

Free

20 XP

H

5m

2.2 Lab - Exploiting CVE-2024-21626

Free

20 XP

H

5m

3.1 How To Remediate CVE-2024-21626

Free

200 XP

H

15m

3.2 LAB - Identify a malicious dockerfile

Free

200 XP

H

30m

Course Description

Course Description

CVE-2024-21626 is a severe vulnerability affecting all versions of runc up to 1.1.11, a critical component utilized by Docker and other containerization technologies like Kubernetes. This vulnerability enables an attacker to escape from a container to the underlying host operating system. Exploitation can occur either through executing a malicious image or building an image using a compromised Dockerfile or base image. Specifically, the vulnerability exploits the order of operations related to the WORKDIR directive in Dockerfiles, allowing an attacker to maintain access to privileged host directory file descriptors and thereby gain full access to the host's root filesystem. This potentially leads to unauthorized data access and system control, operating under the privileges of the containerization user, typically as the root user. In this course you’ll be putting on your red team hat to exploit this vulnerability.

Target Audience

This course is for seasoned red teamers, penetration testers, security and vulnerability assessment analysts, and system administrators who want to know how to exploit and protect against the latest vulnerabilities impacting enterprise systems.

Course Level

Intermediate

Prerequisites

Basic knowledge of Docker as well as functional knowledge of the Linux command line.

Helpful Links

  • CVE Entry: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21626 (Official CVE)
  • NIST Entry: https://nvd.nist.gov/vuln/detail/CVE-2024-21626
  • Security Advisory: https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv
  • Snyk Blog: https://snyk.io/blog/cve-2024-21626-runc-process-cwd-container-breakout/ and https://snyk.io/blog/leaky-vessels-docker-runc-container-breakout-vulnerabilities/
  • Exploits: https://github.com/NitroCao/CVE-2024-21626?tab=readme-ov-file
  • Red Hat Advisory: https://access.redhat.com/security/cve/cve-2024-21626

Train Your Team

Cybrary’s expert-led cybersecurity courses help your team remediate skill gaps and get up-to-date on certifications. Utilize Cybrary to stay ahead of emerging threats and provide team members with clarity on how to learn, grow, and advance their careers within your organization.

Included in a Path

No items found.
No items found.

Instructors

No items found.
Learn

Learn core concepts and get hands-on with key skills.

Practice

Exercise your problem-solving and creative thinking skills with security-centric puzzles

Prove

Assess your knowledge and skills to identify areas for improvement and measure your growth

Get Hands-on Learning

Put your skills to the test in virtual labs, challenges, and simulated environments.

Measure Your Progress

Track your skills development from lesson to lesson using the Cybrary Skills Tracker.

Connect with the Community

Connect with peers and mentors through our supportive community of cybersecurity professionals.

Success from Our Learners

"Cybrary really helped me get up to speed and acquire a baseline level of technical knowledge. It offers a far more comprehensive approach than just learning from a book. It actually shows you how to apply cybersecurity processes in a hands-on way"

Don Gates

Principal Systems Engineer/SAIC

"Cybrary’s SOC Analyst career path was the difference maker, and was instrumental in me landing my new job. I was able to show the employer that I had the right knowledge and the hands-on skills to execute the role."

Cory

Cybersecurity analyst/

"I was able to earn my CISSP certification within 60 days of signing up for Cybrary Insider Pro and got hired as a Security Analyst conducting security assessments and penetration testing within 120 days. This certainly wouldn’t have been possible without the support of the Cybrary mentor community."

Mike

Security Engineer and Pentester/

"Cybrary really helped me get up to speed and acquire a baseline level of technical knowledge. It offers a far more comprehensive approach than just learning from a book. It actually shows you how to apply cybersecurity processes in a hands-on way"

Don Gates

Principal Systems Engineer/SAIC

"Cybrary’s SOC Analyst career path was the difference maker, and was instrumental in me landing my new job. I was able to show the employer that I had the right knowledge and the hands-on skills to execute the role."

Cory

Cybersecurity analyst/

"I was able to earn my CISSP certification within 60 days of signing up for Cybrary Insider Pro and got hired as a Security Analyst conducting security assessments and penetration testing within 120 days. This certainly wouldn’t have been possible without the support of the Cybrary mentor community."

Mike

Security Engineer and Pentester/

"Becoming a Cybrary Insider Pro was a total game changer. Cybrary was instrumental in helping me break into cybersecurity, despite having no prior IT experience or security-related degree. Their career paths gave me clear direction, the instructors had real-world experience, and the virtual labs let me gain hands-on skills I could confidently put on my resume and speak to in interviews."

Cassandra

Information Security Analyst/Cisco Systems

"I was able to earn both my Security+ and CySA+ in two months. I give all the credit to Cybrary. I’m also proud to announce I recently accepted a job as a Cyber Systems Engineer at BDO... I always try to debunk the idea that you can't get a job without experience or a degree."

Casey

Cyber Systems Engineer/BDO

"Cybrary has helped me improve my hands-on skills and pass my toughest certification exams, enabling me to achieve 13 advanced certifications and successfully launch my own business. I love the practice tests for certification exams, especially, and appreciate the wide-ranging training options that let me find the best fit for my goals"

Angel

Founder,/ IntellChromatics.

CVE Series: “Leaky Vessels” Container Breakout (CVE-2024-21626)

CVE-2024-21626 is a severe vulnerability affecting all versions of runc up to 1.1.11, a critical component utilized by Docker and other containerization technologies like Kubernetes. This vulnerability enables an attacker to escape from a container to the underlying host operating system. Put on your red team hat to exploit this vulnerability.

1
25
M
Time
Intermediate
difficulty
1
ceu/cpe

Course Content

Course Description

Course Description

CVE-2024-21626 is a severe vulnerability affecting all versions of runc up to 1.1.11, a critical component utilized by Docker and other containerization technologies like Kubernetes. This vulnerability enables an attacker to escape from a container to the underlying host operating system. Exploitation can occur either through executing a malicious image or building an image using a compromised Dockerfile or base image. Specifically, the vulnerability exploits the order of operations related to the WORKDIR directive in Dockerfiles, allowing an attacker to maintain access to privileged host directory file descriptors and thereby gain full access to the host's root filesystem. This potentially leads to unauthorized data access and system control, operating under the privileges of the containerization user, typically as the root user. In this course you’ll be putting on your red team hat to exploit this vulnerability.

Target Audience

This course is for seasoned red teamers, penetration testers, security and vulnerability assessment analysts, and system administrators who want to know how to exploit and protect against the latest vulnerabilities impacting enterprise systems.

Course Level

Intermediate

Prerequisites

Basic knowledge of Docker as well as functional knowledge of the Linux command line.

Helpful Links

  • CVE Entry: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-21626 (Official CVE)
  • NIST Entry: https://nvd.nist.gov/vuln/detail/CVE-2024-21626
  • Security Advisory: https://github.com/opencontainers/runc/security/advisories/GHSA-xr7r-f8xq-vfvv
  • Snyk Blog: https://snyk.io/blog/cve-2024-21626-runc-process-cwd-container-breakout/ and https://snyk.io/blog/leaky-vessels-docker-runc-container-breakout-vulnerabilities/
  • Exploits: https://github.com/NitroCao/CVE-2024-21626?tab=readme-ov-file
  • Red Hat Advisory: https://access.redhat.com/security/cve/cve-2024-21626
This course is part of a Career Path:
No items found.

Instructed by

Provider
Cybrary Logo
Certification Body
Certificate of Completion

Complete this entire course to earn a CVE Series: “Leaky Vessels” Container Breakout (CVE-2024-21626) Certificate of Completion