Vulnerability · Published Jan 13, 2025 · Assigned by GitHub_M
CVE-2024-56138Timestamp signature generation lacks certificate revocation check in notion-go
Medium 4.0
In plain English
A medium-severity security flaw 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.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:14 | golang-github-notaryproject-notation-go | 1.3.2-1 | DEBIAN-CVE-2024-56138 |
| Go | github.com/notaryproject/notation-go | 1.3.0-rc.2 | GO-2025-3381 |
| Go | github.com/notaryproject/notation-go | 1.3.0-rc.2 | GHSA-45v3-38pc-874v |
| Ubuntu:25.10 | golang-github-notaryproject-notation | no fix listed | UBUNTU-CVE-2024-56138 |
| Ubuntu:26.10 | golang-github-notaryproject-notation | no fix listed | UBUNTU-CVE-2024-56138 |
| Ubuntu:25.10 | golang-github-notaryproject-notation-go | no fix listed | UBUNTU-CVE-2024-56138 |
| Ubuntu:26.04:LTS | golang-github-notaryproject-notation-go | no fix listed | UBUNTU-CVE-2024-56138 |
| Ubuntu:26.10 | golang-github-notaryproject-notation-go | no fix listed | UBUNTU-CVE-2024-56138 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| notaryproject | notation-go | < 1.3.0-rc.2 |
Weakness: CWE-299 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L