cve.bz

CVE-2022-24778 Incorrect Authorization

7.5 highExploit referenceEPSS 2.7%Fix available

High (7.5). EPSS 2.7% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/containerd/imgcrypt 1.1.4.

On this page
The 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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
2.7% (unchanged from 2.7% a week ago; 2.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 86th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2025-04-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-24778 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-24778?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-24778?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-24778 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linuxfoundation:imgcryptbefore 1.1.4
fedoraproject:fedora34
fedoraproject:fedora35
fedoraproject:fedora36

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8v99-48m9-c8pmGogithub.com/containerd/imgcrypt<1.1.41.1.4
GO-2021-0412Gogithub.com/containerd/imgcrypt<1.1.41.1.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu18.04:LTScontainerd1.5.9-0ubuntu1~18.04.2UBUNTU-CVE-2022-24778 USN-5776-1
Ubuntu20.04:LTScontainerd1.5.9-0ubuntu1~20.04.6UBUNTU-CVE-2022-24778 USN-5776-1
Ubuntu22.04:LTScontainerd1.5.9-0ubuntu3.1UBUNTU-CVE-2022-24778 USN-5776-1
UbuntuPro:16.04:LTScontainerdno fix listedUBUNTU-CVE-2022-24778

From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Only Fedora is using the affected codebase. Hence, marking other products as of Low impact as they are using an affected version of 'imgcrypt' as a transitive dependency.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 4.11openshift4/kubernetes-nmstate-rhel8-operator:v4.11.0-202208020235.p0.ga6744d1.assembly.streamFixed 2022-08-10RHSA-2022:5070
RHACS-3.73-RHEL-8advanced-cluster-security/rhacs-main-rhel8:3.73.0-4Fixed 2022-12-06RHSA-2022:8827
OpenShift API for Data Protectionoadp/oadp-velero-plugin-rhel9Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/endpoint-monitoring-rhel8-operatorAffected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/multiclusterhub-repo-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/multicluster-operators-channel-rhel9Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/multicluster-operators-subscription-release-rhel8Affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/multicluster-operators-subscription-rhel8Affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/multicluster-operators-subscription-rhel9Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/prometheus-rhel8Fix deferred
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/rbac-query-proxy-rhel8Fix deferred
Red Hat Advanced Cluster Security 3advanced-cluster-security/rhacs-scanner-rhel8Affected
Red Hat OpenShift Container Platform 4openshift4/oc-mirror-plugin-rhel9Not affected
Red Hat OpenShift Container Platform 4openshift4/ose-cluster-monitoring-rhel9-operatorNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-console-rhel9Not affected
Red Hat OpenShift Container Platform 4openshift4/ose-container-networking-plugins-rhel8Not affected
Red Hat OpenShift Container Platform 4openshift4/ose-docker-builderFix deferred
Red Hat OpenShift Container Platform 4openshift4/ose-grafanaNot affected
Red Hat OpenShift Container Platform 4openshift4/ose-hypershift-rhel9Fix deferred
Red Hat OpenShift Container Platform 4openshift4/ose-machine-api-provider-openstack-rhel8Affected
10 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-24778.

References

Check your stackJSON