Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. flair
  4. ›
  5. CVE-2024-10073

CVE-2024-10073: Flair allows arbitrary code execution

October 17, 2024 (updated May 2, 2025)

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.

References

  • github.com/advisories/GHSA-9rw2-jf8x-cgwm
  • github.com/bayuncao/vul-cve-20
  • github.com/bayuncao/vul-cve-20/blob/main/PoC.py
  • github.com/flairNLP/flair
  • github.com/flairNLP/flair/commit/fb27c7eb1d92855c27db820a108b17883a5d6fc1
  • github.com/flairNLP/flair/releases/tag/v0.15.0
  • nvd.nist.gov/vuln/detail/CVE-2024-10073
  • vuldb.com/?ctiid.280722
  • vuldb.com/?id.280722
  • vuldb.com/?submit.420055

Code Behaviors & Features

Detect and mitigate CVE-2024-10073 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 0.15.0

Fixed versions

  • 0.15.0

Solution

Upgrade to version 0.15.0 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

pypi/flair/CVE-2024-10073.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:58 +0000.