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

CVE-2023-47116 · Severity: low · CVSS 3.1 · Published 2024-01-31

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.

Technologies: label-studio (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2023-47116 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2023-47116 being exploited in the wild.
How severe is CVE-2023-47116?
Low severity, with a CVSS score of 3.1, published 31 January 2024.
Which products and versions are affected?
label-studio (PyPI) ECOSYSTEM:introduced=0,fixed=1.11.0, GIT:introduced=0,fixed=55dd6af4716b92f2bb213fe461d1ffbc380c6a64|ECOSYSTEM:introduced=0,fixed=1.11.0.
Is there a fix for CVE-2023-47116?
Yes. label-studio (PyPI): upgrade to 1.11.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2023-47116?
Check whether you run label-studio (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • label-studio (PyPI): upgrade to 1.11.0 or later
    pip install "label-studio>=1.11.0"

Affected products

  • label-studio (PyPI) ECOSYSTEM:introduced=0,fixed=1.11.0, GIT:introduced=0,fixed=55dd6af4716b92f2bb213fe461d1ffbc380c6a64|ECOSYSTEM:introduced=0,fixed=1.11.0

Identifiers

  • CVE-2023-47116
  • GHSA-p59w-9gqw-wj8r
  • PYSEC-2024-127

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.