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.
Exploitation and risk
Source statusCISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.
Which CVEs have scores here?
This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.
No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.
cve-program · CVE-2021-29136
PublishedOpen 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.
- Source published
- 6 Apr 2021 15:57:49 UTC
- Source modified
- 3 Aug 2024 22:02:50 UTC
- Saved here
- 23 Oct 2026 15:48:27 UTC
- Source terms
- CVE Program Terms of Use
Original source record · Cite this exact observation · Complete original publisher JSON
Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
euvd · EUVD-2022-0942
PublishedOpen 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.
Additional publisher context
EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.
Original publisher date fields
datePublished: Apr 6, 2021, 3:57:49 PM
dateUpdated: Aug 3, 2024, 10:02:50 PM
9 related source bulletins · separate from aliases
SUSE-SU-2021:1116-1: Security update for umoci
CVE-2021-29136
openSUSE-SU-2021:0548-1: Security update for umoci
CVE-2021-29136
openSUSE-SU-2024:11384-1: singularity-3.8.3-1.2 on GA media
CVE-2018-12021 · CVE-2018-19295 · CVE-2019-11328 · CVE-2019-19724 · CVE-2020-13845 · CVE-2020-13846 · CVE-2020-13847 · CVE-2020-15229 · CVE-2020-25039 · CVE-2020-25040 · CVE-2021-29136 · CVE-2021-32635
openSUSE-SU-2024:11482-1: umoci-0.4.7-2.3 on GA media
CVE-2021-29136
SUSE-SU-2021:1863-2: Security update for umoci
CVE-2021-29136
openSUSE-SU-2021:0810-1: Security update for singularity
CVE-2021-29136
openSUSE-SU-2021:0846-1: Security update for umoci
CVE-2021-29136
SUSE-SU-2021:1863-1: Security update for umoci
CVE-2021-29136
openSUSE-SU-2021:1863-1: Security update for umoci
CVE-2021-29136
- Source published
- Apr 6, 2021, 3:57:49 PM (timezone not stated)
- Source modified
- Aug 3, 2024, 10:02:50 PM (timezone not stated)
- Saved here
- 24 Nov 2026 08:35:01 UTC
- Source terms
- ENISA EUVD · source terms and attribution apply
Original source record · Cite this exact observation · Complete original publisher JSON
Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
nvd · CVE-2021-29136
PublishedOpen 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.
Additional publisher context
NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Modified
Weakness classifications: CWE-20
Original publisher date fields
published: 2021-04-06T16:15:16.520
lastModified: 2026-06-17T03:47:20.523
2 source CPE criteria · context only
- cpe:2.3:a:linuxfoundation:umoci:*:*:*:*:*:*:*:*
- cpe:2.3:a:sylabs:singularity:*:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
- Source published
- 6 Apr 2021 16:15:16 UTC
- Source modified
- 17 Jun 2026 03:47:20 UTC
- Saved here
- 24 Oct 2026 18:17:21 UTC
- Source terms
- NIST NVD usage terms; underlying source attribution retained
Original source record · Cite this exact observation · Complete original publisher JSON
Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS 3.1 · [email protected] · Primary · 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS 2.0 · [email protected] · Primary · 2.1 AV:L/AC:L/Au:N/C:N/I:P/A:N
osv · GHSA-9m95-8hx6-7p9v
Published### Impact umoci 0.4.6 and earlier can be tricked into modifying host files by creating a malicious layer that has a symlink with the name "." (or "/"). Because umoci deletes inodes if they change types, this results in the rootfs directory being replaced with an attacker-controlled symlink. Subsequent image layers will then be applied on top of the target of the symlink (which could be any directory on the host filesystem the user running umoci has access to). While umoci does have defences against symlink-based attacks, they are all implemented by resolving things relative to the rootfs directory -- if the rootfs itself is a symlink, umoci resolves it first. This vulnerability affects both "umoci unpack" and "umoci raw unpack". ### Patches This issue has been patched in umoci 0.4.7, see the references section for the specific commit which fixed this vulnerability. ### Workarounds Note that if you use umoci as an unprivileged user (using the --rootless flag) then umoci will not be able to overwrite any files that your user doesn't have access to. Other possible mitigations are to run umoci under an LSM profile such as AppArmor or SELinux to restrict the level of access it has outside of container image directories. ### References * [oss-security public disclosure](https://www.openwall.com/lists/oss-security/2021/04/06/2) * [patch](https://github.com/opencontainers/umoci/commit/d9efc31daf2206f7d3fdb839863cf7a576a2eb57) ### Credits Thanks to Robin Peraglie from Cure53 for discovering and reporting this vulnerability. ### For more information If you have any questions or comments about this advisory * Open an issue in <https://github.com/opencontainers/umoci>. * Email us at <[email protected]>.
- Source published
- 15 Feb 2022 01:17:37 UTC
- Source modified
- 8 Jul 2026 06:28:59 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- GitHub Advisory Database · CC-BY-4.0
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.
CVSS_V3 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Publisher rating · MODERATE
osv · GO-2022-0815
PublishedImproper input validation in umoci in github.com/opencontainers/umoci
- Source published
- 21 Aug 2024 15:29:02 UTC
- Source modified
- 3 Mar 2026 04:50:56 UTC
- Saved here
- 24 Oct 2026 13:19:41 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.