Race Condition Affecting mage-ai package, versions [,0.8.58)


Severity

Recommended
0.0
high
0
10

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

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 Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-MAGEAI-5840643
  • published14 Aug 2023
  • disclosed1 Aug 2023
  • credittommydangerous

Introduced: 1 Aug 2023

CVE NOT AVAILABLE CWE-362  (opens in a new tab)

How to fix?

Upgrade mage-ai to version 0.8.58 or higher.

Overview

mage-ai is a Mage is a tool for building and deploying data pipelines.

Affected versions of this package are vulnerable to Race Condition due to insufficient concurrency checks in the mage_ai/io/trino.py file. This issue occurs right after creating a table and trying to immediately fetch data from it.

CVSS Scores

version 3.1