MEDIUM6.5
PYSEC-2022-300
Quick fix
PYSEC-2022-300 — label-studio: upgrade to the fixed version with the command below.
pip install --upgrade 'label-studio>=1.5.0.post0'Details
A Server Side Request Forgery (SSRF) in the Data Import module in Heartex - Label Studio Community Edition versions 1.5.0 and earlier allows an authenticated user to access arbitrary files on the system. Furthermore, self-registration is enabled by default in these versions of Label Studio enabling a remote attacker to create a new account and then exploit the SSRF.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/label-studio
Introduced in:
0Fixed in: 1.5.0.post0Fix
pip install --upgrade 'label-studio>=1.5.0.post0'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/label-studio"]}'