VDB
Sign up
MEDIUM5.3

PYSEC-2024-127

Quick fix

PYSEC-2024-127 — label-studio: upgrade to the fixed version with the command below.

pip install --upgrade 'label-studio>=55dd6af4716b92f2bb213fe461d1ffbc380c6a64'

Details

Label Studio is a popular open source data labeling tool. The vulnerability affects all versions of Label Studio prior to 1.11.0 and was tested on version 1.8.2. Label Studio's SSRF protections that can be enabled by setting the `SSRF_PROTECTION_ENABLED` environment variable can be bypassed to access internal web servers. This is because the current SSRF validation is done by executing a single DNS lookup to verify that the IP address is not in an excluded subnet range. This protection can be bypassed by either using HTTP redirection or performing a DNS rebinding attack.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/label-studio
Introduced in: 0Fixed in: 55dd6af4716b92f2bb213fe461d1ffbc380c6a64
Fixpip install --upgrade 'label-studio>=55dd6af4716b92f2bb213fe461d1ffbc380c6a64'

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"]}'