Skip to main content
Public proof of conceptFix available

CVE-2022-24778

A public proof of concept exists; no exploitation attested.

  • Published2022-03-25
  • WeaknessCWE-863

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2022-03-2518:15CVE publishedNVD

Versions per branch

NVD · OSV
Fedoraproject fedora
BranchAffectedFixed in
34.x= 34no fix published
35.x= 35no fix published
36.x= 36no fix published
Linuxfoundation imgcrypt
BranchAffectedFixed in
1.1< 1.1.41.1.4

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • containerd imgcrypt
    Affected
    • = < 1.1.4no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2022-05-07

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • containerdUbuntu:Pro:16.04:LTSall versions · no fixed version listed
  • containerdUbuntu:22.04:LTSall versions · fixed in 1.5.9-0ubuntu3.1
  • containerdUbuntu:20.04:LTSall versions · fixed in 1.5.9-0ubuntu1~20.04.6
  • containerdUbuntu:18.04:LTSall versions · fixed in 1.5.9-0ubuntu1~18.04.2

Vendor advisories

  • CVE-2022-24778 Red Hat Product Security5 products fixed · 13 known affected

    imgcrypt: Unauthorized access to encryted container image on a shared system due to missing check in CheckAuthorization() code path

    rhacm2/endpoint-monitoring-rhel8-operator as a component of Red Hat Advanced Cluster Management for Kubernetes 2 · rhacm2/multicluster-operators-subscription-release-rhel8 as a component of Red Hat Advanced Cluster Management for Kubernetes 2 · rhacm2/multicluster-operators-subscription-rhel8 as a component of Red Hat Advanced Cluster Management for Kubernetes 2 · +10 more

  • RHSA-2022:8827 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: RHACS 3.73 enhancement and security update

  • RHSA-2022:5070 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Container Platform 4.11.0 extras and security update

  • RHSA-2022:4956 Red Hat Product Security204 products fixed

    Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.5 security updates, images, and bug fixes

  • RHSA-2022:1476 Red Hat Product Security221 products fixed

    Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.4.3 security updates and bug fixes

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2022:8827 · 1 productTo take advantage of the new features, bug fixes, and enhancements in RHACS 3.73 you are advised to upgrade to RHACS 3.73.0.
  2. Vendor fix Red Hat Product Security RHSA-2022:5070 · 4 productsFor OpenShift Container Platform 4.11 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.openshift.com/container-platform/4.11/release_notes/ocp-4-1…
  3. Vendor fix Red Hat Product Security RHSA-2022:4956 · 204 productsFor Red Hat Advanced Cluster Management for Kubernetes, see the following documentation, which will be updated shortly for this release, for important instructions on installing this release: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.5/html-…
  4. Vendor fix Red Hat Product Security RHSA-2022:1476 · 221 productsFor Red Hat Advanced Cluster Management for Kubernetes, see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://access.redhat.com/documentation/en-us/red_hat_…
  5. No fix available, says the vendor Red Hat Product Security CVE-2022-24778 · 6 productsFix deferred
  6. No fix available, says the vendor Red Hat Product Security CVE-2022-24778 · 6 productsAffected

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2025-04-22
  • CNACVSS 3.17.5known since 2026-10-23
  • NVDCVSS 3.17.5read 2026-10-23
  • NVDCVSS 2.05read 2026-10-23
  • CNAweakness (CWE)CWE-863known since 2026-10-23
  • NVDweakness (CWE)CWE-863read 2026-10-23
  • FIRST EPSSEPSS score2.7 %2026-11-08
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHIGH2022-03-28

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
2022-03-25
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-8v99-48m9-c8pm

Frequently asked questions

What is CVE-2022-24778?

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.

Is CVE-2022-24778 actively exploited?

A proof-of-concept exploit exists for CVE-2022-24778, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2022-24778?

CVE-2022-24778 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Running containerd/imgcrypt? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record