Go Vulnerability Database
GO-2023-2181
Denial of service attack from remote registry in github.com/sigstore/cosign
Details
An attacker who controls a remote registry can return a high number of attestations and/or signatures to cosign. This can cause cosign to enter a long loop resulting in a denial of service, i.e., endless data attack.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/sigstore/cosign | All versions, no fix listed |
| Go | github.com/sigstore/cosign/v2 | All versions before 2.2.1 (fixed in 2.2.1) |