Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. label-studio
  4. ›
  5. CVE-2023-47116

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

January 31, 2024 (updated November 22, 2024)

The following tasks_from_url method in label_studio/data_import/uploader.py performs the SSRF validation (validate_upload_url) before sending the request.

def tasks_from_url(file_upload_ids, project, user, url, could_be_tasks_list):
"""Download file using URL and read tasks from it"""

References

  • en.wikipedia.org/wiki/DNS_rebinding
  • github.com/HumanSignal/label-studio
  • github.com/HumanSignal/label-studio/blob/1.8.2/label_studio/core/utils/io.py
  • github.com/HumanSignal/label-studio/blob/1.8.2/label_studio/data_import/uploader.py
  • github.com/HumanSignal/label-studio/commit/55dd6af4716b92f2bb213fe461d1ffbc380c6a64
  • github.com/HumanSignal/label-studio/releases/tag/1.11.0
  • github.com/HumanSignal/label-studio/security/advisories/GHSA-p59w-9gqw-wj8r
  • github.com/advisories/GHSA-p59w-9gqw-wj8r
  • github.com/pypa/advisory-database/tree/main/vulns/label-studio/PYSEC-2024-127.yaml
  • nvd.nist.gov/vuln/detail/CVE-2023-47116

Code Behaviors & Features

Detect and mitigate CVE-2023-47116 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.11.0

Fixed versions

  • 1.11.0

Solution

Upgrade to version 1.11.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

pypi/label-studio/CVE-2023-47116.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:45 +0000.