Improper Control of Generation of Code ('Code Injection') Affecting refuel-autolabel package, versions [0.0.8,]


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.05% (24th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Control of Generation of Code ('Code Injection') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-REFUELAUTOLABEL-7945499
  • published13 Sept 2024
  • disclosed12 Sept 2024
  • creditLeo Ring, Kasimir Schulz

Introduced: 12 Sep 2024

CVE-2024-27320  (opens in a new tab)
CWE-95  (opens in a new tab)

How to fix?

There is no fixed version for refuel-autolabel.

Overview

refuel-autolabel is a Label, clean and enrich text datasets with LLMs

Affected versions of this package are vulnerable to Improper Control of Generation of Code ('Code Injection') via the validate function of the ClassificationTaskValidate class due to the handling of CSV files in classification tasks. An attacker can execute arbitrary code by crafting a CSV file containing malicious Python code and using it to create a classification task.

CVSS Scores

version 4.0
version 3.1