PYSEC-2023-274
Quick fix
PYSEC-2023-274 — label-studio: upgrade to the fixed version with the command below.
pip install --upgrade 'label-studio>=3d06c5131c15600621e08b06f07d976887cde81b'Details
Label Studio is a multi-type data labeling and annotation tool with standardized output format. There is a vulnerability that can be chained within the ORM Leak vulnerability to impersonate any account on Label Studio. An attacker could exploit these vulnerabilities to escalate their privileges from a low privilege user to a Django Super Administrator user. The vulnerability was found to affect versions before `1.8.2`, where a patch was introduced.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: 3d06c5131c15600621e08b06f07d976887cde81bpip install --upgrade 'label-studio>=3d06c5131c15600621e08b06f07d976887cde81b'References
- https://github.com/HumanSignal/label-studio/security/advisories/GHSA-f475-x83m-rx5m[ADVISORY]
- https://github.com/HumanSignal/label-studio/pull/4690[FIX]
- https://github.com/HumanSignal/label-studio/commit/3d06c5131c15600621e08b06f07d976887cde81b[FIX]
- https://github.com/HumanSignal/label-studio/releases/tag/1.8.2[WEB]
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"]}'