# CVE-2022-24778: Incorrect Authorization in imgcrypt

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.72%, higher than 86% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-25T17:20:11.000Z
- Modified: 2026-06-17T04:32:30.040Z
- Also known as: GHSA-8v99-48m9-c8pm, GO-2021-0412
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- containerd imgcrypt: < 1.1.4
- github.com/containerd/imgcrypt (Go): before 1.1.4
- linuxfoundation imgcrypt: before 1.1.4
- fedoraproject fedora: 34; 35; 36

## Every score

- GitHub_M: 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`
- GitHub: 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`
- NVD: 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`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/containerd/imgcrypt/issues/69> (exploit, issue-tracking, patch, third-party-advisory, web)
- <https://github.com/containerd/imgcrypt/security/advisories/GHSA-8v99-48m9-c8pm> (patch, third-party-advisory, web)
- <https://github.com/containerd/imgcrypt/commit/6fdd9818a4d8142107b7ecd767d839c9707700d9> (fix, patch, third-party-advisory, web)
- <https://github.com/containerd/imgcrypt/releases/tag/v1.1.4> (release-notes, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZFTJR5CR5EOYDVOSBZEMLBHLJRTPJPUA/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TAHAAOOA3KZJC2I5WHCR3XVBJBNWTWUE/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4SJUNSC7YZLA745EMKWK2GKEV57GE52K/> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-24778> (advisory)
- <https://github.com/containerd/imgcrypt> (package)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4SJUNSC7YZLA745EMKWK2GKEV57GE52K> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TAHAAOOA3KZJC2I5WHCR3XVBJBNWTWUE> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZFTJR5CR5EOYDVOSBZEMLBHLJRTPJPUA> (web)
- <https://pkg.go.dev/vuln/GO-2021-0412> (web)

## Sources

- CVE List: [CVE-2022-24778](https://www.cve.org/CVERecord?id=CVE-2022-24778), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-8v99-48m9-c8pm](https://github.com/advisories/GHSA-8v99-48m9-c8pm), CC-BY-4.0, modified 2024-05-20
- Go Vulnerability Database: [GO-2021-0412](https://pkg.go.dev/vuln/GO-2021-0412), CC-BY-4.0, modified 2024-05-20
- NVD: [CVE-2022-24778](https://nvd.nist.gov/vuln/detail/CVE-2022-24778), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-24778 · Whole record: https://cve.day/CVE-2022-24778.json · Rebuilt by cve.day 2026-11-25T22:58:10.264Z
