{"id":"EUVD-2024-2258","revision":null,"records":[{"revision":"87ad2b6b583243cf82d459cb24a320ae","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2024-39897","aliases":[],"title":"Cache driver GetBlob() allows read access to any blob without access control check","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. \n This attack is possible because [`ImageStore.CheckBlob()` calls `checkCacheBlob()`](https://github.com/project-zot/zot/blob/v2.1.0-rc2/pkg/storage/imagestore/imagestore.go#L1158-L1159) 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.","state":0,"publishedAt":"2024-07-09T18:48:24.335+00:00","modifiedAt":"2024-08-02T04:33:11.364+00:00","affected":[{"ecosystem":"Vendor product","name":"zot","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"project-zot\",\n                    \"product\": \"zot\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.1.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"severity":"MEDIUM"}],"references":["https://github.com/project-zot/zot/security/advisories/GHSA-55r9-5mx9-qq7r","https://github.com/project-zot/zot/commit/aaee0220e46bdadd12115ac67c19f9d3153eb1df"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2024-39897","license":"CVE Program Terms of Use","key":"cve-program:CVE-2024-39897","identifiers":["CVE-2024-39897"]},"retained":false,"historicalAffected":[]},{"revision":"6b54253615624e6e97b7d1fa45f38660","observedAt":"2026-11-15T02:31:26.997+00:00","statement":{"source":"euvd","id":"EUVD-2024-2258","aliases":["CVE-2024-39897","GHSA-55r9-5mx9-qq7r"],"title":"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 …","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. \n This attack is possible because [`ImageStore.CheckBlob()` calls `checkCacheBlob()`](https://github.com/project-zot/zot/blob/v2.1.0-rc2/pkg/storage/imagestore/imagestore.go#L1158-L1159) 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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"severity":null}],"references":["https://github.com/project-zot/zot/security/advisories/GHSA-55r9-5mx9-qq7r","https://github.com/project-zot/zot/commit/aaee0220e46bdadd12115ac67c19f9d3153eb1df"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-2258","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jul 9, 2024, 6:48:24 PM","dateUpdated":"Aug 2, 2024, 4:33:11 AM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2024-2258","identifiers":["EUVD-2024-2258","CVE-2024-39897","GHSA-55r9-5mx9-qq7r"]},"retained":false,"historicalAffected":[]},{"revision":"7b51ddf7a593443fba863b6dc0498242","observedAt":"2026-10-25T00:17:22.831+00:00","statement":{"source":"nvd","id":"CVE-2024-39897","aliases":[],"title":"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 …","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. \n This attack is possible because [`ImageStore.CheckBlob()` calls `checkCacheBlob()`](https://github.com/project-zot/zot/blob/v2.1.0-rc2/pkg/storage/imagestore/imagestore.go#L1158-L1159) 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.","state":0,"publishedAt":"2024-07-09T19:15:12.953+00:00","modifiedAt":"2026-06-17T07:42:59.157+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"severity":"MEDIUM"}],"references":["https://github.com/project-zot/zot/commit/aaee0220e46bdadd12115ac67c19f9d3153eb1df","https://github.com/project-zot/zot/security/advisories/GHSA-55r9-5mx9-qq7r"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-39897","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-639"],"productCriteria":["cpe:2.3:a:zotregistry:zot:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2024-07-09T19:15:12.953","lastModified":"2026-06-17T07:42:59.157"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2024-39897","identifiers":["CVE-2024-39897"]},"retained":false,"historicalAffected":[]},{"revision":"9a18ca0422124b088be31c85822d48db","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-55r9-5mx9-qq7r","aliases":["CVE-2024-39897","GO-2024-2979"],"title":"Cache driver GetBlob() allows read access to any blob without access control check","description":"### Summary\n\nCache driver `GetBlob()` allows read access to any blob without access control check\n\n### Details\n\nIf 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 allows an attacker to read an image that the `accessControl` policy denies.\n\nThis attack is possible because [`ImageStore.CheckBlob()` calls `checkCacheBlob()`](https://github.com/project-zot/zot/blob/v2.1.0-rc2/pkg/storage/imagestore/imagestore.go#L1158-L1159) 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()`.\n\nThis cache behavior is intentionally used in [`RouteHandler.CreateBlobUpload()`](https://github.com/project-zot/zot/blob/v2.1.0-rc2/pkg/api/routes.go#L1194-L1197) to implement cross repository blob mount (`POST /v2/<name>/blobs/uploads/?mount=<digest>&from=<repository name>`) in Zot. This is still missing an access control to check read access on the source repository.\n\nThis cache behavior is unexpectedly also used in [`RouteHandler.CheckBlob()`](https://github.com/project-zot/zot/blob/v2.1.0-rc2/pkg/api/routes.go#L886) too for `HEAD /v2/<name>/blobs/<digest>`. If a blob is requested that does not exist on the requested repository, Zot will search for it in a global cache (possibly returning a result from an from an incorrect repository) and then will store it into the `ImageStore` for the requested repository.\n\n[`RouteHandler.GetBlob()`](https://github.com/project-zot/zot/blob/v2.1.0-rc2/pkg/api/routes.go#L1000) does _not_ call `ImageStore.CheckBlob()` so it is not directly vulnerable. However an attacker with only limited read access may first call `CheckBlob()` to fetch the blob from the cache, then call `GetBlob()` to read the blob.\n\n### Mitigation\n\nThe attack may be mitigated by configuring `\"dedupe\": false` in the `\"storage\"` settings. This disables Zot's cache drivers. `dedupe` is enabled by default using the BoltDB cache driver.\n\n### Impact\n\nAn attacker can read images that the `accessControl` policy denies if they have read access to any other second repository.\n\nThis attack only allows accessing blobs (both config and layers) by digest. Manifests cannot be accessed.\n\nThis attack requires the attacker to know the name of a private image and its layer digests. A scenario where this might happen is if a project has public CI build logs but publishes the image to a private repository. Many image build tools log layer digests.\n","state":0,"publishedAt":"2024-07-09T21:04:00+00:00","modifiedAt":"2026-09-10T03:50:16.1898058+00:00","affected":[{"ecosystem":"Go","name":"zotregistry.io/zot","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.1.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"zotregistry.dev/zot","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"2.1.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":null,"severity":null},{"system":"CVSS_V4","vector":"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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/project-zot/zot/security/advisories/GHSA-55r9-5mx9-qq7r","https://nvd.nist.gov/vuln/detail/CVE-2024-39897","https://github.com/project-zot/zot/commit/aaee0220e46bdadd12115ac67c19f9d3153eb1df","https://github.com/project-zot/zot"],"sourceUrl":"https://github.com/advisories/GHSA-55r9-5mx9-qq7r","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-55r9-5mx9-qq7r","identifiers":["GHSA-55r9-5mx9-qq7r","CVE-2024-39897","GO-2024-2979"]},"retained":false,"historicalAffected":[]},{"revision":"cac3988c186041e2ae629f76029000c5","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2024-2979","aliases":["CVE-2024-39897","GHSA-55r9-5mx9-qq7r"],"title":"Cache driver GetBlob() allows read access to any blob without access control check in zotregistry.dev/zot","description":"Cache driver GetBlob() allows read access to any blob without access control check in zotregistry.dev/zot.\n\nNOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.\n\n(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)\n\nThe additional affected modules and versions are: zotregistry.dev/zot before v2.1.0; zotregistry.io/zot before v2.1.0.","state":0,"publishedAt":"2024-07-10T17:05:50+00:00","modifiedAt":"2026-02-04T02:52:53.314879+00:00","affected":[{"ecosystem":"Go","name":"zotregistry.dev/zot","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"zotregistry.io/zot","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/project-zot/zot/security/advisories/GHSA-55r9-5mx9-qq7r","https://nvd.nist.gov/vuln/detail/CVE-2024-39897","https://github.com/project-zot/zot/commit/aaee0220e46bdadd12115ac67c19f9d3153eb1df"],"sourceUrl":"https://osv.dev/vulnerability/GO-2024-2979","license":"OSV · upstream source license applies","key":"osv:GO-2024-2979","identifiers":["GO-2024-2979","CVE-2024-39897","GHSA-55r9-5mx9-qq7r"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-16T17:50:33.0489747+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-16T17:50:33.0489747+00:00","lastSuccessAt":"2026-11-16T17:50:33.2117758+00:00","error":null,"lastVerifiedAt":"2026-11-16T17:50:33.2117767+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-6be044d0e08779dadd136f949a536de4047af96f5d7bceb7e190ecffbb8f18ca-5b5b992da2316e50415088e271a61a5a7b3b1ba305843116b4783c1ec86d58fa","complete":true,"records":426108,"lastAttemptAt":"2026-11-16T17:44:52.1128297+00:00","lastSuccessAt":"2026-11-16T17:44:52.0341248+00:00","error":null,"lastVerifiedAt":"2026-11-16T17:44:52.1128297+00:00","snapshotPublishedAt":"2026-11-16T17:27:52+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-984340aa647d443f854924f0852ab319","complete":true,"records":13830,"lastAttemptAt":"2026-11-16T17:51:18.1027612+00:00","lastSuccessAt":"2026-11-16T17:51:18.097+00:00","error":null,"lastVerifiedAt":"2026-11-16T17:51:18.097+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13883,"expectedIdentifiers":13883,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-16T17:50:33.0489747+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-16T17:50:33.0489747+00:00","lastSuccessAt":"2026-11-16T17:50:33.2125903+00:00","error":null,"lastVerifiedAt":"2026-11-16T17:50:33.2125908+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-62158c3b10d140c88161da87af98dd6f","complete":false,"records":13842,"lastAttemptAt":"2026-11-16T17:50:59.5110915+00:00","lastSuccessAt":"2026-11-16T17:50:59.505+00:00","error":"209 identifier lookups failed; latest failures include HttpError (HTTP 503). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-16T17:50:59.505+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13474,"expectedIdentifiers":13883,"failedIdentifiers":209},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-16T17:50:32.8950504+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-16T17:50:32.8950504+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-16T17:44:52.338834+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-16T17:44:52.338834+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-16T17:50:33.0056326+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-16T17:50:33.0056326+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-3da619381c9f1c87f7b45518cd7541780ba25dac78a9f5cb3562eee84c7eac8f","complete":true,"records":232512,"lastAttemptAt":"2026-11-16T17:50:32.6652455+00:00","lastSuccessAt":"2026-11-16T17:50:31.6385672+00:00","error":null,"lastVerifiedAt":"2026-11-16T17:50:32.6652455+00:00","snapshotPublishedAt":"2026-11-16T17:33:38+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}