Advisory

PYSEC-2024-127

Also known as: CVE-2023-47116, GHSA-p59w-9gqw-wj8r

Summary

The record has no summary.

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.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Dates

Published
2024-01-31 17:15 UTC
Modified
2024-11-21 14:57 UTC

Affected packages and fixes

label-studio

PyPI · All systems

Affected

  • introduced 0, fixed 1.11.0 (ecosystem)

Fixed versions

1.11.0

Fix

  • Fixed version 1.11.0
    pip install --upgrade label-studio==1.11.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences