Skip to content
OpenAdvisories
High · 7.5 CVE-2023-25656 EUVD-2023-0663GHSA-87x9-7grx-m28vGO-2023-1589

notation-go has excessive memory allocation on verification

Published Feb 20, 2023 · Updated Nov 27, 2024 · Assigned by GitHub_M

Description

notation-go is a collection of libraries for supporting Notation sign, verify, push, and pull of oci artifacts. Prior to version 1.0.0-rc.3, notation-go users will find their application using excessive memory when verifying signatures. The application will be killed, and thus availability is impacted. The problem has been patched in the release v1.0.0-rc.3. Some workarounds are available. Users can review their own trust policy file and check if the identity string contains `=#`. Meanwhile, users should only put trusted certificates in their trust stores referenced by their own trust policy files, and make sure the `authenticity` validation is set to `enforce`.

Affected products

VendorProductAffectedFixed
notaryproject notation-go 1.0.0-rc.3 – < 1.0.0-rc.3 1.0.0-rc.3

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling zot 2.1.2-r7 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/notaryproject/notation-go < 1.0.0-rc.3 1.0.0-rc.3 GHSA-87x9-7grx-m28v

References