CyberSecBulletin
CVE-2022-4318NVD status: Modified

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.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. 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

VendorProductAffected versionsFixed in
Red HatRed Hat OpenShift Container Platform 4.11Not specified in the recordNot stated
Red HatRed Hat OpenShift Container Platform 4.12Not specified in the recordNot stated
Red HatRed Hat Enterprise Linux 9Not specified in the recordNot stated
KubernetesCri-oNot specified in the recordNot stated
Red HatOpenshift Container Platform For Arm644.12; 4.11Not stated
Red HatOpenshift Container Platform For Linuxone4.12; 4.11Not stated
Red HatOpenshift Container Platform For Power4.12; 4.11Not stated
Red HatOpenshift Container Platform IBM Z Systems4.12; 4.11Not stated
Fedora ProjectExtra Packages For Enterprise Linux8.0Not stated
Fedora ProjectFedora36; 37Not 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 systemScoreSeverityScored by
CVSS 3.17.8HighCNA (redhat.com)
CVSS 3.17.8HighNVD

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

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Third-party and government advisories

Other vulnerabilities in Red Hat OpenShift Container Platform 4.11

All Red Hat OpenShift Container Platform 4.11 vulnerabilities

Recent Improper Control of Dynamically-Managed Code Resources vulnerabilities

Spotted an error? Tell us.