CVE-2022-36551 Heartex - Label Studio Community Edition vulnerable to SSRF in the Data Import module
An authenticated user can exploit SSRF in Label Studio to access arbitrary system files, with remote exploitation possible due to default self-registration.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-36551?
CVE-2022-36551 is a medium-severity server-side request forgery vulnerability in n/a, published on 3 Oct 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A Server Side Request Forgery (SSRF) in the Data Import module in Heartex - Label Studio Community Edition versions 1.5.0 and earlier allows an authenticated user to access arbitrary files on the system. Furthermore, self-registration is enabled by default in these versions of Label Studio enabling a remote attacker to create a new account and then exploit the SSRF.
Weakness: CWE-918
Which versions are affected by CVE-2022-36551?
3 open source packages ship an affected version, including label-studio. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
label-studio PyPI | All versions | 1.5.0.post0 |
label-studio PyPI | All versions | 1.6.0 |
label-studio PyPI | All versions | 1.6.0 |
Products include Heartex Label Studio.
How do I fix CVE-2022-36551?
Upgrade label-studio to a fixed version for your release line: 1.5.0.post0 or 1.6.0.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2022-36551 being exploited?
There is no known exploitation of CVE-2022-36551 in the wild and no public exploit code.
Public exploit code: 1 Exploit-DB entry and 1 proofs of concept on GitHub.
Sources
Also known as GHSA-pc6f-259w-w3j6, PYSEC-2022-300.