Ambiguous OCI manifest parsing in github.com/containerd/containerd

Summary

21/08/2024
N/A
Yes i
Unrated
Not published

GO-2022-0360: Ambiguous OCI manifest parsing in github.com/containerd/containerd. Affects github.com/containerd/containerd across 2 version ranges.

< 1.4.12 >= 1.5.0, < 1.5.8

Fixed in 1.4.12 or 1.5.8, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The package under scrutiny is github.com/containerd/containerd, which is written in Go. It is a container runtime that provides a high-level API to manage containers and their lifecycle. Containerd is widely used in various container orchestration systems and platforms. However, a vulnerability has been discovered in the way Containerd parses OCI (Open Container Initiative) manifests.

Vulnerability Detail

The vulnerability in Containerd arises from ambiguous OCI manifest parsing. This can lead to various security issues, including potential remote code execution, privilege escalation, and unauthorized access to container resources. The vulnerability affects versions 0.x, 1.4.12, 1.5.0, and 1.5.8 of Containerd.

How To Fix

Latest published version: v1.7.36 as of 22 Oct 2026

go get github.com/containerd/containerd@v1.7.36

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 1.4.12 1.4.12
    go get github.com/containerd/containerd@v1.4.12
  • >= 1.5.0, < 1.5.8 1.5.8
    go get github.com/containerd/containerd@v1.5.8

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. It is crucial to update to the fixed version of Containerd to mitigate the risk.

Conclusion

The vulnerability in Containerd's OCI manifest parsing poses a significant security risk, potentially leading to remote code execution and unauthorized access. It is crucial to update to the fixed version of Containerd (1.5.8 or later) to mitigate these risks and ensure the security of containerized applications.

See every vulnerability recorded for github.com/containerd/containerd →

Share this vulnerability

FAQ

Containerd is a container runtime that provides a high-level API to manage containers and their lifecycle. It is widely used in container orchestration systems and platforms.

An OCI manifest is a JSON document that describes the configuration and runtime requirements of a container. It includes information such as the container image, environment variables, and execution parameters.

The vulnerability in Containerd can lead to remote code execution, privilege escalation, and unauthorized access to container resources. This can result in compromised containerized applications and potential data breaches.

Versions 0.x, 1.4.12, 1.5.0, and 1.5.8 of Containerd are affected by this vulnerability.

To fix the vulnerability, update Containerd to version 1.5.8 or later. This ensures that the necessary fixes for the ambiguous OCI manifest parsing issue are applied.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/containerd/containerd.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Latest published version: v1.7.36 as of 22 Oct 2026

go get github.com/containerd/containerd@v1.7.36

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 1.4.12 1.4.12
    go get github.com/containerd/containerd@v1.4.12
  • >= 1.5.0, < 1.5.8 1.5.8
    go get github.com/containerd/containerd@v1.5.8

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback