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.

Severity (CVSS 3.1)5.4Medium
Exploit odds (30 days)0.5%top 58.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/notaryproject/notation1.0.0-rc.6GHSA-rvrx-rrwh-r9p6
Gogithub.com/notaryproject/notation1.0.0-rc.6GO-2023-1831

Affected products (as reported)

VendorProductVersions
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