CVE-2022-24778
Summary
| CVE | CVE-2022-24778 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-03-25 18:15:00 UTC |
| Updated | 2023-11-07 03:44:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| 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 |
No vendor comments have been submitted for this CVE.
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)