Security mailing lists by PureSourceCode

CVE-2024-39897

MEDIUM 4.3CVSS 3.1

Cache driver GetBlob() allows read access to any blob without access control check

zot is an OCI image registry. Prior to 2.1.0, the cache driver GetBlob() allows read access to any blob without access control check. If a Zot accessControl policy allows users read access to some repositories but restricts read access to other repositories and dedupe is enabled (it is enabled by default), then an attacker who knows the name of an image and the digest of a blob (that they do not have read access to), they may maliciously read it via a second repository they do have read access to.
This attack is possible because ImageStore.CheckBlob() calls checkCacheBlob() to find the blob a global cache by searching for the digest. If it is found, it is copied to the user requested repository with copyBlob(). The attack may be mitigated by configuring "dedupe": false in the "storage" settings. The vulnerability is fixed in 2.1.0.

Published
9 Jul 2024
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-639
Also known as
GHSA-55r9-5mx9-qq7rGO-2024-2979
Sources
NVDJSONOSV GHSA-55r9-5mx9-qq7rJSONOSV GO-2024-2979JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD zotregistry zot
cpe:2.3:a:zotregistry:zot:*:*:*:*:*:*:*:*
< 2.1.0 2.1.0
OSV Go zotregistry.io/zot < 2.1.0 2.1.0
OSV Go zotregistry.dev/zot < 2.1.0 2.1.0
OSV Go zotregistry.dev/zot all versions
OSV Go zotregistry.io/zot all versions

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 9 Jul 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Jul 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Jul 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.