8.1 HIGH
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): Low (L)
- User Interaction (UI): None (N)
- Scope (S): Unchanged (U)
- Confidentiality (C): None (N)
- Integrity (I): High (H)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): Low (L)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): None (N)
- Modified Scope (MS): Unchanged (U)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): High (H)
Activity log
- Created suggestion
zot: Bearer authentication maps DELETE to push scope, allowing unauthorized deletion
zot is a container image and artifact registry based on the Open Container Initiative Distribution Specification. Prior to 2.1.18, the bearer authentication handler in pkg/api/authn.go maps every HTTP method other than GET and HEAD to the push action, so DELETE requests are not checked for the distinct delete permission. Bearer-authenticated requests also bypass the fine-grained DistSpecAuthzHandler path in pkg/api/authz.go, while DeleteManifest and DeleteBlob perform no independent delete-permission check. A remote attacker with a bearer token limited to pull and push actions can therefore delete manifests and blobs within the token's repository scope, making images unavailable and allowing repository history to be altered despite the token lacking delete authorization. This issue is fixed in version 2.1.18.
References
-
https://github.com/project-zot/zot/security/advisories/GHSA-qg67-7m6v-qg25 x_refsource_CONFIRM
-
https://github.com/project-zot/zot/pull/4161 x_refsource_MISC
-
https://github.com/project-zot/zot/releases/tag/v2.1.18 x_refsource_MISC
Affected products
- ==< 2.1.18
Matching in nixpkgs
pkgs.zotero
Collect, organize, cite, and share your research sources
pkgs.haskellPackages.zot
Zot language
pkgs.zotero-translation-server
Node.js-based server to run Zotero translators
-
nixos-unstable -
- nixos-unstable-small 2023-07-13
-
nixos-26.05 -
- nixos-26.05-small 2023-07-13
pkgs.python313Packages.pyzotero
Python client for the Zotero API
pkgs.python314Packages.pyzotero
Python client for the Zotero API
Package maintainers
-
@ethancedwards8 Ethan Carter Edwards <ethan@ethancedwards.com>
-
@Mynacol Mynacol