CVE-2022-4318: Cri-o: /etc/passwd tampering privesc
Vulnerability summary
CVE-2022-4318 is a high (CVSS 7.8) vulnerability in fedoraproject extra_packages_for_enterprise_linux. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 23.1% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 25-09-2023PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · Red hatEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · GoEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:C/C:L/I:H/A:NDiffers
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
23%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.29% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-538Insertion of Sensitive Information into Externally-Accessible File or DirectoryThe product places sensitive information into files or directories that are accessible to actors who are allowed to have access to the files, but not to the sensitive information.
- CWE-913Improper Control of Dynamically-Managed Code ResourcesThe 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.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat7 products
- openshift_container_platform_for_arm644.12 | 4.11
- openshift_container_platform_for_linuxone4.12 | 4.11
- openshift_container_platform_for_power4.12 | 4.11
- openshift_container_platform_ibm_z_systems4.12 | 4.11
- cri-o< 0:1.25.2-10.rhaos4.12.git0a083f9.el8 | < 0:1.25.2-9.rhaos4.12.git0a083f9.el9 | < 0:1.24.4-10.rhaos4.11.git1ed5ac5.el8
Fedoraproject2 products
- extra_packages_for_enterprise_linux8.0
- fedoraEOL36 | 37
Alpine1 product
- cri-o< 1.26.2-r0
Github.com/cri-o1 product
- cri-o< 1.26.0
Kubernetes1 product
- cri-ona
5 vendors · 12 products
References
14 links- access.redhat.com/errata/RHSA-2023:1033Vendor AdvisoryX Refsource REDHATAdvisoryWEBThird Party Advisory
- access.redhat.com/errata/RHSA-2023:1503Vendor AdvisoryX Refsource REDHATAdvisoryWEBThird Party Advisory
- access.redhat.com/security/cve/CVE-2022-4318VDB EntryX Refsource REDHATREPORTWEBThird Party Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2152703Issue TrackingX Refsource REDHATREPORTWEBThird Party Advisory
Show all 14 references
- github.com/cri-o/cri-oPACKAGE