CVE-2025-23208

High

Description

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.

SeverityHigh
CVSS7.3
Exploit probability—
ProductZot
PublishedJan 17, 2025
First seenJan 17, 2025

How to fix

Update
  • zotregistry zot2.1.2 or later
  • zotregistry.dev/zot2.1.2 or later

Affected products

ProductAffected versionsFixed in
zotregistry zotv < 2.1.22.1.2
zotregistry.dev/zotGov < 2.1.2, No range specified2.1.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.