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

CVE-2023-43791: Label Studio has Hardcoded Django `SECRET_KEY` that can be Abused to Forge Session Tokens

November 9, 2023 (updated November 22, 2024)

Below is the code snippet of the Django settings file at label_studio/core/settings/base.py.

References

  • github.com/HumanSignal/label-studio
  • github.com/HumanSignal/label-studio/commit/3d06c5131c15600621e08b06f07d976887cde81b
  • github.com/HumanSignal/label-studio/pull/4690
  • github.com/HumanSignal/label-studio/releases/tag/1.8.2
  • github.com/HumanSignal/label-studio/security/advisories/GHSA-f475-x83m-rx5m
  • github.com/advisories/GHSA-f475-x83m-rx5m
  • github.com/pypa/advisory-database/tree/main/vulns/label-studio/PYSEC-2023-274.yaml
  • nvd.nist.gov/vuln/detail/CVE-2023-43791

Code Behaviors & Features

Detect and mitigate CVE-2023-43791 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.8.2

Fixed versions

  • 1.8.2

Solution

Upgrade to version 1.8.2 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

pypi/label-studio/CVE-2023-43791.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:33 +0000.