PYSEC-2023-127
Quick fix
PYSEC-2023-127 — copyparty: upgrade to the fixed version with the command below.
pip install --upgrade 'copyparty>=043e3c7dd683113e2b1c15cacb9c8e68f76513ff'Details
Copyparty is a portable file server. Versions prior to 1.8.2 are subject to a path traversal vulnerability detected in the `.cpr` subfolder. The Path Traversal attack technique allows an attacker access to files, directories, and commands that reside outside the web document root directory. This issue has been addressed in commit `043e3c7d` which has been included in release 1.8.2. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 043e3c7dd683113e2b1c15cacb9c8e68f76513ffpip install --upgrade 'copyparty>=043e3c7dd683113e2b1c15cacb9c8e68f76513ff'References
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/copyparty"]}'