Skip to main content

Allocation of Resources Without Limits or Throttling


Severity Medium
Score 4.3/10


A malicious server can serve excessive amounts of `Set-Cookie:` headers in a HTTP response to curl and curl versions 7.71.0 through 7.83.1 stores all of them. A sufficiently large amount of (big) cookies make subsequent HTTP requests to this, or other servers to which the cookies match, create requests that become larger than the threshold that curl uses internally to avoid sending crazy large requests (1048576 bytes) and instead returns an error. This denial state might remain for as long as the same cookies are kept, match, and haven't expired. Due to cookie matching rules, a server on `` can set cookies that also would match for ``, making it possible for a "sister server" to effectively cause a denial of service for a sibling site on the same second-level domain using this method.

  • LOW
  • NONE
  • NONE
  • NONE
  • LOW

CWE-770 - Allocation of Resources Without Limits or Throttling

The software allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.

Advisory Timeline

  • Published