CVE-2024-56138
Timestamp signature generation lacks certificate revocation check in notion-go
Reported by github_m · Published January 13, 2025
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| notaryproject | notation-go | < 1.3.0-rc.2 |
| notaryproject | notation-go | 0 |
| chainguard | kyverno-notation-aws | 0 |
| wolfi | flux-2.4 | 0 |
| chainguard | kyverno-1.12 | 0 |
| chainguard | kyverno-fips-1.13 | 0 |
| wolfi | kyverno-1.13 | 0 |
| chainguard | flux-fips | 0 |
| chainguard | kyverno-1.11 | 0 |
| chainguard | kyverno-1.13 | 0 |
| wolfi | kyverno-1.12 | 0 |
| wolfi | flux | 0 |
| github.com | notaryproject/notation-go | 1.2.0-beta.1 |
| chainguard | kyverno-fips-1.12 | 0 |
| chainguard | kyverno-fips-1.11 | 0 |
| chainguard | flux-source-controller-fips | 0 |
| chainguard | flux-2.4 | 0 |
| wolfi | flux-source-controller | 0 |
| chainguard | kyverno-notation-aws-fips | 0 |
| chainguard | flux-source-controller | 0 |
…and 3 more
Timeline
- Jan 13, 2025 CVE Published
- Jan 13, 2025 PoC Published (4 in total, the first dated here)
- Jan 14, 2025 EPSS Score (30 in total, the first dated here)
- Apr 6, 2025 Coalition ESS Score (10 in total, the first dated here)
- Dec 30, 2025 Security Advisory (2 in total, the first dated here)
- Feb 4, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-56138
vulnetix vdb fixes CVE-2024-56138
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-56138/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/notaryproject/notation-go/security/advisories/GHSA-45v3-38pc-874v x_refsource_CONFIRM
- https://github.com/notaryproject/notation-go/commit/e7005a6d13e5ba472d4e166fbb085152f909e102 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2024-56138 advisory
- https://github.com/advisories/GHSA-45v3-38pc-874v advisory
- https://github.com/notaryproject/notation-go/commit/e99be1954a15673020150c5f8800b8174cd7428d patch
- https://github.com/notaryproject/notation-go url