Protected file access via omitted primary group
Published Sep 13, 2022 · Updated Aug 3, 2024
Incorrect group initialization in Containers Buildah before 1.27.1 allows local users to read or modify protected container files. Buildah omits the configured primary GID from the OCI process supplementary-group list, so a set-group binary can drop the denied group. Exploitation requires code execution inside a container that relies on negative group permissions; access is confined to files that policy intended that group to deny.
Summary
What happened
Incorrect group initialization in Containers Buildah before 1.27.1 allows local users to read or modify protected container files. Buildah omits the configured primary GID from the OCI process supplementary-group list, so a set-group binary can drop the denied group. Exploitation requires code execution inside a container that relies on negative group permissions; access is confined to files that policy intended that group to deny.
The record
- CVE
- CVE-2022-2990
- Published
- Sep 13, 2022
- Updated
- Aug 3, 2024
- Vendor
- Containers
- Product
- Buildah
- Classifications
- CWE-863, CWE-842, T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 13, 2022CVE publishedPublication date reported by the CVE source.
- Aug 3, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=no fixed version known
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- permission-experiment negative group permissions demonstrationproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo