cve.bz

CVE-2022-4318

7.8 highEPSS 0.3%Fix available

High (7.8). EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/cri-o/cri-o 1.26.0.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 22nd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-05-10. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-913 Improper Control of Dynamically-Managed Code Resources
CWE-538 Insertion of Sensitive Information into Externally-Accessible File or Directory
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

  • github.com/cri-o/cri-o (Go): fixed in 1.26.0
  • Red Hat Red Hat OpenShift Container Platform 4.11: fixed in 0:1.24.4-10.rhaos4.11.git1ed5ac5.el8
  • Red Hat Red Hat OpenShift Container Platform 4.12: fixed in 0:1.25.2-9.rhaos4.12.git0a083f9.el9
  • Red Hat, openSUSE, Alpine, Azure Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2022-4318 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-4318?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-4318?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-4318 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat OpenShift Container Platform 4.110:1.24.4-10.rhaos4.11.git1ed5ac5.el8
Red Hat OpenShift Container Platform 4.120:1.25.2-9.rhaos4.12.git0a083f9.el9

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cm9x-c3rh-7rc4Gogithub.com/cri-o/cri-o<1.26.01.26.0
GO-2022-1206Gogithub.com/cri-o/cri-o<1.26.01.26.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatopenshift:4.11::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.24.4-10.rhaos4.11.git1ed5ac5.el8RHSA-2023:1503
Red Hatopenshift:4.12::el8cri-o, cri-o-debuginfo, cri-o-debugsource0:1.25.2-10.rhaos4.12.git0a083f9.el8RHSA-2023:1033
Red Hatopenshift:4.12::el9cri-o, cri-o-debuginfo, cri-o-debugsource0:1.25.2-9.rhaos4.12.git0a083f9.el9RHSA-2023:1033
openSUSETumbleweedcri-o1.36.7-1.1openSUSE-SU-2026:12626-1
Alpinev3.21, v3.22, v3.23 and 1 morecri-o1.26.2-r0ALPINE-CVE-2022-4318
Azure Linux2cri-o1.22.3-1AZL-39873

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat OpenShift Container Platform 4.11cri-o-0:1.24.4-10.rhaos4.11.git1ed5ac5.el8Fixed 2023-04-04RHSA-2023:1503
Red Hat OpenShift Container Platform 4.12cri-o-0:1.25.2-10.rhaos4.12.git0a083f9.el8Fixed 2023-03-07RHSA-2023:1033
Red Hat Enterprise Linux 9fence-agentsNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-4318.

Attack patterns (CAPEC)

  • CAPEC-95 WSDL Scanning Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON