Cloudanix VulnDB

CVE-2025-58183

Medium · 4.3

CVSS

4.3

EPSS

0.4%

Published

Oct 29, 2025

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

A flaw in how some software handles compressed files could allow an attacker to crash an application by sending it a specially crafted archive.

Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

A vulnerability in the tar.Reader component allows for excessive memory allocation when parsing a maliciously crafted GNU tar pax 1.0 sparse file. The flaw stems from the lack of a limit on the number of sparse region data blocks, enabling an attacker to trigger an unbounded read operation that consumes significant memory resources, leading to a denial of service.

Why it matters to the business

Applications and services that process tar archives are susceptible to a denial-of-service condition. An attacker can cause these services to crash or become unresponsive by providing a specially crafted archive file. This can lead to service outages, disruption of automated workflows (like CI/CD pipelines or data ingestion systems), and reduced availability of critical systems.

How an attack unfolds

An attacker crafts a small, compressed tar archive that contains a file with a GNU tar pax 1.0 sparse format header. This header is manipulated to declare an extremely large number of sparse data regions. The attacker then delivers this archive to a target system, for example, through a file upload feature or by tricking a user into opening it. When an application using the vulnerable tar.Reader library attempts to parse the archive, it tries to allocate memory for all the declared sparse regions. This results in a massive memory allocation that exhausts system resources, causing the application to crash or become unresponsive.

How to fix it

To remediate this vulnerability, upgrade affected components to a patched version. For example, users of envoy (Bitnami) should upgrade to version 1.33.13 or later. If patching is not immediately possible, consider implementing mitigations such as restricting the processing of tar archives from untrusted sources or running archive processing in a container with strict memory limits to contain the impact of a potential DoS attack.

How to confirm the fix worked

To validate the fix, verify that all instances of the affected software have been upgraded to the patched versions specified by the vendor. You can confirm the version of the running application or library. Additionally, you can monitor systems for abnormal memory consumption or crashes related to archive processing, although the absence of such events does not guarantee immunity. The most reliable validation is confirming the patch level.

Typical attack path

  1. An attacker crafts a malicious tar archive with an excessive number of sparse regions.
  2. The attacker delivers the malicious archive to a target application, often through a file upload function or by tricking a user.
  3. The target application uses a vulnerable library to parse the tar archive.
  4. The library attempts to process the sparse file, leading to excessive memory allocation.
  5. The application or the host system runs out of memory, resulting in a crash and a Denial of Service (DoS).

How to detect it

Exploitation of this vulnerability results in a denial-of-service condition caused by memory exhaustion. To detect potential exploitation attempts, security teams should monitor for and investigate application crashes, unexpected restarts, and out-of-memory (OOM) killer events on systems responsible for processing tar archives. Correlate these events with the ingestion or processing of new archive files to identify the potential trigger.

What your security team should do

  • Identify all applications and systems that process tar archives and determine if they use the vulnerable library.
  • Prioritize patching for internet-facing systems or critical services that accept file uploads or process external archives.
  • Apply the necessary security updates to upgrade to a fixed version, such as envoy (Bitnami) 1.33.13 or newer.
  • For systems that cannot be patched immediately, implement resource limiting (e.g., cgroups, container memory limits) on processes that handle archives to prevent a full system crash.

The record

tar.Reader does not set a maximum size on the number of sparse region data blocks in GNU tar pax 1.0 sparse files. A maliciously-crafted archive containing a large number of sparse regions can cause a Reader to read an unbounded amount of data from the archive into memory. When reading from a compressed source, a small compressed input can result in large allocations.

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