-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8ac8da6
commit c140770
Showing
1 changed file
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"schema_version": "1.5.0", | ||
"id": "PSF-0000-CVE-2024-9287", | ||
"aliases": [ | ||
"CVE-2024-9287" | ||
], | ||
"published": "2024-10-22T16:34:39.210Z", | ||
"modified": "2024-10-22T16:34:39.210Z", | ||
"details": "A vulnerability has been found in the CPython `venv` module and CLI where path names provided when creating a virtual environment were not quoted properly, allowing the creator to inject commands into virtual environment \"activation\" scripts (ie \"source venv/bin/activate\"). This means that attacker-controlled virtual environments are able to run commands when the virtual environment is activated. Virtual environments which are not created by an attacker or which aren't activated before being used (ie \"./venv/bin/python\") are not affected.", | ||
"affected": [ | ||
{ | ||
"ranges": [ | ||
{ | ||
"type": "GIT", | ||
"events": [ | ||
{ | ||
"introduced": "0" | ||
} | ||
], | ||
"repo": "https://github.com/python/cpython" | ||
} | ||
] | ||
} | ||
], | ||
"references": [ | ||
{ | ||
"type": "REPORT", | ||
"url": "https://github.com/python/cpython/issues/124651" | ||
}, | ||
{ | ||
"type": "WEB", | ||
"url": "https://github.com/python/cpython/pull/124712" | ||
}, | ||
{ | ||
"type": "ADVISORY", | ||
"url": "https://mail.python.org/archives/list/[email protected]/thread/RSPJ2B5JL22FG3TKUJ7D7DQ4N5JRRBZL/" | ||
} | ||
], | ||
"database_specific": { | ||
"cwe_ids": [] | ||
} | ||
} |