CVE-2024-56138 Details
Description
notion-go is a collection of libraries for supporting sign and verify OCI artifacts. Based on Notary Project specifications. This issue was identified during Quarkslab's audit of the timestamp feature. During the timestamp signature generation, the revocation status of the certificate(s) used to generate the timestamp signature was not verified. During timestamp signature generation, notation-go did not check the revocation status of the certificate chain used by the TSA. This oversight creates a vulnerability that could be exploited through a Man-in-The-Middle attack. An attacker could potentially use a compromised, intermediate, or revoked leaf certificate to generate a malicious countersignature, which would then be accepted and stored by `notation`. This could lead to denial of service scenarios, particularly in CI/CD environments during signature verification processes because timestamp signature would fail due to the presence of a revoked certificate(s) potentially disrupting operations. This issue has been addressed in release version 1.3.0-rc.2 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
A vulnerability exists in the Notary Project's notation-go library, specifically in versions 1.2.0-beta.1 through 1.3.0-rc.1. During the generation of timestamp signatures, the library failed to verify the revocation status of the certificates used. This oversight could allow an attacker to exploit the vulnerability through a Man-in-the-Middle attack, using a compromised or revoked certificate to create a malicious countersignature. Such a countersignature would be accepted and stored by the notation-go library, potentially leading to denial-of-service scenarios in CI/CD environments where signature verification is disrupted by the presence of revoked certificates.
Users are advised to upgrade to version 1.3.0-rc.2, where this vulnerability has been addressed. Instructions for upgrading can be found in the project's GitHub repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 13, 2025CISA-ADP
Assessed Jan 14, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/notaryproject/notation-go/commit/e7005a6d13e5ba472d4e166fbb085152f909e102 | [email protected] | Source CodeVendor |
| https://github.com/notaryproject/notation-go/security/advisories/GHSA-45v3-38pc-874v | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-299 | Improper Check for Certificate Revocation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| github.com/notaryproject/notation-go | >= v1.2.0-beta.1, <= v1.3.0-rc.1 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 13, 2025 | New CVE Received | [email protected] |
Volerion