CVE-2024-10073: Flair allows arbitrary code execution
A vulnerability, which was classified as critical, was found in flairNLP flair 0.14.0. Affected is the function ClusteringModel of the file flair\models\clustering.py of the component Mode File Loader. The manipulation leads to code injection. It is possible to launch the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult.
Published Oct 17, 2024 · Updated May 2, 2025
Affected packages
flair
- Ecosystem
- PyPI
- Affected
- < 0.15.0
- Fixed in
- 0.15.0
- Check
pip show flair
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
A vulnerability, which was classified as critical, was found in flairNLP flair 0.14.0. Affected is the function ClusteringModel of the file flair\models\clustering.py of the component Mode File Loader. The manipulation leads to code injection. It is possible to launch the attack remotely. The complexity of an attack is rather high. The exploitability is told to be difficult. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Credited to m3t3kh4n, wnowicki.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-10073
- https://github.com/bayuncao/vul-cve-20
- https://github.com/bayuncao/vul-cve-20/blob/main/PoC.py
- https://vuldb.com/?ctiid.280722
- https://vuldb.com/?id.280722
- https://vuldb.com/?submit.420055
- https://github.com/flairNLP/flair/commit/fb27c7eb1d92855c27db820a108b17883a5d6fc1
- https://github.com/flairNLP/flair/releases/tag/v0.15.0
- https://github.com/advisories/GHSA-9rw2-jf8x-cgwm
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
