Access Control Bypass Affecting github.com/project-zot/zot/pkg/meta/boltdb package, versions <2.1.2-rc5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Access Control Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMPROJECTZOTZOTPKGMETABOLTDB-8647970
  • published19 Jan 2025
  • disclosed17 Jan 2025
  • creditjeff-mccoy

Introduced: 17 Jan 2025

NewCVE-2025-23208  (opens in a new tab)
CWE-284  (opens in a new tab)

How to fix?

Upgrade github.com/project-zot/zot/pkg/meta/boltdb to version 2.1.2-rc5 or higher.

Overview

Affected versions of this package are vulnerable to Access Control Bypass due to the SetUserGroups functionallity. An attacker can maintain unauthorized access and privileges by logging in after being removed from a group, as the system fails to update and remove old group memberships, appending new data instead of replacing it. This is only exploitable if the system configuration relies on group-based authorization and does not handle group revocations properly.

References

CVSS Scores

version 4.0
version 3.1