Symlink Attack Affecting github.com/containers/storage package, versions <1.51.1>=1.52.0 <1.55.1


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.11% (47th 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-GITHUBCOMCONTAINERSSTORAGE-8230413
  • published18 Oct 2024
  • disclosed17 Oct 2024
  • creditUnknown

Introduced: 17 Oct 2024

CVE-2024-9676  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade github.com/containers/storage to version 1.51.1, 1.55.1 or higher.

Overview

Affected versions of this package are vulnerable to Symlink Attack due to not properly validating if the file is a symlink, when reading /etc/passwd inside the container. This happens via OOM kill when running a malicious image using an automatically assigned user namespace.

Note: This affects Podman, Buildah, and CRI-O.

CVSS Scores

version 4.0
version 3.1