| パッケージ | 影響を受けるバージョン | 修正済みバージョン |
|---|---|---|
| github.com/sigstore/timestamp-authority | < 2.0.3全バージョン | 2.0.3 |
| github.com/sigstore/timestamp-authority/v2 | < 2.0.3 | 2.0.3 |
| sigstore timestamp authority | < 2.0.3 | 2.0.3 |
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)
Upgrade to v2.0.3.
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.
これらの製品をお使いですか?サイトをスキャンして、脆弱なバージョンが公開されていないか確認しましょう。
無料でサイトをスキャン