Vulnerability · Published Jan 31, 2024 · Assigned by GitHub_M

CVE-2023-47116Label Studio SSRF on Import Bypassing `SSRF_PROTECTION_ENABLED` Protections

Medium 5.3

In plain English

A medium-severity server-side request forgery in label-studio from HumanSignal. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.7%top 45.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIlabel-studio1.11.0GHSA-p59w-9gqw-wj8r
PyPIlabel-studio1.11.0PYSEC-2024-127

Affected products (as reported)

VendorProductVersions
HumanSignal label-studio < 1.11.0

Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References