CVE Vulnerabilities

CVE-2023-0778

Time-of-check Time-of-use (TOCTOU) Race Condition

Published: Mar 27, 2023 | Modified: Feb 24, 2025
CVSS 3.x
6.8
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
6.8 MODERATE
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product checks the state of a resource before using that resource, but the resource’s state can change between the check and the use in a way that invalidates the results of the check.

Affected Software

NameVendorStart VersionEnd Version
PodmanPodman_project- (including)- (including)
Red Hat Enterprise Linux 8RedHatcontainer-tools:rhel8-8080020230321153727.0f77c1b7*
Red Hat Enterprise Linux 8RedHatcontainer-tools:4.0-8080020230217080101.8108cfbc*
Red Hat OpenShift Container Platform 4.13RedHatpodman-3:4.4.1-3.rhaos4.13.el9*
LibpodUbuntukinetic*
LibpodUbuntulunar*
LibpodUbuntumantic*
LibpodUbuntuoracular*
LibpodUbuntutrusty*
LibpodUbuntuxenial*

Potential Mitigations

References