Skip to content
Heist/ feed
Back to feed
Medium

Label Studio SSRF on Import Bypassing `SSRF_PROTECTION_ENABLED` Protections

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-47116
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 21:06 UTC · Revision 1

Source evidence

Label Studio SSRF on Import Bypassing `SSRF_PROTECTION_ENABLED` Protections

core-osv · Original source

Published 31 Jan 2024, 16:21 UTC

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.

osv:CVE-2023-47116
Complete source record
{
  "id": "97a0ace100d81137cdf16b5df7818b6ddae102dd7903d313722096659930a77c",
  "url": "https://osv.dev/vulnerability/CVE-2023-47116",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Label Studio SSRF on Import Bypassing `SSRF_PROTECTION_ENABLED` Protections",
    "summary": "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.",
    "evidence": "osv:CVE-2023-47116",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-47116",
      "aliases": [
        "CVE-2023-47116",
        "GHSA-p59w-9gqw-wj8r",
        "PYSEC-2024-127"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/humansignal/label-studio",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "a9766f0325bd99ff2339ffa8a7988a66383c0f8d"
                },
                {
                  "fixed": "55dd6af4716b92f2bb213fe461d1ffbc380c6a64"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:humansignal:label_studio:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.11.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "55dd6af4716b92f2bb213fe461d1ffbc380c6a64"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "a9766f0325bd99ff2339ffa8a7988a66383c0f8d"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "1.11.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.4.1",
            "v1.4.0",
            "v1.3.0",
            "v1.2.0",
            "v1.1.1",
            "v1.1.0",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0",
            "v0.9.1.post1",
            "v0.9.1.post0",
            "v0.9.0.post5",
            "v0.9.0.post4",
            "v0.9.0.post3",
            "v0.9.0",
            "v0.8.2",
            "v0.8.1",
            "v0.8.0",
            "v0.7.5.post0",
            "v0.7.3",
            "v0.7.2",
            "v0.7.1",
            "v0.7.0",
            "v0.6.1",
            "v0.6.0",
            "v0.5.1",
            "v0.4.8",
            "v0.4.7",
            "v0.4.6",
            "v0.4.5",
            "v0.4.4",
            "v0.4.0",
            "v0.3.0",
            "v0.2.2",
            "v.0.2.1-8",
            "v.0.2.1-5",
            "v.0.2.1-4",
            "v.0.2.1-3",
            "v.0.2.1-2",
            "v.0.2.0",
            "v.0.1.6",
            "v.0.1.5",
            "v.0.1.4",
            "v.0.1.2",
            "v.0.1.1",
            "v.0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-47116.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.637586646Z",
      "provider": "osv",
      "references": [
        "https://github.com/HumanSignal/label-studio/releases/tag/1.11.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/47xxx/CVE-2023-47116.json",
        "https://github.com/HumanSignal/label-studio/security/advisories/GHSA-p59w-9gqw-wj8r",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-47116",
        "https://github.com/HumanSignal/label-studio/commit/55dd6af4716b92f2bb213fe461d1ffbc380c6a64"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-918"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/47xxx/CVE-2023-47116.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-47116",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507024,
  "published_at": "2024-01-31T16:21:50.793+00:00"
}