GitHub Advisoryadvisory · Go
GHSA-4qg8-fj49-pxjh Sigstore Timestamp Authority allocates excessive memory during request parsing
HIGH
Official page ↗
- Aliases
- CVE-2025-66564
- Ecosystem
- Go
- Packages
- github.com/sigstore/timestamp-authority
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-405
- Reviewed
- 2025-12-05
Affected packages
• Go github.com/sigstore/timestamp-authority: < 2.0.3 → fixed in 2.0.3
Description
Impact
Excessive memory allocation
Function api.ParseJSONRequest currently splits (via a call to strings.Split) an optionally-provided OID (which is untrusted data) on periods. Similarly, function api.getContentType splits the `Content-Type` header (which is also untrusted data) on an `application` string.
As a result, in the face of a malicious request with either an excessively long OID in the payload containing many period characters or a malformed `Content-Type` header, a call to `api.ParseJSONRequest` or `api.getContentType` incurs allocations of O(n) bytes (where n stands for the length of the function's argument). Relevant weakness: CWE-405: Asymmetric Resource Consumption (Amplification)
Patches
Upgrade to v2.0.3.
Workarounds
There are no workarounds with the service itself. If the service is behind a load balancer, configure the load balancer to reject excessively large requests.
Related
Alias · CVE (1)
- CVE-2025-66564 Sigstore Timestamp Authority is a service for issuing RFC 3161 timestamps. vulnerability
Weakness · CWE (1)
- CWE-405 Asymmetric Resource Consumption (Amplification) weakness
References
- https://github.com/sigstore/timestamp-authority/security/advisories/GHSA-4qg8-fj49-pxjh web
- https://nvd.nist.gov/vuln/detail/CVE-2025-66564 advisory
- https://github.com/sigstore/timestamp-authority/commit/0cae34e197d685a14904e0bad135b89d13b69421 web
- https://github.com/sigstore/timestamp-authority package