CVE-2022-24778

Summary

CVECVE-2022-24778
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-03-25 18:15:00 UTC
Updated2023-11-07 03:44:00 UTC
DescriptionThe imgcrypt library provides API exensions for containerd to support encrypted container images and implements the ctd-decoder command line tool for use by containerd to decrypt encrypted container images. The imgcrypt function `CheckAuthorization` is supposed to check whether the current used is authorized to access an encrypted image and prevent the user from running an image that another user previously decrypted on the same system. In versions prior to 1.1.4, a failure occurs when an image with a ManifestList is used and the architecture of the local host is not the first one in the ManifestList. Only the first architecture in the list was tested, which may not have its layers available locally since it could not be run on the host architecture. Therefore, the verdict on unavailable layers was that the image could be run anticipating that image run failure would occur later due to the layers not being available. However, this verdict to allow the image to run enabled other architectures in the ManifestList to run an image without providing keys if that image had previously been decrypted. A patch has been applied to imgcrypt 1.1.4. Workarounds may include usage of different namespaces for each remote user.

Risk And Classification

Problem Types: CWE-863

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Containerd Imgcrypt All All All All
Operating System Fedoraproject Fedora 34 All All All
Operating System Fedoraproject Fedora 35 All All All
Operating System Fedoraproject Fedora 36 All All All
Application Linuxfoundation Imgcrypt All All All All

References

ReferenceSourceLinkTags
Unauthorized access to encryted container image on a shared system due to missing check in CheckAuthorization() code path · Advisory · containerd/imgcrypt · GitHub CONFIRM github.com
[SECURITY] Fedora 36 Update: golang-github-containerd-imgcrypt-1.1.4-1.fc36 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 34 Update: golang-github-containerd-imgcrypt-1.1.4-1.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 35 Update: golang-github-containerd-imgcrypt-1.1.4-1.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 34 Update: golang-github-containerd-imgcrypt-1.1.4-1.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
encryption.CheckAuthorization not working for multi-arch images · Issue #69 · containerd/imgcrypt · GitHub MISC github.com
[SECURITY] Fedora 35 Update: golang-github-containerd-imgcrypt-1.1.4-1.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
Release imgcrypt 1.1.4 · containerd/imgcrypt · GitHub MISC github.com
[SECURITY] Fedora 36 Update: golang-github-containerd-imgcrypt-1.1.4-1.fc36 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
images: Add list of Platforms to CheckAuthorization() · containerd/imgcrypt@6fdd981 · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 199074 Ubuntu Security Notification for containerd Vulnerabilities (USN-5776-1)
  • 282575 Fedora Security Update for golang (FEDORA-2022-de0f8beeb0)
  • 282576 Fedora Security Update for golang (FEDORA-2022-5f746c8e5b)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report