CVE-2022-24778

Published on: Not Yet Published

Last Modified on: 01/25/2023 02:09:00 AM UTC

CVE-2022-24778 - advisory for GHSA-8v99-48m9-c8pm

Source: Mitre Source: NIST CVE.ORG Print: PDF PDF
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

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 URL Logo [email protected] to track the vulnerability - currently rated as HIGH severity.
  • Affected Vendor/Software: URL Logo 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
URL Logo CONFIRM github.com/containerd/imgcrypt/security/advisories/GHSA-8v99-48m9-c8pm
[SECURITY] Fedora 36 Update: golang-github-containerd-imgcrypt-1.1.4-1.fc36 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
text/html
URL Logo FEDORA FEDORA-2022-d86c15bfb7
[SECURITY] Fedora 34 Update: golang-github-containerd-imgcrypt-1.1.4-1.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
text/html
URL Logo FEDORA FEDORA-2022-de0f8beeb0
encryption.CheckAuthorization not working for multi-arch images · Issue #69 · containerd/imgcrypt · GitHub github.com
text/html
URL Logo MISC github.com/containerd/imgcrypt/issues/69
[SECURITY] Fedora 35 Update: golang-github-containerd-imgcrypt-1.1.4-1.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
text/html
URL Logo FEDORA FEDORA-2022-5f746c8e5b
Release imgcrypt 1.1.4 · containerd/imgcrypt · GitHub github.com
text/html
URL Logo MISC github.com/containerd/imgcrypt/releases/tag/v1.1.4
images: Add list of Platforms to CheckAuthorization() · containerd/[email protected] · GitHub github.com
text/html
URL Logo MISC github.com/containerd/imgcrypt/commit/6fdd9818a4d8142107b7ecd767d839c9707700d9

Related QID Numbers

  • 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)

Known Affected Configurations (CPE V2.3)

Type Vendor Product Version Update Edition Language
ApplicationContainerdImgcryptAllAllAllAll
Operating
System
FedoraprojectFedora34AllAllAll
Operating
System
FedoraprojectFedora35AllAllAll
Operating
System
FedoraprojectFedora36AllAllAll
ApplicationLinuxfoundationImgcryptAllAllAllAll
  • 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)
Twitter Icon @CVEreport 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
Reddit Logo Icon /r/netcve CVE-2022-24778 2022-03-25 18:38:38
© CVE.report 2023 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report