medium6.8
CVE-2023-0778
Podman Time-of-check Time-of-use (TOCTOU) Race Condition
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/containers/podman/v4 | < 4.4.2 | 4.4.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Podman Project | Podman | All versions |
| Redhat | Enterprise Linux | Versions 8.0, 9.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2168256
- https://github.com/advisories/GHSA-qwqv-rqgf-8qh8
- 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://pkg.go.dev/vuln/GO-2023-1681