CVE-2024-56138 Timestamp signature generation lacks certificate revocation check in notion-go
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
7 packages: 2 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/golang-github-notaryproject-notation(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-notaryproject-notation(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-notaryproject-notation-go(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-notaryproject-notation-go(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/golang-github-notaryproject-notation-go(Debian 14) | < 1.3.2-1; = 1.2.1-1; = 1.2.1-2; = 1.2.1-3 +2 more | 1.3.2-1 | Fixed |
| notaryproject github.com/notaryproject/notation-go(Go) | >= 1.2.0-beta.1, < 1.3.0-rc.2; >= 1.2.0-beta.1, <= 1.3.0-rc.1 | 1.3.0-rc.2 | Fixed |
| notaryproject github.com/notaryproject/notation-go | = < 1.3.0-rc.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| notaryproject github.com/notaryproject/notation-go(Go) | >= 1.2.0-beta.1, < 1.3.0-rc.2 | 1.3.0-rc.2 |
| notaryproject github.com/notaryproject/notation-go(Go) | >= 1.2.0-beta.1, <= 1.3.0-rc.1 | No fix listed |
| debian/golang-github-notaryproject-notation-go(Debian:14) | < 1.3.2-1 | 1.3.2-1 |
| debian/golang-github-notaryproject-notation-go(Debian:14) | = 1.2.1-1 | No fix listed |
| debian/golang-github-notaryproject-notation-go(Debian:14) | = 1.2.1-2 | No fix listed |
| debian/golang-github-notaryproject-notation-go(Debian:14) | = 1.2.1-3 | No fix listed |
| debian/golang-github-notaryproject-notation-go(Debian:14) | = 1.2.1-4 | No fix listed |
| debian/golang-github-notaryproject-notation-go(Debian:14) | = 1.2.1-5 | No fix listed |
| notaryproject github.com/notaryproject/notation-go | = < 1.3.0-rc.2 | No fix listed |
| ubuntu/golang-github-notaryproject-notation-go(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-github-notaryproject-notation(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-github-notaryproject-notation(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/golang-github-notaryproject-notation-go(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/notaryproject/notation-go/security/advisories/GHSA-45v3-38pc-874v vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/notaryproject/notation-go/commit/e7005a6d13e5ba472d4e166fbb085152f909e102 patch
- github.com patch
- github.com product
- pkg.go.dev
- github.com
- Debian Security Tracker CVE-2024-56138 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking