{"id":"GHSA-rvrx-rrwh-r9p6","summary":"Notation's default `maxSignatureAttempts` in `notation verify` enables an endless data attack","details":"### Impact\nAn attacker who controls or compromises a registry can make the registry serve an infinite number of signatures for the artifact, causing a denial of service to the host machine running `notation verify`.\n\n### Patches\nThe problem has been fixed in the release [v1.0.0-rc.6](https://github.com/notaryproject/notation/releases/tag/v1.0.0-rc.6). Users should upgrade their notation packages to [v1.0.0-rc.6](https://github.com/notaryproject/notation/releases/tag/v1.0.0-rc.6) or above.\n\n### Workarounds\nUser should use secure and trusted container registries\n\n### Credits\nThe `notation` project would like to thank Adam Korczynski (@AdamKorcz) for responsibly disclosing the issue found during an security audit (facilitated by OSTIF and sponsored by CNCF) and Shiwei Zhang (@shizhMSFT) for root cause analysis.","aliases":["CVE-2023-33958","GO-2023-1831"],"modified":"2026-09-10T03:50:02.360601255Z","published":"2023-06-06T16:44:58Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2023-06-06T16:44:58Z","nvd_published_at":"2023-06-06T19:15:12Z","cwe_ids":["CWE-400"],"severity":"MODERATE"},"references":[{"type":"WEB","url":"https://github.com/notaryproject/notation/security/advisories/GHSA-rvrx-rrwh-r9p6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-33958"},{"type":"PACKAGE","url":"https://github.com/notaryproject/notation"},{"type":"WEB","url":"https://github.com/notaryproject/notation/releases/tag/v1.0.0-rc.6"}],"affected":[{"package":{"name":"github.com/notaryproject/notation","ecosystem":"Go","purl":"pkg:golang/github.com/notaryproject/notation"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.0-rc.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/06/GHSA-rvrx-rrwh-r9p6/GHSA-rvrx-rrwh-r9p6.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}