containerd: Exposure of Sensitive Information to an Unauthorized Actor
CVE-2022-23648 is a high-severity exposure of sensitive information to an unauthorized actor vulnerability in containerd, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected containerd versions: < 1.4.13; >= 1.5.0, < 1.5.10; >= 1.6.0, < 1.6.1. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 27.4% chance of exploitation within 30 days, which is in the top 1.91% of all scored CVEs.
EPSS places it among the vulnerabilities most likely to be exploited soon.
What to do
- Check which version of containerd you run against the affected versions below, and install the vendor's latest release.
- Read the advisory on github.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Containerd | containerd | < 1.4.13; >= 1.5.0, < 1.5.10; >= 1.6.0, < 1.6.1 | Not stated |
| Debian | Debian Linux | 11.0 | Not stated |
| Fedora Project | Fedora | 34; 35; 36 | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- NoneNothing can be modified.
- Availability
- NoneAvailability is not affected.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.5 | High | CNA (github.com) |
| CVSS 3.1 | 7.5 | High | NVD |
| CVSS 2.0 | 5.0 | Medium | NVD |
Official description
containerd is a container runtime available as a daemon for Linux and Windows. A bug was found in containerd prior to versions 1.6.1, 1.5.10, and 1.14.12 where containers launched through containerd’s CRI implementation on Linux with a specially-crafted image configuration could gain access to read-only copies of arbitrary files and directories on the host. This may bypass any policy-based enforcement on container setup (including a Kubernetes Pod Security Policy) and expose potentially sensitive information. Kubernetes and crictl can both be configured to use containerd’s CRI implementation. This bug has been fixed in containerd 1.6.1, 1.5.10, and 1.4.12. Users should update to these versions to resolve the issue.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Exposure of Sensitive Information to an Unauthorized Actor
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
How developers prevent this class of flaw
- Compartmentalize the system to have safe areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area. Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.
More Exposure of Sensitive Information to an Unauthorized Actor vulnerabilities (CWE-200)
Timeline
- CVE record published.
- Record last changed materially (score, affected products, status or references).
References
Advisories
- github.com/containerd/containerd/security/advisories/GHSA-crp2-qrr5-8pq7Third Party Advisory
Patches and release notes
- github.com/containerd/containerd/commit/10f428dac7cec44c864e1b830a4623af27a9fc70Third Party Advisory
- github.com/containerd/containerd/releases/tag/v1.4.13Release Notes, Third Party Advisory
- github.com/containerd/containerd/releases/tag/v1.5.10Release Notes, Third Party Advisory
- github.com/containerd/containerd/releases/tag/v1.6.1Release Notes, Third Party Advisory
Third-party and government advisories
- debian.org/security/2022/dsa-5091Mailing List, Third Party Advisory
Technical write-ups (may include proof of concept)
- packetstormsecurity.com/files/166421/containerd-Image-Volume-Insecure-Handling.htmlExploit, Third Party Advisory, VDB Entry
Other references
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AUDQUQBZJGBWJPMRVB6Q…
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HFTS2EF3S7HNYSNZSEJZ…
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OCCARJ6FU4MWBTXHZNMS…
- security.gentoo.org/glsa/202401-31
Other vulnerabilities in containerd
- 7.8 High severity
- 9.6 Critical severity
- 9.9 Critical severity
- 7.8 High severity
- 8.8 High severity
- 7.8 High severity
Recent Exposure of Sensitive Information to an Unauthorized Actor vulnerabilities
- 7.5 High severity
- 5.5 Medium severity
- 7.5 High severity
Cisco ASA and FTD Information Disclosure Exploited
- 7.5 High severity
- 5.3 Medium severity
SAP NetWeaver Information Disclosure Exploited
- 5.0 Medium severity
Spotted an error? Tell us.