{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-32798 exists.","fix":"No fix has been published for CVE-2025-32798 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-32798 is a high-severity code injection vulnerability in conda-build, published on 16 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-32798 and fix it if it is affected.\n\nWhat it is: CVE-2025-32798 is a high-severity code injection vulnerability in conda-build, published on 16 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-32798 exists.\n\nAffected product: conda-build. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-32798/ (Markdown: https://insights.sbomify.com/CVE-2025-32798/index.md)","id":"CVE-2025-32798","markdown":"https://insights.sbomify.com/CVE-2025-32798/index.md","name":"CVE-2025-32798","record":{"aliases":["GHSA-6cc8-c3c9-3rgr"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Conda build tool","requires_auth":"none","summary":"Attackers can execute arbitrary code by crafting malicious recipe selectors in conda-build, compromising the build environment.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"conda-build","vendor":"anaconda"}],"cvss":{"score":8.2,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Conda-build Allows Arbitrary Code Execution via Malicious Recipe Selectors","id":"CVE-2025-32798","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"Conda-build Vulnerable to Path Traversal via Malicious Tar File","id":"CVE-2025-32799"},"packages":[],"prev":{"headline":"Conda-build Insecure Build Script Permissions Enabling Arbitrary Code Execution","id":"CVE-2025-32797"},"products":["conda-build"],"published":"2025-06-16","related":[{"cvss_score":7.2,"headline":"Supply chain in conda-build","id":"CVE-2025-32800","kev_date_added":null,"published":"2025-06-16"},{"cvss_score":6,"headline":"Conda-build Insecure Build Script Permissions Enabling Arbitrary Code Execution","id":"CVE-2025-32797","kev_date_added":null,"published":"2025-06-16"},{"cvss_score":5.6,"headline":"Conda-build Vulnerable to Path Traversal via Malicious Tar File","id":"CVE-2025-32799","kev_date_added":null,"published":"2025-06-16"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-06-17","vendors":["conda"]},"summary":"Attackers can execute arbitrary code by crafting malicious recipe selectors in conda-build, compromising the build environment.","url":"https://insights.sbomify.com/CVE-2025-32798/"}