PyPi: Flair

CVE-2024-10073

Safety vulnerability ID: 73973

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Oct 17, 2024 Updated at Oct 31, 2024
Scan your Python projects for vulnerabilities →

Advisory

Affected versions of flairNLP are vulnerable to Remote Code Execution (CWE-94) through Code Injection. An attacker can execute arbitrary code by manipulating model files loaded by ClusteringModel in flair/models/clustering.py. An attacker can craft malicious model files that, when loaded by the target application, execute arbitrary code. While exploitability requires specific conditions and is considered difficult, working exploits are publicly available. To remediate, upgrade beyond version 0.14.0 or implement strict model file validation.

Affected package

flair

Latest version: 0.14.0

A very simple framework for state-of-the-art NLP

Affected versions

Fixed versions

Vulnerability changelog

This vulnerability has no description

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

HIGH 7.5

CVSS v3 Details

HIGH 7.5
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
HIGH
Privileges Required (PR)
NONE
User Interaction (UI)
REQUIRED
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
HIGH
Availability Availability (A)
HIGH