CVE-2025-32798

Conda-build contains commands and tools to build conda packages. Prior to version 25.4.0, the conda-build recipe processing logic has been found to be vulnerable to arbitrary code execution due to unsafe evaluation of recipe selectors. Currently, conda-build uses the eval function to process embedded selectors in meta.yaml files. This approach evaluates user-defined expressions without proper sanitization, which allows arbitrary code to be executed during the build process. As a result, the integrity of the build environment is compromised, and unauthorized commands or file operations may be performed. The vulnerability stems from the inherent risk of using eval() on untrusted input in a context intended to control dynamic build configurations. By directly interpreting selector expressions, conda-build creates a potential execution pathway for malicious code, violating security assumptions. This issue has been patched in version 25.4.0.
Configurations

Configuration 1 (hide)

cpe:2.3:a:anaconda:conda-build:*:*:*:*:*:*:*:*

History

02 Jul 2025, 18:21

Type Values Removed Values Added
References () https://github.com/conda/conda-build/blob/834448b995eee02cf1c2e7ca97bcfa9affc77ee5/conda_build/metadata.py - () https://github.com/conda/conda-build/blob/834448b995eee02cf1c2e7ca97bcfa9affc77ee5/conda_build/metadata.py - Product
References () https://github.com/conda/conda-build/security/advisories/GHSA-6cc8-c3c9-3rgr - () https://github.com/conda/conda-build/security/advisories/GHSA-6cc8-c3c9-3rgr - Exploit, Third Party Advisory
References () https://github.com/conda/conda-build/commit/3d87213b840774a24ab1733664d2b36664233754 - () https://github.com/conda/conda-build/commit/3d87213b840774a24ab1733664d2b36664233754 - Patch
First Time Anaconda conda-build
Anaconda
CPE cpe:2.3:a:anaconda:conda-build:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8

17 Jun 2025, 19:15

Type Values Removed Values Added
CWE CWE-94

16 Jun 2025, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-16 20:15

Updated : 2025-07-02 18:21


NVD link : CVE-2025-32798

Mitre link : CVE-2025-32798


JSON object : View

Products Affected

anaconda

  • conda-build
CWE

No CWE.