{"cve":"CVE-2022-24778","nvd":{"published":"2022-03-25T18:15:22.830","modified":"2026-06-17T04:32:30.040","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-863"],"references":["https://github.com/containerd/imgcrypt/commit/6fdd9818a4d8142107b7ecd767d839c9707700d9","https://github.com/containerd/imgcrypt/issues/69","https://github.com/containerd/imgcrypt/releases/tag/v1.1.4","https://github.com/containerd/imgcrypt/security/advisories/GHSA-8v99-48m9-c8pm","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4SJUNSC7YZLA745EMKWK2GKEV57GE52K/"],"products":["fedoraproject:fedora","linuxfoundation:imgcrypt"],"source":"nvd","synced_at":"2026-10-19T21:29:06.454770966+00:00"},"epss":{"cve":"CVE-2022-24778","score":0.02718,"percentile":0.8603,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-8v99-48m9-c8pm","url":"https://osv.dev/vulnerability/GHSA-8v99-48m9-c8pm","summary":"Incorrect Authorization in imgcrypt","modified":"2024-05-20T20:48:13Z","packages":[{"ecosystem":"Go","name":"github.com/containerd/imgcrypt","purl":"pkg:golang/github.com/containerd/imgcrypt","ranges":["<1.1.4"],"fixed":["1.1.4"]}]},{"id":"GO-2021-0412","url":"https://osv.dev/vulnerability/GO-2021-0412","summary":"Incorrect authorization in github.com/containerd/imgcrypt","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/containerd/imgcrypt","purl":"pkg:golang/github.com/containerd/imgcrypt","ranges":["<1.1.4"],"fixed":["1.1.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}