CVE-2022-24778
Published on: Not Yet Published
Last Modified on: 01/25/2023 02:09:00 AM UTC
Certain versions of Imgcrypt from Containerd contain the following vulnerability:
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.
- CVE-2022-24778 has been assigned by
[email protected] to track the vulnerability - currently rated as HIGH severity.
- Affected Vendor/Software:
containerd - imgcrypt version < 1.1.4
CVSS3 Score: 7.5 - HIGH
Attack Vector ⓘ |
Attack Complexity |
Privileges Required |
User Interaction |
---|---|---|---|
NETWORK | LOW | NONE | NONE |
Scope | Confidentiality Impact |
Integrity Impact |
Availability Impact |
UNCHANGED | HIGH | NONE | NONE |
CVSS2 Score: 5 - MEDIUM
Access Vector ⓘ |
Access Complexity |
Authentication |
---|---|---|
NETWORK | LOW | NONE |
Confidentiality Impact |
Integrity Impact |
Availability Impact |
PARTIAL | NONE | NONE |
CVE References
Description | Tags ⓘ | Link |
---|---|---|
Unauthorized access to encryted container image on a shared system due to missing check in CheckAuthorization() code path · Advisory · containerd/imgcrypt · GitHub | github.com text/html |
![]() |
[SECURITY] Fedora 36 Update: golang-github-containerd-imgcrypt-1.1.4-1.fc36 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org text/html |
![]() |
[SECURITY] Fedora 34 Update: golang-github-containerd-imgcrypt-1.1.4-1.fc34 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org text/html |
![]() |
encryption.CheckAuthorization not working for multi-arch images · Issue #69 · containerd/imgcrypt · GitHub | github.com text/html |
![]() |
[SECURITY] Fedora 35 Update: golang-github-containerd-imgcrypt-1.1.4-1.fc35 - package-announce - Fedora Mailing-Lists | lists.fedoraproject.org text/html |
![]() |
Release imgcrypt 1.1.4 · containerd/imgcrypt · GitHub | github.com text/html |
![]() |
images: Add list of Platforms to CheckAuthorization() · containerd/[email protected] · GitHub | github.com text/html |
![]() |
Related QID Numbers
Known Affected Configurations (CPE V2.3)
Type | Vendor | Product | Version | Update | Edition | Language |
---|---|---|---|---|---|---|
Application | Containerd | Imgcrypt | All | All | All | All |
Operating System | Fedoraproject | Fedora | 34 | All | All | All |
Operating System | Fedoraproject | Fedora | 35 | All | All | All |
Operating System | Fedoraproject | Fedora | 36 | All | All | All |
Application | Linuxfoundation | Imgcrypt | All | All | All | All |
- cpe:2.3:a:containerd:imgcrypt:*:*:*:*:*:*:*:*:
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*:
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*:
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*:
- cpe:2.3:a:linuxfoundation:imgcrypt:*:*:*:*:*:*:*:*:
Social Mentions
Source | Title | Posted (UTC) |
---|---|---|
![]() |
CVE-2022-24778 : The imgcrypt library provides API exensions for containerd to support encrypted container images a… twitter.com/i/web/status/1… | 2022-03-25 17:22:28 |
![]() |
CVE-2022-24778 | 2022-03-25 18:38:38 |