CVE-2022-24778
Last modified
CVE-2022-24778 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 2.68% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linuxfoundation | Imgcrypt | < 1.1.4 |
| Fedoraproject | Fedora | 34 |
| Fedoraproject | Fedora | 35 |
| Fedoraproject | Fedora | 36 |
References
- https://github.com/containerd/imgcrypt/commit/6fdd9818a4d8142107b7ecd767d839c9707700d9Patch, Third Party Advisory
- https://github.com/containerd/imgcrypt/issues/69Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/containerd/imgcrypt/releases/tag/v1.1.4Release Notes, Third Party Advisory
- https://github.com/containerd/imgcrypt/security/advisories/GHSA-8v99-48m9-c8pmPatch, Third Party Advisory
- https://github.com/containerd/imgcrypt/commit/6fdd9818a4d8142107b7ecd767d839c9707700d9Patch, Third Party Advisory
- https://github.com/containerd/imgcrypt/issues/69Exploit, Issue Tracking, Patch, Third Party Advisory
- https://github.com/containerd/imgcrypt/releases/tag/v1.1.4Release Notes, Third Party Advisory
- https://github.com/containerd/imgcrypt/security/advisories/GHSA-8v99-48m9-c8pmPatch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-24778?
How severe is CVE-2022-24778?
How do I fix CVE-2022-24778?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-24772Forge (also called `node-forge`) is a native implementation …7.5
- CVE-2022-24773Forge (also called `node-forge`) is a native implementation …5.3
- CVE-2022-24774CycloneDX BOM Repository Server is a bill of materials (BOM)…8.1
- CVE-2022-24775guzzlehttp/psr7 is a PSR-7 HTTP message library. Versions pr…7.5
- CVE-2022-24776Flask-AppBuilder is an application development framework, bu…6.1
- CVE-2022-24777grpc-swift is the Swift language implementation of gRPC, a r…7.5
- CVE-2022-2478Use after free in PDF in Google Chrome prior to 103.0.5060.1…8.8
- CVE-2022-24780Combodo iTop is a web based IT Service Management tool. In v…8.8
- CVE-2022-24781Geon is a board game based on solving questions about the Py…7.1
- CVE-2022-24782Discourse is an open source discussion platform. Versions 2.…4.3
- CVE-2022-24783Deno is a runtime for JavaScript and TypeScript. The version…10
- CVE-2022-24784Statamic is a Laravel and Git powered CMS. Before versions 3…3.7
Are you affected by CVE-2022-24778?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
