GHSA-qwqv-rqgf-8qh8
Podman Time-of-check Time-of-use (TOCTOU) Race Condition
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Go | github.com/containers/podman/v4 | < 4.4.2 | 4.4.2 |
Details
As written in the advisory (Markdown source, shown as plain text).
A Time-of-check Time-of-use (TOCTOU) flaw was found in 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.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2023-0778
- https://github.com/containers/podman/pull/17528
- https://github.com/containers/podman/pull/17532
- https://github.com/containers/podman/commit/6ca857feb07a5fdc96fd947afef03916291673d8
- https://access.redhat.com/security/cve/CVE-2023-0778
- https://bugzilla.redhat.com/show_bug.cgi?id=2168256
- https://github.com/containers/podman
- https://pkg.go.dev/vuln/GO-2023-1681