Improper Authorization in github.com/containers/libpod

github.com/containers/libpod Updated 02 Oct 2025

Summary

21/08/2024
Yes i
High
7.0

CVE-2021-20188: Improper Authorization in github.com/containers/libpod. Affects github.com/containers/libpod versions < 1.7.0. Fixed in 1.7.0. How to fix ↓

Also tracked for

The same CVE-2021-20188 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

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

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The github.com/containers/libpod package is a Go package that provides a library for managing OCI containers. It offers functionalities for creating, running, and managing containers. The package is widely used in containerization projects and provides essential features for container management.

Vulnerability Detail

The vulnerability identified in github.com/containers/libpod is an improper authorization issue. This vulnerability allows unauthorized users to perform actions that should be restricted to privileged users. Attackers can exploit this vulnerability to gain unauthorized access to containers, execute arbitrary commands, or manipulate container resources. The vulnerability poses a significant security risk as it can lead to unauthorized access and potential compromise of containerized applications.

How To Fix

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

go get github.com/containers/libpod@v1.9.3

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

If you need the minimum change

1.7.0

This is the first release that contains the fix.

go get github.com/containers/libpod@v1.7.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to update the package to the fixed version to mitigate the risk effectively.

Conclusion

The improper authorization vulnerability in github.com/containers/libpod poses a significant security risk to containerized applications. It allows unauthorized users to perform privileged actions, potentially leading to unauthorized access and compromise. It is crucial to update the package to version 1.7.0 or later to mitigate the risk effectively.

See every vulnerability recorded for github.com/containers/libpod →

Share this vulnerability

FAQ

This vulnerability allows unauthorized users to perform actions that should be restricted to privileged users. It can lead to unauthorized access to containers, execution of arbitrary commands, and manipulation of container resources.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, using only the Gopkg.lock file.

At the time of this report, there are no known public exploits for this vulnerability. However, it is crucial to patch the vulnerability promptly to prevent any potential attacks.

No, updating the package to the fixed version is the recommended approach to mitigate the risk effectively. There are no known workarounds for this vulnerability.

You can find more information about this vulnerability, including technical details and the fix, in the vulnerability report available at https://pkg.go.dev/vuln/GO-2022-0641.

Related vulnerabilities

Recent vulnerabilities recorded for github.com/containers/libpod.

How To Fix

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

go get github.com/containers/libpod@v1.9.3

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

If you need the minimum change

1.7.0

This is the first release that contains the fix.

go get github.com/containers/libpod@v1.7.0

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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