Symlink Attack Affecting github.com/containers/podman/cmd/podman package, versions <1.6.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.19% (58th 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-GITHUBCOMCONTAINERSPODMANCMDPODMAN-5783254
  • published19 Jul 2023
  • disclosed24 May 2022
  • creditUnknown

Introduced: 24 May 2022

CVE-2019-18466  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade github.com/containers/podman/cmd/podman to version 1.6.0 or higher.

Overview

github.com/containers/podman/cmd/podman is a daemonless container runtime for managing containers, pods, and container images

Affected versions of this package are vulnerable to Symlink Attack when it resolves a symlink in the host context during a copy operation from the container to the host, because an undesired glob operation occurs. An attacker could create a container image containing particular symlinks that, when copied by a victim user to the host filesystem, may overwrite existing files with others from the host.

CVSS Base Scores

version 3.1