CVE & CISA-KEV Catalog

CVE-2024-39897

MEDIUM
4.3
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
zotNVD
Affected:< 2.1.0Fixed in:2.1.0CVE-2024-39897derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityNone
AvailabilityNone

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Exploit Intelligence

0.30%probability of exploitation in 30 days
22ndpercentile

Low risk: more likely to be exploited than 22% of all known CVEs.

References

Vendor Advisory1

Related Vulnerabilities

Other CWE-639 (Authorization Bypass Through User-Controlled Key) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-6875Critical9.890%--
CVE-2024-46982High7.561%-Fix
CVE-2021-45428Critical9.857%--
CVE-2019-17382Critical9.154%-Fix
CVE-2019-13360Critical9.824%--
CVE-2023-48783Medium5.422%-Fix
Embed a live status badge for CVE-2024-39897
CVE-2024-39897 severity badge

Markdown

[![CVE-2024-39897](https://tridentstack.com/cve/badge/CVE-2024-39897.svg)](https://tridentstack.com/cve/CVE-2024-39897)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-39897"><img src="https://tridentstack.com/cve/badge/CVE-2024-39897.svg" alt="CVE-2024-39897"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-04-23.