Vulnerability · Published Jun 6, 2023 · Assigned by GitHub_M
CVE-2023-33958Default `maxSignatureAttempts` in `notation verify` enables an endless data attack in notation
Medium 5.4
In plain English
A medium-severity uncontrolled resource consumption in notation from notaryproject. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/notaryproject/notation | 1.0.0-rc.6 | GHSA-rvrx-rrwh-r9p6 |
| Go | github.com/notaryproject/notation | 1.0.0-rc.6 | GO-2023-1831 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| notaryproject | notation | < 1.0.0-rc.6 |
Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
References
- https://github.com/notaryproject/notation/security/advisories/GHSA-rvrx-rrwh-r9p6 x_refsource_CONFIRM
- https://github.com/notaryproject/notation/releases/tag/v1.0.0-rc.6 x_refsource_MISC