Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS00NXYzLTM4cGMtODc0ds4ABDOs

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.

Permalink: https://github.com/advisories/GHSA-45v3-38pc-874v
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS00NXYzLTM4cGMtODc0ds4ABDOs
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 16 days ago
Updated: 15 days ago


CVSS Score: 4.0
CVSS vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

EPSS Percentage: 0.00043
EPSS Percentile: 0.112

Identifiers: GHSA-45v3-38pc-874v, CVE-2024-56138
References: Repository: https://github.com/notaryproject/notation-go
Blast Radius: 5.7

Affected Packages

go:github.com/notaryproject/notation-go
Dependent packages: 29
Dependent repositories: 26
Downloads:
Affected Version Ranges: >= 1.2.0-beta.1, <= 1.3.0-rc.1
Fixed in: 1.3.0-rc.2
All affected versions: 1.2.0, 1.2.0-beta.1, 1.2.0-rc.1, 1.2.1, 1.3.0-rc.1
All unaffected versions: 1.0.0, 1.0.1, 1.1.0, 1.1.1, 1.1.2