Container escape via untrusted chroot NSS loading
Published Oct 29, 2023 · Updated Sep 9, 2024
Container escape in affected openEuler iSulad builds allows local users controlling an exported container to hijack the host process. During isula export, util_archive.c enters the container filesystem before glibc NSS initialization, allowing attacker-controlled NSS configuration and libraries to load into the privileged process. Reaching the flaw requires control of the exported container; successful exploitation executes code outside that container with the export process's host privileges.
Summary
What happened
Container escape in affected openEuler iSulad builds allows local users controlling an exported container to hijack the host process. During isula export, util_archive.c enters the container filesystem before glibc NSS initialization, allowing attacker-controlled NSS configuration and libraries to load into the privileged process. Reaching the flaw requires control of the exported container; successful exploitation executes code outside that container with the export process's host privileges.
The record
- CVE
- CVE-2021-33637
- Published
- Oct 29, 2023
- Updated
- Sep 9, 2024
- Vendor
- openEuler
- Product
- iSulad
- Classifications
- CWE-665, CAPEC-234, T1611
- Attack vector
- local
- Privileges
- Unavailable
Timeline
How it unfolded
- Oct 29, 2023CVE publishedPublication date reported by the CVE source.
- Sep 9, 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=0 <=2.0.8-20210518.144540.git5288ed93,2.0.18-10,2.1.2 changes=[{"at":"0102-fix-loading-of-nsswitch-based-config-inside-chr.patch","status":"unaffected"},{"at":"0106-fix-loading-of-nsswitch-based-config-inside-chroot-u.patch","status":"unaffected"}]
What conditions does exploitation require?
What is affected?
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
No public exploit references are available in this record.
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