Skip to main content

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

CVE-2023-0778

Severity Medium
Score 6.8/10

Summary

A Time-of-check Time-of-use (TOCTOU) flaw was found in podman versions prior to 4.4.2. 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.

  • HIGH
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • LOW
  • HIGH
  • NONE

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

The software 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. This can cause the software to perform invalid actions when the resource is in an unexpected state.

Advisory Timeline

  • Published