Time-of-check Time-of-use (TOCTOU) Race Condition Affecting github.com/containers/podman/v4 package, versions <4.5.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMCONTAINERSPODMANV4-3324091
  • published17 Feb 2023
  • disclosed15 Feb 2023
  • creditUnknown

Introduced: 15 Feb 2023

CVE-2023-0778  (opens in a new tab)
CWE-367  (opens in a new tab)

How to fix?

Upgrade github.com/containers/podman/v4 to version 4.5.0 or higher.

Overview

Affected versions of this package are vulnerable to Time-of-check Time-of-use (TOCTOU) Race Condition by allowing 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.

CVSS Scores

version 3.1