CVE-2022-24778
CVSS V2 Medium 5
CVSS V3 High 7.5
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.
Overview
- CVE ID
- CVE-2022-24778
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-03-25T18:15:22
- Last Modified Date
- 2023-01-25T02:09:48
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:containerd:imgcrypt:*:*:*:*:*:*:*:* | 1 | OR | 1.1.4 | |
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* | 1 | OR | ||
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* | 1 | OR |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:N/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://github.com/containerd/imgcrypt/commit/6fdd9818a4d8142107b7ecd767d839c9707700d9 | Patch Third Party Advisory |
https://github.com/containerd/imgcrypt/issues/69 | Exploit Issue Tracking Patch Third Party Advisory |
https://github.com/containerd/imgcrypt/releases/tag/v1.1.4 | Release Notes Third Party Advisory |
https://github.com/containerd/imgcrypt/security/advisories/GHSA-8v99-48m9-c8pm | Patch Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4SJUNSC7YZLA745EMKWK2GKEV57GE52K/ | Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TAHAAOOA3KZJC2I5WHCR3XVBJBNWTWUE/ | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZFTJR5CR5EOYDVOSBZEMLBHLJRTPJPUA/ | Mailing List Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-24778 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24778 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-04-04 00:41:58 | Added to TrackCVE | |||
2022-12-06 13:16:45 | 2022-03-25T18:15Z | 2022-03-25T18:15:22 | CVE Published Date | updated |
2022-12-06 13:16:45 | 2022-05-13T12:18:52 | CVE Modified Date | updated | |
2022-12-06 13:16:45 | Analyzed | Vulnerability Status | updated | |
2022-12-06 13:16:50 | References | updated | ||
2023-01-24 21:13:24 | Analyzed | Undergoing Analysis | Vulnerability Status | updated |
2023-01-25 02:12:25 | 2023-01-25T02:09:48 | CVE Modified Date | updated | |
2023-01-25 02:12:25 | Undergoing Analysis | Analyzed | Vulnerability Status | updated |