CVE-2025-32799
Conda-build Vulnerable to Path Traversal via Malicious Tar File
Description
Conda-build contains commands and tools to build conda packages. Prior to version 25.4.0, the conda-build processing logic is vulnerable to path traversal (Tarslip) attacks due to improper sanitization of tar entry paths. Attackers can craft tar archives containing entries with directory traversal sequences to write files outside the intended extraction directory. This could lead to arbitrary file overwrites, privilege escalation, or code execution if sensitive locations are targeted. This issue has been patched in version 25.4.0.
INFO
Published Date :
June 16, 2025, 9:15 p.m.
Last Modified :
July 2, 2025, 6:12 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | [email protected] | ||||
| CVSS 4.0 | MEDIUM | [email protected] | 
Solution
- Update conda-build to version 25.4.0 or later.
- Review and sanitize tar archive paths.
- Validate all tar entry paths for traversal sequences.
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2025-32799.
                                        
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2025-32799 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2025-32799
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2025-32799 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2025-32799 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            Initial Analysis by [email protected]Jul. 02, 2025 Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CPE Configuration OR *cpe:2.3:a:anaconda:conda-build:*:*:*:*:*:*:*:* versions up to (excluding) 25.4.0 Added Reference Type GitHub, Inc.: https://github.com/conda/conda-build/blob/834448b995eee02cf1c2e7ca97bcfa9affc77ee5/conda_build/convert.py Types: Product Added Reference Type GitHub, Inc.: https://github.com/conda/conda-build/blob/834448b995eee02cf1c2e7ca97bcfa9affc77ee5/conda_build/render.py Types: Product Added Reference Type GitHub, Inc.: https://github.com/conda/conda-build/commit/bdf5e0022cec9a0c1378cca3f2dc8c92b4834673 Types: Patch Added Reference Type CISA-ADP: https://github.com/conda/conda-build/security/advisories/GHSA-h499-pxgj-qh5h Types: Exploit, Vendor Advisory Added Reference Type GitHub, Inc.: https://github.com/conda/conda-build/security/advisories/GHSA-h499-pxgj-qh5h Types: Exploit, Vendor Advisory 
- 
                            CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0Jun. 17, 2025 Action Type Old Value New Value Added Reference https://github.com/conda/conda-build/security/advisories/GHSA-h499-pxgj-qh5h 
- 
                            New CVE Received by [email protected]Jun. 16, 2025 Action Type Old Value New Value Added Description Conda-build contains commands and tools to build conda packages. Prior to version 25.4.0, the conda-build processing logic is vulnerable to path traversal (Tarslip) attacks due to improper sanitization of tar entry paths. Attackers can craft tar archives containing entries with directory traversal sequences to write files outside the intended extraction directory. This could lead to arbitrary file overwrites, privilege escalation, or code execution if sensitive locations are targeted. This issue has been patched in version 25.4.0. Added CVSS V4.0 AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-22 Added Reference https://github.com/conda/conda-build/blob/834448b995eee02cf1c2e7ca97bcfa9affc77ee5/conda_build/convert.py Added Reference https://github.com/conda/conda-build/blob/834448b995eee02cf1c2e7ca97bcfa9affc77ee5/conda_build/render.py Added Reference https://github.com/conda/conda-build/commit/bdf5e0022cec9a0c1378cca3f2dc8c92b4834673 Added Reference https://github.com/conda/conda-build/security/advisories/GHSA-h499-pxgj-qh5h 
 
                         
                         
                         
                                             
                                            