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

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.05% (23rd 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 ID SNYK-PYTHON-REFUELAUTOLABEL-7945499
  • published 13 Sep 2024
  • disclosed 12 Sep 2024
  • credit Leo Ring, Kasimir Schulz

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
Expand this section

Snyk

Recommended
8.4 high
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Active
  • Confidentiality (VC)
    High
  • Integrity (VI)
    High
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None