Improper Privilege Management Affecting zot package, versions <2.1.2-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (18th 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 Privilege Management vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-ZOT-8648313
  • published20 Jan 2025
  • disclosed17 Jan 2025

Introduced: 17 Jan 2025

NewCVE-2025-23208  (opens in a new tab)
CWE-269  (opens in a new tab)

How to fix?

Upgrade Chainguard zot to version 2.1.2-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream zot package and not the zot package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

zot is a production-ready vendor-neutral OCI image registry. The group data stored for users in the boltdb database (meta.db) is an append-list so group revocations/removals are ignored in the API. SetUserGroups is alled on login, but instead of replacing the group memberships, they are appended. This may be due to some conflict with the group definitions in the config file, but that wasn't obvious to me if it were the case. Any Zot configuration that relies on group-based authorization will not respect group remove/revocation by an IdP. This issue has been addressed in version 2.1.2. All users are advised to upgrade. There are no known workarounds for this vulnerability.