CVE-2022-4318: Cri-o: /etc/passwd tampering privesc
Noroxi assessment
Priority: Monitor (action score 31/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.29% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: github.com/cri-o/cri-o (Go) 1.26.0; cri-o (Red Hat:openshift:4.11::el8) 0:1.24.4-10.rhaos4.11.git1ed5ac5.el8; cri-o-debuginfo (Red Hat:openshift:4.11::el8) 0:1.24.4-10.rhaos4.11.git1ed5ac5.el8.
Low priority for now. Upgrade to github.com/cri-o/cri-o (Go) 1.26.0; cri-o (Red Hat:openshift:4.11::el8) 0:1.24.4-10.rhaos4.11.git1ed5ac5.el8; cri-o-debuginfo (Red Hat:openshift:4.11::el8) 0:1.24.4-10.rhaos4.11.git1ed5ac5.el8 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Sep 25, 2023
- Updated
- Jun 17, 2026
- EPSS
- 0.2% · 21th percentile
- CWE
- CWE-538
Report tools
Action score
31
Monitor
Low priority for now.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 7.8
- CNA · redhat
- 7.8
- agree
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| kubernetes | cri-o | cpe:2.3:a:kubernetes:cri-o |
| redhat | openshift container platform for arm64 | cpe:2.3:a:redhat:openshift_container_platform_for_arm64 |
| redhat | openshift container platform for linuxone | cpe:2.3:a:redhat:openshift_container_platform_for_linuxone |
| redhat | openshift container platform for power | cpe:2.3:a:redhat:openshift_container_platform_for_power |
| redhat | openshift container platform ibm z systems | cpe:2.3:a:redhat:openshift_container_platform_ibm_z_systems |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| fedoraproject | extra packages for enterprise linux | cpe:2.3:a:fedoraproject:extra_packages_for_enterprise_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- fedoraproject extra packages for enterprise linux8.0
- fedoraproject fedora36
- fedoraproject fedora37
- kubernetes cri-oall versions
- redhat openshift container platform for arm644.11
- redhat openshift container platform for arm644.12
- redhat openshift container platform for linuxone4.11
- redhat openshift container platform for linuxone4.12
- redhat openshift container platform for power4.11
- redhat openshift container platform for power4.12
- redhat openshift container platform ibm z systems4.11
- redhat openshift container platform ibm z systems4.12
Versions reported by the vendor
Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.
Red Hat Red Hat Enterprise Linux 9
- all versionsunknown
Red Hat Red Hat OpenShift Container Platform 4.11
- 0:1.24.4-10.rhaos4.11.git1ed5ac5.el8 and laternot affected · rpm
Red Hat Red Hat OpenShift Container Platform 4.12
- 0:1.25.2-9.rhaos4.12.git0a083f9.el9 and laternot affected · rpm
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Go | github.com/cri-o/cri-o | before 1.26.0 | 1.26.0 |
| Red Hat:openshift:4.11::el8 | cri-o | before 0:1.24.4-10.rhaos4.11.git1ed5ac5.el8 | 0:1.24.4-10.rhaos4.11.git1ed5ac5.el8 |
| Red Hat:openshift:4.11::el8 | cri-o-debuginfo | before 0:1.24.4-10.rhaos4.11.git1ed5ac5.el8 | 0:1.24.4-10.rhaos4.11.git1ed5ac5.el8 |
| Red Hat:openshift:4.11::el8 | cri-o-debugsource | before 0:1.24.4-10.rhaos4.11.git1ed5ac5.el8 | 0:1.24.4-10.rhaos4.11.git1ed5ac5.el8 |
| Red Hat:openshift:4.12::el8 | cri-o | before 0:1.25.2-10.rhaos4.12.git0a083f9.el8 | 0:1.25.2-10.rhaos4.12.git0a083f9.el8 |
| Red Hat:openshift:4.12::el8 | cri-o-debuginfo | before 0:1.25.2-10.rhaos4.12.git0a083f9.el8 | 0:1.25.2-10.rhaos4.12.git0a083f9.el8 |
| Red Hat:openshift:4.12::el8 | cri-o-debugsource | before 0:1.25.2-10.rhaos4.12.git0a083f9.el8 | 0:1.25.2-10.rhaos4.12.git0a083f9.el8 |
| Red Hat:openshift:4.12::el9 | cri-o | before 0:1.25.2-9.rhaos4.12.git0a083f9.el9 | 0:1.25.2-9.rhaos4.12.git0a083f9.el9 |
| Red Hat:openshift:4.12::el9 | cri-o-debuginfo | before 0:1.25.2-9.rhaos4.12.git0a083f9.el9 | 0:1.25.2-9.rhaos4.12.git0a083f9.el9 |
| Red Hat:openshift:4.12::el9 | cri-o-debugsource | before 0:1.25.2-9.rhaos4.12.git0a083f9.el9 | 0:1.25.2-9.rhaos4.12.git0a083f9.el9 |
Same product
kubernetes: all recordsOther highest-scoring records for the same primary product.
- CVE-2022-0811A flaw was found in CRI-O in the way it set kernel options for a pod.41Plan
- CVE-2018-1000400Kubernetes CRI-O version prior to 1.9 contains a Privilege Context Switching Error (CWE-270) vulnerability in the handling of ambient capabi36Monitor
- CVE-2024-5154Cri-o: malicious container can create symlink on host32Monitor
Published before and after this one in the same product
- ← EarlierCVE-2022-1708Jun 7, 2022 · A vulnerability was found in CRI-O that causes memory or disk space exhaustion on the node for anyone with access to the Kube API.31Monitor
- ← EarlierCVE-2022-2995Sep 19, 2022 · Incorrect handling of the supplementary groups in the CRI-O container engine might lead to sensitive information disclosure or possible data28Monitor
- ← EarlierCVE-2022-3466Sep 15, 2023 · Cri-o: security regression of cve-2022-2765221Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Go:github.com/cri-o/cri-o | 1.26.0 | Package registry (OSV) |
| red hat:cri-o | 0:1.25.2-10.rhaos4.12.git0a083f9.el8 · Red Hat:openshift:4.12::el8 | Package registry (OSV) |
| red hat:cri-o-debuginfo | 0:1.25.2-10.rhaos4.12.git0a083f9.el8 · Red Hat:openshift:4.12::el8 | Package registry (OSV) |
| red hat:cri-o-debugsource | 0:1.25.2-10.rhaos4.12.git0a083f9.el8 · Red Hat:openshift:4.12::el8 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-538 · Insertion of Sensitive Information into Externally-Accessible File or DirectoryCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (3 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.