Descrizione
Sigstore Timestamp Authority is a service for issuing RFC 3161 timestamps. Prior to 2.0.3, 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). This vulnerability is fixed in 2.0.3.
Tipo di vulnerabilità
CWE-405
Asymmetric Resource Consumption (Amplification)
The product does not properly control situations in which an adversary can cause the product to consume or produce excessive resources without requiring the adversary to invest equivalent work or otherwise prove authorization, i.e., the adversary's influence is asymmetric.
Impatto sui sistemi
| Ambito | Impatto |
| Disponibilità |
Interruzione del servizio: amplificazione, Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria, Interruzione del servizio: esaurimento di risorse |
Come si previene
Architettura e progettazione
An application must make resources available to a client commensurate with the client's access level.
Architettura e progettazione
An application must, at all times, keep track of allocated resources and meter their usage appropriately.
Configurazione del sistema
Consider disabling resource-intensive algorithms on the server side, such as Diffie-Hellman key exchange.
Tutte le 74 CVE di tipo CWE-405, con andamento e prevenzione