CVE-2025-23208
IdP group membership revocation ignored in zot
Reported by github_m · Published January 17, 2025
zotregistry.dev/zot is fixed in 2.1.2 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| zotregistry.dev/zot | Go Modules | 2.1.2 |
| zot | Chainguard | 2.1.2-r0 |
| zot | zotregistry | 2.1.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| project-zot | zot | < 2.1.2 |
| chainguard | zot | 0 |
| project-zot | zot | 0 |
| wolfi | zot | 0 |
| zotregistry.dev | zot | 0 |
Timeline
- Jan 17, 2025 CVE Published
- Jan 17, 2025 PoC Published (4 in total, the first dated here)
- Jan 18, 2025 EPSS Score (30 in total, the first dated here)
- Apr 9, 2025 Coalition ESS Score (17 in total, the first dated here)
- Dec 21, 2025 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-23208
vulnetix vdb fixes CVE-2025-23208
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-23208/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/project-zot/zot/security/advisories/GHSA-c9p4-xwr9-rfhx x_refsource_CONFIRM
- https://github.com/project-zot/zot/commit/002ac62d8a15bf0cba010b3ba7bde86f9837b613 x_refsource_MISC
- https://github.com/project-zot/zot/blob/5e30fec65c49e3139907e2819ccb39b2e3bd784e/pkg/meta/boltdb/boltdb.go#L1665 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2025-23208 advisory
- https://github.com/advisories/GHSA-c9p4-xwr9-rfhx advisory
- https://github.com/project-zot/zot url