Skip to content

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

Moderate severity GitHub Reviewed Published Mar 27, 2023 to the GitHub Advisory Database • Updated Apr 4, 2023

Package

gomod github.com/containers/podman/v4 (Go)

Affected versions

< 4.4.2

Patched versions

4.4.2

Description

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

Published by the National Vulnerability Database Mar 27, 2023
Published to the GitHub Advisory Database Mar 27, 2023
Reviewed Mar 27, 2023
Last updated Apr 4, 2023

Severity

Moderate
6.8
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Weaknesses

CVE ID

CVE-2023-0778

GHSA ID

GHSA-qwqv-rqgf-8qh8

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.