Vulnerability · Published Feb 20, 2023 · Assigned by GitHub_M

CVE-2023-25656notation-go has excessive memory allocation on verification

High 7.5

In plain English

A high-severity resource allocation without limits in notation-go 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.4% (higher than 38% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 61.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/notaryproject/notation-go1.0.0-rc.3GHSA-87x9-7grx-m28v
Gogithub.com/notaryproject/notation-go1.0.0-rc.3GO-2023-1589

Affected products (as reported)

VendorProductVersions
notaryproject notation-go 1.0.0-rc.3 – before 1.0.0-rc.3

Weakness: CWE-770 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References