CVE-2025-23208

MEDIUM CVSS 3.1: 5.3 EPSS 0.42%
Updated Mar 04, 2025
Zotregistry
Parameter Value
CVSS 5.3 (MEDIUM)
Affected Versions before 2.1.2
Fixed In 2.1.2
Type CWE-269 (Improper Privilege Management)
Vendor Zotregistry
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Zotregistry Zot
cpe:2.3:a:zotregistry:zot:*:*:*:*:*:*:*:*
— 2.1.2

Related Vulnerabilities