Advisory

GO-2020-0026

Also known as: CVE-2018-1103, GHSA-w55j-f7vx-6q37

Summary

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

Details

Due to improper path sanitization, archives containing relative file paths can cause files to be written (or overwritten) outside of the target directory.

Severity

Not rated by the source.

Dates

Published
2021-04-14 20:04 UTC
Modified
2024-05-20 16:03 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: Go Vulnerability Database · CC BY 4.0

Sources & licences