Advisory

GHSA-45v3-38pc-874v

Also known as: CVE-2024-56138, GO-2025-3381

Summary

notation-go's timestamp signature generation lacks certificate revocation check

Details

This issue was identified during Quarkslab's audit of the timestamp feature.

Summary
During the timestamp signature generation, the revocation status of the certificate(s) used to generate the timestamp signature was not verified.

Details
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.

Impact
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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-01-13 16:14 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/notaryproject/notation-go

Go · All systems

Affected

  • introduced 1.2.0-beta.1, fixed 1.3.0-rc.2 (semver)

Fixed versions

1.3.0-rc.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences