CVE-2024-56138
notation-go's timestamp signature generation lacks certificate revocation check in github.com/notaryproject/notation-go
描述
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.
如何修補 CVE-2024-56138
要修補 CVE-2024-56138,請將受影響套件升級到下列已修補版本。
- —升級至 1.3.2-1 或更新版本
- —升級至 1.3.0-rc.2 或更新版本
- —升級至 1.3.0-rc.2 或更新版本
CVE-2024-56138 正在被利用嗎?
低 — EPSS 為 0.1%,目前沒有觀察到大規模利用活動。
受影響套件(3)
- from 0, < 1.3.2-1