MEDIUM6.8
GO-2023-1681
Time-of-check time-of-use race condition in github.com/containers/podman/v4
Quick fix
GO-2023-1681 — github.com/containers/podman/v4: upgrade to the fixed version with the command below.
go get github.com/containers/podman/v4@v4.4.2Details
A Time-of-check Time-of-use (TOCTOU) flaw appears in this version of podman. This issue may allow a malicious user to replace a normal file in a volume with a symlink while exporting the volume, allowing for access to arbitrary files on the host file system.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/containers/podman/v4
Introduced in:
0Fixed in: 4.4.2Fix
go get github.com/containers/podman/v4@v4.4.2References
- https://bugzilla.redhat.com/show_bug.cgi?id=2168256[WEB]
- https://github.com/containers/podman/pull/17528[FIX]
- https://github.com/containers/podman/pull/17532[FIX]
- https://github.com/containers/podman/commit/6ca857feb07a5fdc96fd947afef03916291673d8[FIX]
- https://github.com/advisories/GHSA-qwqv-rqgf-8qh8[ADVISORY]