# Arbitrary file write via archive extraction in github.com/openshift/source-to-image

Advisory record · `GHSA-w55j-f7vx-6q37`

- **Identifiers:** `GHSA-w55j-f7vx-6q37` · `CVE-2018-1103` · `GO-2020-0026`
- **State:** Confirmed
- **Severity:** CVSS 6.1 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 14 Apr 2021
- **Updated:** 20 May 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 14 Apr 2021, 20:04 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/openshift/source-to-image` (Go): affected `<1.1.10-0.20180427153919-f5cbcbc5cc6f`; fixed in `1.1.10-0.20180427153919-f5cbcbc5cc6f`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The github.com/openshift/source-to-image Go package is vulnerable in versions before 1.1.10-0.20180427153919-f5cbcbc5cc6f. Because file paths in archives are not properly sanitized, an attacker who can supply an archive for extraction can write or overwrite files outside the intended target directory. The source gives few details on the exact conditions required. Upgrade to 1.1.10-0.20180427153919-f5cbcbc5cc6f or later.

Written 10 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.1 Medium, CVSS 3.0: `CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N`, from CNA (redhat)

- **CISA KEV:** Not listed.
- **EPSS:** 0.013, the 71st percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the GitHub Advisory Database, published 14 Apr 2021. New records show when each source confirmed them.

## Sources

- [GitHub Advisory Database: GHSA-w55j-f7vx-6q37](https://github.com/advisories/GHSA-w55j-f7vx-6q37)
- [OSV: GHSA-w55j-f7vx-6q37](https://osv.dev/vulnerability/GHSA-w55j-f7vx-6q37)
- <https://github.com/openshift/source-to-image/commit/f5cbcbc5cc6f8cc2f479a7302443bea407a700cb>
- <https://snyk.io/research/zip-slip-vulnerability>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-w55j-f7vx-6q37>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-w55j-f7vx-6q37/>. Everything for agents: <https://agentprime.io/llms.txt>.
