CVE-2025-23208 IdP group membership revocation ignored in zot
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 1 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| zotregistry.dev/zot(Go) | < 2.1.2; <= 2.1.1; All versions | 2.1.2 | Partially fixed |
| zotregistry zot | < 2.1.2 | 2.1.2 | Fixed |
| project-zot zot | = < 2.1.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| zotregistry.dev/zot(Go) | < 2.1.2 | 2.1.2 |
| zotregistry.dev/zot(Go) | All versions | No fix listed |
| zotregistry.dev/zot(Go) | <= 2.1.1 | No fix listed |
| project-zot zot | = < 2.1.2 | No fix listed |
| zotregistry zot | < 2.1.2 | 2.1.2 |
References
- https://github.com/project-zot/zot/security/advisories/GHSA-c9p4-xwr9-rfhx exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/project-zot/zot/commit/002ac62d8a15bf0cba010b3ba7bde86f9837b613 patch
- github.com product
- https://github.com/project-zot/zot/blob/5e30fec65c49e3139907e2819ccb39b2e3bd784e/pkg/meta/boltdb/boltdb.go#L1665 product
- github.com