Advisory

PYSEC-2023-275

Also known as: CVE-2023-47117, GHSA-6hjj-gq77-j4qw

Summary

The record has no summary.

Details

Label Studio is an open source data labeling tool. In all current versions of Label Studio prior to 1.9.2post0, the application allows users to insecurely set filters for filtering tasks. An attacker can construct a filter chain to filter tasks based on sensitive fields for all user accounts on the platform by exploiting Django's Object Relational Mapper (ORM). Since the results of query can be manipulated by the ORM filter, an attacker can leak these sensitive fields character by character. In addition, Label Studio had a hard coded secret key that an attacker can use to forge a session token of any user by exploiting this ORM Leak vulnerability to leak account password hashes. This vulnerability has been addressed in commit f931d9d129 which is included in the 1.9.2post0 release. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2023-11-13 21:15 UTC
Modified
2024-11-21 14:57 UTC

Affected packages and fixes

label-studio

PyPI · All systems

Affected

  • introduced 0, fixed 1.9.2 (ecosystem)

Fixed versions

1.9.2

Fix

  • Fixed version 1.9.2
    pip install --upgrade label-studio==1.9.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences