Unrestricted Upload of File with Dangerous Type Affecting agnai package, versions <1.0.330


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (21st 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-JS-AGNAI-8102517
  • published 27 Sep 2024
  • disclosed 26 Sep 2024
  • credit Josh Brown

How to fix?

Upgrade agnai to version 1.0.330 or higher.

Overview

agnai is an Agnostic AI Chat

Affected versions of this package are vulnerable to Unrestricted Upload of File with Dangerous Type through the manipulation of file paths and names. An attacker can execute arbitrary code and potentially take full control of the system.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

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