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. Learn more

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.05% (22nd 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 Unrestricted Upload of File with Dangerous Type vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-AGNAI-8102517
  • published27 Sept 2024
  • disclosed26 Sept 2024
  • creditJosh Brown

Introduced: 26 Sep 2024

CVE-2024-47169  (opens in a new tab)
CWE-434  (opens in a new tab)

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