Improper Input Validation Affecting github.com/containers/image/v5/directory package, versions <5.30.1


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.05% (19th 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMCONTAINERSIMAGEV5DIRECTORY-6828759
  • published14 May 2024
  • disclosed9 May 2024
  • creditmtrmac

Introduced: 9 May 2024

CVE-2024-3727  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade github.com/containers/image/v5/directory to version 5.30.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Input Validation due to not validating digest values used throughout this library. This allows attackers to trigger, when pulling untrusted images, unexpected authenticated registry accesses on behalf of a victim user.

CVSS Scores

version 3.1