SCA: security update for github.com/containerd/imgcrypt (GHSA-8v99-48m9-c8pm)

high Tenable Cloud Security Plugin ID 412859

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

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

See Also

https://github.com/advisories/GHSA-8v99-48m9-c8pm

Plugin Details

Severity: High

ID: 412859

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.18

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2022-24778

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/28/2022

Vulnerability Publication Date: 3/25/2022

Reference Information

CVE: CVE-2022-24778

cwe: CWE-863