Red Hat OpenShift Container Platform 4.11: Improper Control of Dynamically-Managed Code Resources
CVE-2022-4318 is a high-severity improper control of dynamically-managed code resources vulnerability in Red Hat OpenShift Container Platform 4.11 from Red Hat, with a CVSS 3.1 base score of 7.8 out of 10. It can be exploited with local access to the system by an attacker with a low-privileged account, without any action from a user. There is no confirmed exploitation so far. EPSS estimates a 0.29% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Check which version of Red Hat OpenShift Container Platform 4.11 you run against the affected versions below, and install the vendor's latest release.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Red Hat | Red Hat OpenShift Container Platform 4.11 | Not specified in the record | Not stated |
| Red Hat | Red Hat OpenShift Container Platform 4.12 | Not specified in the record | Not stated |
| Red Hat | Red Hat Enterprise Linux 9 | Not specified in the record | Not stated |
| Kubernetes | Cri-o | Not specified in the record | Not stated |
| Red Hat | Openshift Container Platform For Arm64 | 4.12; 4.11 | Not stated |
| Red Hat | Openshift Container Platform For Linuxone | 4.12; 4.11 | Not stated |
| Red Hat | Openshift Container Platform For Power | 4.12; 4.11 | Not stated |
| Red Hat | Openshift Container Platform IBM Z Systems | 4.12; 4.11 | Not stated |
| Fedora Project | Extra Packages For Enterprise Linux | 8.0 | Not stated |
| Fedora Project | Fedora | 36; 37 | 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
- LocalThe attacker needs local access or must trick a user into running something.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- LowA basic user account is enough.
- 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
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 7.8 | High | CNA (redhat.com) |
| CVSS 3.1 | 7.8 | High | NVD |
Official description
A vulnerability was found in cri-o. This issue allows the addition of arbitrary lines into /etc/passwd by use of a specially crafted environment variable.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Control of Dynamically-Managed Code Resources
The product does not properly restrict reading from or writing to dynamically-managed code resources such as variables, objects, classes, attributes, functions, or executable instructions or statements.
How developers prevent this class of flaw
- For any externally-influenced input, check the input against an allowlist of acceptable values.
- Refactor the code so that it does not need to be dynamically managed.
More Improper Control of Dynamically-Managed Code Resources vulnerabilities (CWE-913)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Third-party and government advisories
- access.redhat.com/errata/RHSA-2023:1033Third Party Advisory
- access.redhat.com/errata/RHSA-2023:1503Third Party Advisory
- access.redhat.com/security/cve/CVE-2022-4318Third Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2152703Issue Tracking, Third Party Advisory
Other vulnerabilities in Red Hat OpenShift Container Platform 4.11
- 8.6 High severity
- 7.2 High severity
- 8.0 High severity
Recent Improper Control of Dynamically-Managed Code Resources vulnerabilities
- 9.9 Critical severity
- 7.5 High severity
- 10.0 Critical severity
- 9.8 Critical severity
- 9.8 Critical severity
- 9.8 Critical severity
Spotted an error? Tell us.