Advisory

GO-2023-2048

Also known as: GHSA-6xv5-86q9-7xr8

Summary

Paths outside of the rootfs could be produced on Windows in github.com/cyphar/filepath-securejoin

Details

Certain rootfs and path combinations result in generated paths that are outside of the provided rootfs on Windows.

Severity

Not rated by the source.

Dates

Published
2023-09-13 19:45 UTC
Modified
2026-02-04 04:10 UTC

Affected packages and fixes

github.com/cyphar/filepath-securejoin

Go · All systems

Affected

  • introduced 0, fixed 0.2.4 (semver)

Fixed versions

0.2.4

Fix

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