VDB
Sign up
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.2

Details

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.2
Fixgo get github.com/containers/podman/v4@v4.4.2

References