Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

GHSA-9q39-f8w9-75wm

Label Studio's Data Manager parses inline task-list queries (the query GET parameter, a POST body filter list or legacy saved views) with the pydantic PrepareParams model, whose Filter.filter and ordering fields accept any string as a column name. The apply_filters() and apply_ordering() functions pass that name straight into Q(**{column: value}) and F(column), so an authenticated project member can use Django double-underscore relation traversal (for example project__created_by__auth_token__key) with a regex operator or an ordering column to turn the result set into a boolean oracle. This allows character-by-character extraction of other users' API tokens, password hashes and storage credentials. The double-underscore check added for CVE-2023-47117 runs only when a saved View is serialized, not on this path, because PrepareParams has no column validation.
Back to all
CVE

GHSA-9q39-f8w9-75wm

Label Studio's Data Manager parses inline task-list queries (the query GET parameter, a POST body filter list or legacy saved views) with the pydantic PrepareParams model, whose Filter.filter and ordering fields accept any string as a column name. The apply_filters() and apply_ordering() functions pass that name straight into Q(**{column: value}) and F(column), so an authenticated project member can use Django double-underscore relation traversal (for example project__created_by__auth_token__key) with a regex operator or an ordering column to turn the result set into a boolean oracle. This allows character-by-character extraction of other users' API tokens, password hashes and storage credentials. The double-underscore check added for CVE-2023-47117 runs only when a saved View is serialized, not on this path, because PrepareParams has no column validation.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
-
C
H
U
-
C
H
U
9.6
-
3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N

Related Resources

No items found.

References

https://github.com/advisories/GHSA-9q39-f8w9-75wm, https://github.com/HumanSignal/label-studio/security/advisories/GHSA-9q39-f8w9-75wm, https://github.com/HumanSignal/label-studio/commit/29d2c17ac0ffcefb19d14d8c3896a8009b9c5aca, https://github.com/HumanSignal/label-studio/commit/7e2f696403da6802b82171abd299fd39c5ef2b37

Severity

9.6

CVSS Score
0
10

Basic Information

Base CVSS
9.6
EPSS Probability
0%
EPSS Percentile
0%
Introduced Version
1.21.0,1.9.2.post0
Fix Available
1.23.1

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading