CVE-2024-56138notaryproject notation-go
Medium 4.0
Follow: this CVE · notaryproject · notaryproject notation-go We alert you by email or Slack (account required).
- Priority
- 24
- CVSS 3.1
- 4.0
- EPSS
- 0.2% probability of exploitation in 30 days · percentile 3
- Auth required
- Yes
- Published
- Jan 13, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-299
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for notation-go.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/notaryproject/notation-go |
≥ 1.2.0-beta.1 < 1.3.0-rc.2 |
1.3.0-rc.2 |
go get github.com/notaryproject/notation-go@v1.3.0-rc.2 |
| Go | github.com/notaryproject/notation-go |
≥ 1.2.0-beta.1 < 1.3.0-rc.2 |
1.3.0-rc.2 |
go get github.com/notaryproject/notation-go@v1.3.0-rc.2 |
Per OSV / GitHub Advisories (GHSA-45v3-38pc-874v, GO-2025-3381). Check the version in your lockfile before upgrading.
Affected products
- notaryproject · notation-go
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.