logo

CVE-2024-56138 github.com/notaryproject/notation-go

Package

Manager: go
Name: github.com/notaryproject/notation-go
Vulnerable Version: >=1.2.0-beta.1 <1.3.0-rc.2

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

EPSS: 0.0002 pctl0.03556

Details

notation-go's timestamp signature generation lacks certificate revocation check 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.

Metadata

Created: 2025-01-13T16:14:07Z
Modified: 2025-01-14T21:05:54Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/01/GHSA-45v3-38pc-874v/GHSA-45v3-38pc-874v.json
CWE IDs: ["CWE-299"]
Alternative ID: GHSA-45v3-38pc-874v
Finding: F313
Auto approve: 1