CVE-2021-29136: Input Validation
Open Container Initiative umoci before 0.4.7 allows attackers to overwrite arbitrary host paths via a crafted image that causes symlink traversal when "umoci unpack" or "umoci raw unpack" is used.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
alpine/singularityto a version that resolves this vulnerability.Fixed in 3.7.3-r0 - Upgrade
Upgrade
alpine/umocito a version that resolves this vulnerability.Fixed in 0.4.7-r0
Event History
Frequently Asked Questions
What is the vulnerability ID of this vulnerability?
The vulnerability ID of this vulnerability is CVE-2021-29136.
What is the severity of CVE-2021-29136?
The severity of CVE-2021-29136 is medium with a CVSS score of 5.5.
Which software is affected by CVE-2021-29136?
The Linuxfoundation Umoci versions up to and exclusive of 0.4.7 and Sylabs Singularity versions up to and exclusive of 3.7.3 are affected by CVE-2021-29136.
How can an attacker exploit CVE-2021-29136?
An attacker can exploit CVE-2021-29136 by using a crafted image that causes symlink traversal when "umoci unpack" or "umoci raw unpack" is used, allowing them to overwrite arbitrary host paths.
Are there any references for CVE-2021-29136?
Yes, you can find references for CVE-2021-29136 at the following links: [Link 1](http://www.openwall.com/lists/oss-security/2021/04/06/2), [Link 2](https://github.com/opencontainers/umoci/commit/d9efc31daf2206f7d3fdb839863cf7a576a2eb57), [Link 3](https://github.com/opencontainers/umoci/security/advisories/GHSA-9m95-8hx6-7p9v).