CVE-2023-33957
JSON

2.6low

Denial of service from high number of artifact signatures in notation

Severity
2.6low CVSS:3.1 by GitHub_M
Exploit likelihood
0.63% (higher than 45% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-9m3v-v4r5-ppx7GO-2023-1829

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 inspect 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 are advised to upgrade. Users unable to upgrade may restrict container registries to a set of secure and trusted container registries.

Affected

Product or packageVersionsReported by
notaryproject notation< 1.0.0-rc.6CVE List
github.com/notaryproject/notation (Go)before 1.0.0-rc.6GitHub Advisory Database, Go Vulnerability Database
notaryproject notation-gobefore 1.0.0, 1.0.0NVD

All scores

GitHub_M2.6low CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:N/I:N/A:L
GitHub5.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
NVD5.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H

Classification

What each source says

CVE List

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 inspect 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 are advised to upgrade. Users unable to upgrade may restrict container registries to a set of secure and trusted container registries.

GitHub Advisory Database
Impact

An 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.

Patches

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.

Workarounds

User should use secure and trusted container registries.

Credits

The 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.

Go Vulnerability Database

Notation vulnerable to denial of service from high number of artifact signatures in github.com/notaryproject/notation

References

Sources

SourceRecordLicence
CVE ListCVE-2023-33957 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-9m3v-v4r5-ppx7 changed 2024-08-20CC-BY-4.0
Go Vulnerability DatabaseGO-2023-1829 changed 2026-03-03CC-BY-4.0
NVDCVE-2023-33957 changed 2026-06-17Public domain