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.

Severity (CVSS 3.1)4.0Medium
Exploit odds (30 days)0.1%top 97.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:14golang-github-notaryproject-notation-go1.3.2-1DEBIAN-CVE-2024-56138
Gogithub.com/notaryproject/notation-go1.3.0-rc.2GO-2025-3381
Gogithub.com/notaryproject/notation-go1.3.0-rc.2GHSA-45v3-38pc-874v
Ubuntu:25.10golang-github-notaryproject-notationno fix listedUBUNTU-CVE-2024-56138
Ubuntu:26.10golang-github-notaryproject-notationno fix listedUBUNTU-CVE-2024-56138
Ubuntu:25.10golang-github-notaryproject-notation-gono fix listedUBUNTU-CVE-2024-56138
Ubuntu:26.04:LTSgolang-github-notaryproject-notation-gono fix listedUBUNTU-CVE-2024-56138
Ubuntu:26.10golang-github-notaryproject-notation-gono fix listedUBUNTU-CVE-2024-56138

Affected products (as reported)

VendorProductVersions
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

References