Advisory

GHSA-w55j-f7vx-6q37

Also known as: CVE-2018-1103, GO-2020-0026

Summary

Openshift Enterprise source-to-image vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip)

Details

Openshift Enterprise source-to-image before version 1.1.10 is vulnerable to an improper validation of user input. An attacker who could trick a user into using the command to copy files locally, from a pod, could override files outside of the target directory of the command.

Specific Go Packages Affected
github.com/openshift/source-to-image/pkg/tar

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2023-02-06 23:49 UTC
Modified
2023-11-08 03:59 UTC

Affected packages and fixes

github.com/openshift/source-to-image

Go · All systems

Affected

  • introduced 0, fixed 1.1.10-0.20180427153919-f5cbcbc5cc6f (semver)

Fixed versions

1.1.10-0.20180427153919-f5cbcbc5cc6f

Fix

  • Fixed version 1.1.10-0.20180427153919-f5cbcbc5cc6f
    go get github.com/openshift/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences