0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2025-04-08 02:54:41 -05:00
zot/pkg
Ramkumar Chinchani aaee0220e4
Merge pull request from GHSA-55r9-5mx9-qq7r
when a client pushes an image zot's inline dedupe
will try to find the blob path corresponding with the blob digest
that it's currently pushed and if it's found in the cache
then zot will make a symbolic link to that cache entry and report
to the client that the blob already exists on the location.

Before this patch authorization was not applied on this process meaning
that a user could copy blobs without having permissions on the source repo.

Added a rule which says that the client should have read permissions on the source repo
before deduping, otherwise just Stat() the blob and return the corresponding status code.

Signed-off-by: Petu Eusebiu <peusebiu@cisco.com>
Co-authored-by: Petu Eusebiu <peusebiu@cisco.com>
2024-07-08 11:35:44 -07:00
..
api Merge pull request from GHSA-55r9-5mx9-qq7r 2024-07-08 11:35:44 -07:00
cli chore: fix dependabot alerts (#2446) 2024-06-04 13:54:30 +03:00
cluster feat(sync): support for periodic repo sync in scale-out cluster (#2424) 2024-05-31 09:25:34 -07:00
common feat(cluster): Add support for request proxying for scale out (#2385) 2024-05-20 09:05:21 -07:00
compliance refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
debug refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
exporter refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
extensions chore: fix dependabot alerts (#2486) 2024-06-17 20:31:01 +03:00
log refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
meta fix(ui): fix image details view (#2470) 2024-06-14 09:22:48 -07:00
regexp chore(trivy): update trivy version and enforce OCI compliant repo names in local image storage (#1068) 2023-01-18 08:24:44 -08:00
requestcontext refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
retention refactor: rename go module from zotregistry.io/zot to zotregistry.dev/zot (#2187) 2024-01-31 20:34:07 -08:00
scheduler fix(scheduler): the session cleanup generator is reset too often (#2220) 2024-02-01 09:15:53 -08:00
storage Merge pull request from GHSA-55r9-5mx9-qq7r 2024-07-08 11:35:44 -07:00
test Merge pull request from GHSA-55r9-5mx9-qq7r 2024-07-08 11:35:44 -07:00