CVE-2024-53899
high
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
8.0
Description
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.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Mixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 20.26.6+ds-1 |
| sid | Fixed | 20.26.6+ds-1 |
| forky | Fixed | 20.26.6+ds-1 |
| bullseye | Affected | โ |
| bookworm | Affected | โ |
Red Hat Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 8 | Fixed | โ |
Rocky Linux Fixed 1 release
| Version | Status | Fixed in |
|---|---|---|
| 8 | Fixed | โ |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | virtualenv | <20.26.6 | 20.26.6 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-53899
- https://github.com/pypa/virtualenv/issues/2768
- https://github.com/pypa/virtualenv/pull/2771
- https://github.com/pypa/advisory-database/tree/main/vulns/virtualenv/PYSEC-2024-187.yaml
- https://github.com/pypa/virtualenv
- https://github.com/pypa/virtualenv/releases/tag/20.26.6
- https://errata.rockylinux.org/RLSA-2024:10953
- https://www.suse.com/security/cve/CVE-2024-53899.html
- https://security-tracker.debian.org/tracker/CVE-2024-53899
- https://access.redhat.com/errata/RHSA-2024:10953
- https://bugzilla.redhat.com/2328554
- https://errata.almalinux.org/8/ALSA-2024-10953.html
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.