virtualenv is a tool for creating isolated virtual python environments. Prior to 21.7.11, PyEnvCfg.write() writes prompt values verbatim to the line-oriented pyvenv.cfg format while PyEnvCfg._read_values() parses the file with str.splitlines() and accepts the last value for duplicate keys. An attacker who influences –prompt, VIRTUALENV_PROMPT, or configuration input can insert a recognized line boundary and additional keys, including home, causing consumers to use an attacker-selected base interpreter or corrupted environment metadata. The security impact requires prompt input from outside the operators trust boundary; directly supplied prompt content primarily corrupts the operators own environment. This issue is fixed in version 21.7.11.
The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2.6 | RedHat | ansible-automation-platform-26/eda-controller-rhel9:1791945282 | * |
| Red Hat Ansible Automation Platform 2.6 | RedHat | ansible-automation-platform-26/lightspeed-chatbot-rhel9:1791978798 | * |
| Red Hat Ansible Automation Platform 2.7 | RedHat | ansible-automation-platform-27/eda-controller-rhel9:1792141010 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-feature-server-rhel9:1792148523 | * |
| Red Hat OpenShift AI 2.25 | RedHat | rhoai/odh-ta-lmes-job-rhel9:1791553527 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-feature-server-rhel9:1791863220 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-kserve-agent-rhel9:1791468381 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-kserve-controller-rhel9:1791468368 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-kserve-router-rhel9:1791468401 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-kserve-storage-initializer-rhel9:1790958549 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-ta-lmes-job-rhel9:1791470318 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-training-rocm64-torch28-py312-rhel9:1791556461 | * |
| Red Hat OpenShift AI 3.4 | RedHat | rhoai/odh-trustyai-nemo-guardrails-server-rhel9:1791556128 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-ta-lmes-job-rhel9:1792501995 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-training-rocm64-torch28-py312-rhel9:1791906128 | * |
| Red Hat OpenShift AI 3.5 | RedHat | rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1791825469 | * |