Bug 2328554 (CVE-2024-53899)

Summary: CVE-2024-53899 virtualenv: potential command injection via virtual environment activation scripts
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: anpicker, aprice, bdettelb, bparees, caswilli, doconnor, ehelms, ggainey, gkamathe, hasun, jfula, jmitchel, jowilson, jsamir, jtanner, juwatts, jwong, kaycoth, kgaikwad, kholdawa, kshier, mhulan, mpierce, nmoumoul, nyancey, ometelka, orabin, pcreech, psegedy, ptisnovs, rchan, sdawley, smallamp, stcannon, sthirugn, syedriko, teagle, vkrizan, xdharmai, xiaoxwan, zzhou
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the virtualenv Python package. Due to the improper handling of quotes in magic template strings, the virtual environment activation script is vulnerable to OS command injection,leading to the loss of confidentiality,integrity and availability of the system.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2328744, 2328745, 2328746, 2328747, 2328748, 2328749, 2328750    
Bug Blocks:    

Description OSIDB Bzimport 2024-11-24 17:01:25 UTC
virtualenv before 20.26.6 allows command injection through the activation scripts for a virtual environment. Magic template strings are not quoted correctly when replacing. NOTE: this is not the same as CVE-2024-9287.

Comment 3 errata-xmlrpc 2024-12-11 12:03:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:10953 https://access.redhat.com/errata/RHSA-2024:10953

Comment 4 errata-xmlrpc 2024-12-16 01:26:18 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2024:11048 https://access.redhat.com/errata/RHSA-2024:11048

Comment 5 errata-xmlrpc 2024-12-16 07:22:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Advanced Update Support

Via RHSA-2024:11091 https://access.redhat.com/errata/RHSA-2024:11091

Comment 6 errata-xmlrpc 2024-12-16 07:55:34 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

Via RHSA-2024:11093 https://access.redhat.com/errata/RHSA-2024:11093

Comment 7 errata-xmlrpc 2024-12-16 08:07:16 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2024:11094 https://access.redhat.com/errata/RHSA-2024:11094

Comment 8 errata-xmlrpc 2025-01-01 07:50:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Telecommunications Update Service

Via RHSA-2025:0002 https://access.redhat.com/errata/RHSA-2025:0002