CVE-2025-23208

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:zotregistry:zot:*:*:*:*:*:*:*:*

History

04 Mar 2025, 14:45

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3
CPE cpe:2.3:a:zotregistry:zot:*:*:*:*:*:*:*:*
First Time Zotregistry
Zotregistry zot
References () https://github.com/project-zot/zot/blob/5e30fec65c49e3139907e2819ccb39b2e3bd784e/pkg/meta/boltdb/boltdb.go#L1665 - () https://github.com/project-zot/zot/blob/5e30fec65c49e3139907e2819ccb39b2e3bd784e/pkg/meta/boltdb/boltdb.go#L1665 - Product
References () https://github.com/project-zot/zot/commit/002ac62d8a15bf0cba010b3ba7bde86f9837b613 - () https://github.com/project-zot/zot/commit/002ac62d8a15bf0cba010b3ba7bde86f9837b613 - Patch
References () https://github.com/project-zot/zot/security/advisories/GHSA-c9p4-xwr9-rfhx - () https://github.com/project-zot/zot/security/advisories/GHSA-c9p4-xwr9-rfhx - Exploit, Vendor Advisory

17 Jan 2025, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-01-17 23:15

Updated : 2025-03-04 14:45


NVD link : CVE-2025-23208

Mitre link : CVE-2025-23208


JSON object : View

Products Affected

zotregistry

  • zot
CWE
CWE-269

Improper Privilege Management