notation-go has excessive memory allocation on verification
cve-program · CVE-2023-25656
Publishednotation-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`.
Read the publisher's advisoryeuvd · EUVD-2023-0663
Publishednotation-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`.
Read the publisher's advisorynvd · CVE-2023-25656
Publishednotation-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`.
Read the publisher's advisoryosv · GHSA-87x9-7grx-m28v
Published### Impact `notation-go` users will find their application using excessive memory when verifying signatures and the application will be finally killed, and thus availability is impacted. ### Patches The problem has been patched in the release [v1.0.0-rc.3](https://github.com/notaryproject/notation-go/releases/tag/v1.0.0-rc.3). Users should upgrade their `notation-go` packages to `v1.0.0-rc.3` or above. ### Workarounds 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` ### Credits The `notation-go` project would like to thank Adam Korczynski (@AdamKorcz) for responsibly disclosing this issue during a security fuzzing audit sponsored by CNCF and Shiwei Zhang (@shizhMSFT) for root cause analysis and detailed vulnerability report. ### References - [Resource exhaustion attacks](https://en.wikipedia.org/wiki/Resource_exhaustion_attack)
Read the publisher's advisoryosv · GO-2023-1589
PublishedParsing PKIX distinguished names containing the string "=#" can cause excessive memory consumption.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2023-25656 · CVE overview and exploitation status
cve-program · CVE-2023-25656
- https://github.com/notaryproject/notation-go/releases/tag/v1.0.0-rc.3
- https://github.com/notaryproject/notation-go/security/advisories/GHSA-87x9-7grx-m28v
euvd · EUVD-2023-0663
- https://github.com/notaryproject/notation-go/releases/tag/v1.0.0-rc.3
- https://github.com/notaryproject/notation-go/security/advisories/GHSA-87x9-7grx-m28v
nvd · CVE-2023-25656
- https://github.com/notaryproject/notation-go/releases/tag/v1.0.0-rc.3
- https://github.com/notaryproject/notation-go/security/advisories/GHSA-87x9-7grx-m28v
osv · GHSA-87x9-7grx-m28v
- https://github.com/notaryproject/notation-go/security/advisories/GHSA-87x9-7grx-m28v
- https://nvd.nist.gov/vuln/detail/CVE-2023-25656
- https://github.com/notaryproject/notation-go/pull/275
- https://github.com/notaryproject/notation-go
- https://github.com/notaryproject/notation-go/releases/tag/v1.0.0-rc.3
osv · GO-2023-1589
Related changes
Linked by CVE identifierNo related changes are available here.