CVE-2024-56138
JSON

4.0medium

Timestamp signature generation lacks certificate revocation check in notion-go

Severity
4.0medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.13% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-45v3-38pc-874vGO-2025-3381

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

Product or packageVersionsReported by
notaryproject notation-go< 1.3.0-rc.2CVE List
github.com/notaryproject/notation-go (Go)from 1.2.0-beta.1 before 1.3.0-rc.2GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M4.0medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
GitHub4.0medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Classification

CWE-299

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

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.

Go Vulnerability Database

notation-go's timestamp signature generation lacks certificate revocation check in github.com/notaryproject/notation-go

NVD (es)

notion-go es una colección de Librerías para respaldar la firma y verificación de artefactos OCI. Basado en las especificaciones del Proyecto Notary. Este problema se identificó durante la auditoría de Quarkslab de la característica timestamp. Durante la generación de la firma timestampp, no se verificó el estado de revocación de los certificados utilizados para generar la firma timestampmp. Durante la generación de la firma timestampamp, notation-go no verificó el estado de revocación de la cadena de certificados utilizada por la TSA. Este descuido crea una vulnerabilidad que podría explotarse a través de un ataque Man-in-The-Middle. Un atacante podría potencialmente usar un certificado de hoja comprometido, intermedio o revocado para generar una contrafirma maliciosa, que luego sería aceptada y almacenada por `notation`. Esto podría conducir a escenarios de denegación de servicio, particularmente en entornos CI/CD durante los procesos de verificación de firma, ya que la firma timestamptamp fallaría debido a la presencia de un certificado revocado que podría interrumpir las operaciones. Este problema se ha solucionado en la versión 1.3.0-rc.2 y se recomienda a todos los usuarios que actualicen la versión. No se conocen Workarounds para esta vulnerabilidad.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2024-56138 changed 2025-01-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-45v3-38pc-874v changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2025-3381 changed 2026-02-04CC-BY-4.0
NVDCVE-2024-56138 changed 2026-06-17Public domain