Cloudanix VulnDB

CVE-2025-58186

Medium · 5.3

CVSS

5.3

EPSS

0.6%

Published

Oct 29, 2025

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A flaw in a web server component could allow an attacker to make it crash by sending a specially crafted web request, making the service unavailable for everyone else.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Denial Of Service
Component
Web Framework
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

A vulnerability exists where the number of cookies parsed from an HTTP request is not limited. An attacker can send a request containing a very large quantity of small cookies. While the total size of the HTTP header may remain within server limits, the server will attempt to parse each individual cookie, allocating a memory structure for each one. This leads to unbounded memory allocation, causing resource exhaustion and a denial-of-service condition.

Why it matters to the business

Exploitation of this vulnerability can lead to a denial of service (DoS). An attacker can render the affected service unresponsive or cause it to crash, making it unavailable to legitimate users. This can result in operational disruption, loss of revenue, and damage to the organization's reputation, depending on the criticality of the affected service.

How an attack unfolds

A remote, unauthenticated attacker crafts a single HTTP request. This request's `Cookie` header is populated with an extremely large number of very small, simple cookies, such as 'a=;b=;c=;...'. When the vulnerable Apache Kvrocks server receives this request, its parsing logic begins to process the cookies one by one. For each cookie, it allocates memory for a new data structure. Because there is no limit on the number of cookies, this process continues until the server's available memory is exhausted, causing it to become slow, unresponsive, and eventually crash.

How to fix it

To remediate this vulnerability, upgrade Apache Kvrocks to a version that includes the fix from commit `a71eb42f33f2a1fdb7a13184b5ad7dff0114aa37` or a later stable release. If an immediate upgrade is not feasible, consider using a reverse proxy or Web Application Firewall (WAF) as a compensating control to limit the number of cookies allowed in a single HTTP request before it reaches the Kvrocks instance.

How to confirm the fix worked

To validate the fix, deploy the patched version of Apache Kvrocks in a non-production environment. Send a test HTTP request containing an abnormally large number of cookies (e.g., over 10,000) and monitor the server's memory consumption. A patched system should handle the request gracefully by rejecting it or limiting parsing, without experiencing excessive memory growth. To identify exposure, scan your environment for instances of Apache Kvrocks and check if their version predates the specified fix commit.

Typical attack path

  1. The attacker identifies a publicly accessible server running a vulnerable version of Apache Kvrocks.
  2. The attacker crafts a malicious HTTP request containing a `Cookie` header with thousands of small, distinct cookies.
  3. The attacker sends this single request to the target server.
  4. The server's HTTP parser attempts to process all the cookies, leading to excessive memory allocation.
  5. The server's memory is exhausted, resulting in a denial-of-service condition that impacts all users.

How to detect it

To detect potential or past exploitation, security teams should monitor server performance metrics for anomalous spikes in memory utilization on hosts running Apache Kvrocks. Review web server access logs and WAF logs for HTTP requests containing an unusually high number of cookies. An indicator of an attack attempt would be a request with a `Cookie` header that is large and contains an excessive number of semicolon (`;`) delimiters, suggesting many small cookies are being sent at once.

What your security team should do

  • Immediately identify all instances of Apache Kvrocks in your environment and prioritize patching those that are internet-facing.
  • If patching cannot be performed immediately, deploy a Web Application Firewall (WAF) rule to limit the maximum number of cookies per request to a reasonable threshold.
  • Configure monitoring and alerting for sudden, unexplained memory usage spikes on servers running Apache Kvrocks.
  • Review HTTP access logs for requests with unusually large Cookie headers or a high frequency of semicolons within the cookie value, which could indicate an attack attempt.

The record

Despite HTTP headers having a default limit of 1MB, the number of cookies that can be parsed does not have a limit. By sending a lot of very small cookies such as "a=;", an attacker can make an HTTP server allocate a large amount of structs, causing large memory consumption.

Affected packages

Ecosystem Package Introduced Fixed
Go stdlib 0 1.24.8
Bitnami golang 0 1.24.8
Chainguard age 0 1.2.1-r8
Chainguard age-fips 0 1.2.1-r8
Chainguard amass 0 5.0.1-r1
Chainguard amazon-k8s-cni-fips 0 1.20.4-r2
Chainguard amazon-k8s-cni-init-fips 0 1.20.4-r2
Chainguard amazon-k8s-cni-init-fips-compat 0 1.20.4-r2
Chainguard ansible-operator 0 1.41.0-r1
Chainguard ansible-operator-compat 0 1.41.0-r1
Chainguard apisix-ingress-controller 0 1.8.4-r4
Chainguard apisix-ingress-controller-compat 0 1.8.4-r4
Chainguard apisix-ingress-controller-iamguarded-compat 0 1.8.4-r4
Chainguard apm-server-7.17 0 7.17.29-r4
Chainguard apm-server-7.17-compat 0 7.17.29-r4
Chainguard apm-server-8.17 0 8.17.10-r2
Chainguard apm-server-8.17-compat 0 8.17.10-r2
Chainguard apm-server-8.18 0 8.18.8-r1
Chainguard apm-server-8.18-compat 0 8.18.8-r1
Chainguard apm-server-fips-7.17 0 7.17.29-r4
Chainguard apm-server-fips-7.17-compat 0 7.17.29-r4
Chainguard apm-server-fips-8.17 0 8.17.10-r1
Chainguard apm-server-fips-8.17-compat 0 8.17.10-r1
Chainguard apm-server-fips-8.18 0 8.18.8-r1
Chainguard apm-server-fips-8.18-compat 0 8.18.8-r1
Chainguard apm-server-fips-9.0 0 9.0.8-r1
Chainguard apm-server-fips-9.0-compat 0 9.0.8-r1
Chainguard argo-cd-2.12 0 2.12.13-r1
Chainguard argo-cd-2.12-compat 0 2.12.13-r1
Chainguard argo-cd-2.12-repo-server 0 2.12.13-r1
Chainguard argo-cd-2.13-compat 0 2.13.9-r2
Chainguard argo-rollouts 0 1.8.3-r4
Chainguard argo-rollouts-compat 0 1.8.3-r4
Chainguard argo-rollouts-fips 0 1.8.3-r5
Chainguard atlantis 0 0.36.0-r2
Chainguard auditbeat-fips-8.17 0 8.17.10-r2
Chainguard auditbeat-fips-8.18 0 8.18.8-r2
Chainguard auditbeat-fips-9.0 0 9.0.8-r2
Chainguard authservice-fips 0 1.1.1-r1
Chainguard authservice-fips-compat 0 1.1.1-r1
Chainguard aws-iam-authenticator 0 0.7.8-r1
Chainguard aws-iam-authenticator-fips 0 0.7.8-r1
Chainguard aws-node-termination-handler 0 1.25.2-r2
Chainguard aws-node-termination-handler-compat 0 1.25.2-r2
Chainguard aws-node-termination-handler-fips 0 1.25.2-r2
Chainguard aws-node-termination-handler-fips-compat 0 1.25.2-r2
Chainguard aws-privateca-issuer-compat-fips 0 1.7.0-r3
Chainguard aws-privateca-issuer-fips 0 1.7.0-r3
Chainguard aws-s3-controller 0 1.1.1-r1
Chainguard aws-s3-controller-compat 0 1.1.1-r1
Chainguard aws-signer-notation-plugin 0 1.0.2292-r3
Chainguard aws-signer-notation-plugin-fips 0 1.0.2292-r3
Chainguard aws-sigv4-proxy 0 1.10-r3
Chainguard aws-sigv4-proxy-compat 0 1.10-r3
Chainguard aws-sigv4-proxy-fips 0 1.10-r3
Chainguard aws-sigv4-proxy-fips-compat 0 1.10-r3
Chainguard azure-aad-pod-identity-mic 0 1.8.17-r28
Chainguard azure-aad-pod-identity-nmi 0 1.8.17-r28
Chainguard azure-container-networking 0 1.7.4-r1
Chainguard azure-ipam 0 0.4.0-r4
Chainguard azure-ipam-dropgz 0 0.4.0-r4
Chainguard azure-vnet-cni 0 1.7.4-r1
Chainguard azure-workload-identity-webhook 0 1.5.1-r3
Chainguard azure-workload-identity-webhook-compat 0 1.5.1-r3
Chainguard azuredisk-csi-fips-1.33 0 1.33.5-r1
Chainguard azurefile-csi-1.30 0 1.30.10-r5
Chainguard azurefile-csi-1.30-compat 0 1.30.10-r5
Chainguard azurefile-csi-1.31 0 1.31.8-r1
Chainguard azurefile-csi-1.31-compat 0 1.31.8-r1
Chainguard azurefile-csi-1.32 0 1.32.7-r1
Chainguard azurefile-csi-1.32-compat 0 1.32.7-r1
Chainguard azurefile-csi-1.33 0 1.33.5-r1
Chainguard azurefile-csi-1.33-compat 0 1.33.5-r1
Chainguard azurefile-csi-fips-1.29 0 1.29.12-r5
Chainguard azurefile-csi-fips-1.29-compat 0 1.29.12-r5
Chainguard azurefile-csi-fips-1.30 0 1.30.10-r5
Chainguard azurefile-csi-fips-1.30-compat 0 1.30.10-r5
Chainguard azurefile-csi-fips-1.31 0 1.31.8-r1
Chainguard azurefile-csi-fips-1.31-compat 0 1.31.8-r1
Chainguard azurefile-csi-fips-1.32 0 1.32.7-r1
Chainguard azurefile-csi-fips-1.32-compat 0 1.32.7-r1
Chainguard bazelisk 0 1.27.0-r1
Chainguard bazelisk-default 0 1.27.0-r1
Chainguard beats-fips-8.17 0 8.17.10-r2
Chainguard beats-fips-8.18 0 8.18.8-r2
Chainguard beats-fips-9.0 0 9.0.8-r2
Chainguard blob-csi-1.23 0 1.23.11-r56
Chainguard blob-csi-1.23-compat 0 1.23.11-r56
Chainguard blob-csi-1.24 0 1.24.11-r5
Chainguard blob-csi-1.24-compat 0 1.24.11-r5
Chainguard blob-csi-1.25 0 1.25.10-r1
Chainguard blob-csi-1.25-compat 0 1.25.10-r1
Chainguard blob-csi-fips-1.23 0 1.23.11-r57
Chainguard blob-csi-fips-1.23-compat 0 1.23.11-r57
Chainguard blob-csi-fips-1.24 0 1.24.11-r5
Chainguard blob-csi-fips-1.24-compat 0 1.24.11-r5
Chainguard blob-csi-fips-1.25 0 1.25.10-r1
Chainguard blob-csi-fips-1.25-compat 0 1.25.10-r1
Chainguard blob-csi-fips-1.26 0 1.26.7-r3
Chainguard blob-csi-fips-1.26-compat 0 1.26.7-r3
Chainguard blobfuse2-fips 0 2.4.2-r6
Chainguard blobfuse2-fips-health-monitor 0 2.4.2-r6
Chainguard blobfuse2-fips-syslog 0 2.4.2-r6
Chainguard bom 0 0.7.1-r1
Chainguard bootc-image-builder 0 0_git20250828085034-r3
Chainguard boring-registry 0 0.16.6-r2
Chainguard boring-registry-fips 0 0.16.6-r2
Chainguard cadvisor 0 0.53.0-r6
Chainguard cadvisor-compat 0 0.53.0-r6
Chainguard calico-3.29 0 3.29.6-r1
Chainguard calico-apiserver-3.29 0 3.29.6-r1
Chainguard calico-apiserver-compat-3.29 0 3.29.6-r1
Chainguard calico-app-policy-3.29 0 3.29.6-r1
Chainguard calico-cni-3.29 0 3.29.6-r1
Chainguard calico-cni-compat-3.29 0 3.29.6-r1
Chainguard calico-felix-3.29 0 3.29.6-r1
Chainguard calico-key-cert-provisioner-3.29 0 3.29.6-r1
Chainguard calico-kube-controllers-3.29 0 3.29.6-r1
Chainguard calico-node-3.29 0 3.29.6-r1
Chainguard calico-pod2daemon-3.29 0 3.29.6-r1
Chainguard calico-pod2daemon-flexvol-compat-3.29 0 3.29.6-r1
Chainguard calico-typha-client-3.29 0 3.29.6-r1
Chainguard calico-typhad-3.29 0 3.29.6-r1
Chainguard calicoctl-3.29 0 3.29.6-r1
Chainguard capslock 0 0.2.8-r1
Chainguard cargobump 0 0.1.0-r7
Chainguard cephcsi-fips 0 3.15.0-r3
Chainguard cert-exporter 0 2.16.0-r2
Chainguard cert-exporter-fips 0 2.16.0-r3
Chainguard cert-manager-1.12 0 1.12.17-r9
Chainguard cert-manager-1.12-acmesolver 0 1.12.17-r9
Chainguard cert-manager-1.12-cainjector 0 1.12.17-r9
Chainguard cert-manager-1.12-controller 0 1.12.17-r9
Chainguard cert-manager-1.12-webhook 0 1.12.17-r9
Chainguard cert-manager-1.16 0 1.16.5-r6
Chainguard cert-manager-1.16-acmesolver 0 1.16.5-r6
Chainguard cert-manager-1.16-cainjector 0 1.16.5-r6
Chainguard cert-manager-1.16-controller 0 1.16.5-r6
Chainguard cert-manager-1.16-startupapicheck 0 1.16.5-r6
Chainguard cert-manager-1.16-webhook 0 1.16.5-r6
Chainguard cert-manager-1.17 0 1.17.4-r4
Chainguard cert-manager-acmesolver-1.12 0 1.12.17-r9
Chainguard cert-manager-acmesolver-1.12-bitnami-compat 0 1.12.17-r9
Chainguard cert-manager-acmesolver-1.12-iamguarded-compat 0 1.12.17-r9
Chainguard cert-manager-acmesolver-1.16 0 1.16.5-r6
Chainguard cert-manager-acmesolver-1.16-bitnami-compat 0 1.16.5-r6
Chainguard cert-manager-acmesolver-1.16-iamguarded-compat 0 1.16.5-r6
Chainguard cert-manager-acmesolver-1.17 0 1.17.4-r4
Chainguard cert-manager-acmesolver-1.17-bitnami-compat 0 1.17.4-r4
Chainguard cert-manager-acmesolver-1.17-iamguarded-compat 0 1.17.4-r4
Chainguard cert-manager-cainjector-1.12 0 1.12.17-r9
Chainguard cert-manager-cainjector-1.12-bitnami-compat 0 1.12.17-r9
Chainguard cert-manager-cainjector-1.12-iamguarded-compat 0 1.12.17-r9
Chainguard cert-manager-cainjector-1.16 0 1.16.5-r6
Chainguard cert-manager-cainjector-1.16-bitnami-compat 0 1.16.5-r6
Chainguard cert-manager-cainjector-1.16-iamguarded-compat 0 1.16.5-r6
Chainguard cert-manager-cainjector-1.17 0 1.17.4-r4
Chainguard cert-manager-cainjector-1.17-bitnami-compat 0 1.17.4-r4
Chainguard cert-manager-cainjector-1.17-iamguarded-compat 0 1.17.4-r4
Chainguard cert-manager-cmctl 0 2.3.0-r5
Chainguard cert-manager-controller-1.12 0 1.12.17-r9
Chainguard cert-manager-controller-1.12-bitnami-compat 0 1.12.17-r9
Chainguard cert-manager-controller-1.12-iamguarded-compat 0 1.12.17-r9
Chainguard cert-manager-controller-1.16 0 1.16.5-r6
Chainguard cert-manager-controller-1.16-bitnami-compat 0 1.16.5-r6
Chainguard cert-manager-controller-1.16-iamguarded-compat 0 1.16.5-r6
Chainguard cert-manager-controller-1.17 0 1.17.4-r4
Chainguard cert-manager-controller-1.17-bitnami-compat 0 1.17.4-r4
Chainguard cert-manager-controller-1.17-iamguarded-compat 0 1.17.4-r4
Chainguard cert-manager-startupapicheck-1.16 0 1.16.5-r6
Chainguard cert-manager-startupapicheck-1.17 0 1.17.4-r4
Chainguard cert-manager-webhook-1.12 0 1.12.17-r9
Chainguard cert-manager-webhook-1.12-bitnami-compat 0 1.12.17-r9
Chainguard cert-manager-webhook-1.12-iamguarded-compat 0 1.12.17-r9
Chainguard cert-manager-webhook-1.16 0 1.16.5-r6
Chainguard cert-manager-webhook-1.16-bitnami-compat 0 1.16.5-r6
Chainguard cert-manager-webhook-1.16-iamguarded-compat 0 1.16.5-r6
Chainguard cert-manager-webhook-1.17 0 1.17.4-r4
Chainguard cert-manager-webhook-1.17-bitnami-compat 0 1.17.4-r4
Chainguard cert-manager-webhook-1.17-iamguarded-compat 0 1.17.4-r4
Chainguard cert-manager-webhook-pdns 0 2.5.3-r1
Chainguard cert-manager-webhook-pdns-fips 0 2.5.3-r2
Chainguard certificate-transparency 0 1.3.2-r4
Chainguard certificate-transparency-trillian-ctserver 0 1.3.2-r4
Chainguard cfssl 0 1.6.5-r23
Chainguard cfssl-bundle 0 1.6.5-r23
Chainguard cfssl-bundle-fips 0 1.6.5-r16
Chainguard cfssl-certinfo 0 1.6.5-r23
Chainguard cfssl-certinfo-fips 0 1.6.5-r16
Chainguard cfssl-cfssl-bundle 0 1.6.5-r23
Chainguard cfssl-cfssl-certinfo 0 1.6.5-r23
Chainguard cfssl-cfssl-newkey 0 1.6.5-r23
Chainguard cfssl-cfssl-scan 0 1.6.5-r23
Chainguard cfssl-cfssljson 0 1.6.5-r23
Chainguard cfssl-fips 0 1.6.5-r16
Chainguard cfssl-fips-cfssl-bundle-fips 0 1.6.5-r16
Chainguard cfssl-fips-cfssl-certinfo-fips 0 1.6.5-r16
Chainguard cfssl-fips-cfssl-newkey-fips 0 1.6.5-r16
Chainguard cfssl-fips-cfssl-scan-fips 0 1.6.5-r16
Chainguard cfssl-fips-cfssljson-fips 0 1.6.5-r16

Related vulnerabilities